diff --git a/roles/nagios_server/files/nagios/services-staging/disk.cfg b/roles/nagios_server/files/nagios/services-staging/disk.cfg deleted file mode 100644 index b1d8ad1b02..0000000000 --- a/roles/nagios_server/files/nagios/services-staging/disk.cfg +++ /dev/null @@ -1,76 +0,0 @@ -define service { - hostgroup_name virtservers - service_description Disk Space / - check_command check_by_nrpe!check_disk_/ - use disktemplate -} - -define service { - hostgroup_name virtservers,proxies - service_description Disk Space /boot - check_command check_by_nrpe!check_disk_/boot - use disktemplate -} - -define service { - hostgroup_name hosted - service_description Disk Space /srv - check_command check_by_nrpe!check_disk_/srv - use disktemplate -} - -define service { - hostgroup_name qahardware - service_description Disk Space /srv - check_command check_by_nrpe!check_disk_/srv - use disktemplate -} - -define service { - hostgroup_name taskotron - service_description Disk Space /srv/buildmaster - check_command check_by_nrpe!check_disk_/srv/buildmaster - use disktemplate -} - -define service { - hostgroup_name taskotron - service_description Disk Space /srv/taskotron - check_command check_by_nrpe!check_disk_/srv/taskotron - use disktemplate -} - -define service { - host_name log01.phx2.fedoraproject.org - service_description Disk space /var/log - check_command check_by_nrpe!check_disk_/var/log - use disktemplate -} - -define service { - hostgroup_name pkgs - service_description Check read-only filesystem - check_command check_by_nrpe!check_readonly_fs - use disktemplate -} - -define service { - hostgroup_name pkgs - service_description Disk space /srv/cache/lookaside - check_command check_by_nrpe!check_disk_/srv/cache/lookaside - use disktemplate -} - -define service { - hostgroup_name koji - service_description Disk space / - check_command check_by_nrpe!check_disk_/ - use ppc-secondarytemplate -} - -define service { - hostgroup_name retrace - service_description Disk space / - check_command check_by_nrpe!check_disk_/ - use retracetemplate -} diff --git a/roles/nagios_server/files/nagios/services-staging/mgmt.cfg b/roles/nagios_server/files/nagios/services-staging/mgmt.cfg deleted file mode 100644 index f4b7cca87c..0000000000 --- a/roles/nagios_server/files/nagios/services-staging/mgmt.cfg +++ /dev/null @@ -1,667 +0,0 @@ -# HTTP - -define service { - host_name backup01.mgmt.fedoraproject.org - service_description backup01.mgmt.fedoraproject.org-http - check_command check_http!backup01.mgmt.fedoraproject.org - use defaulttemplate -} - -#define service { -# host_name backup03.mgmt.fedoraproject.org -# service_description backup03.mgmt.fedoraproject.org-http -# check_command check_http!backup03.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bc02.mgmt.fedoraproject.org -# service_description bc02.mgmt.fedoraproject.org-http -# check_command check_http!bc02.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bvirthost01.mgmt.fedoraproject.org -# service_description bvirthost01.mgmt.fedoraproject.org-http -# check_command check_http!bvirthost01.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bvirthost05.mgmt.fedoraproject.org -# service_description bvirthost05.mgmt.fedoraproject.org-http -# check_command check_http!bvirthost05.mgmt.fedoraproject.org -# use defaulttemplate -#} - -define service { - host_name bvirthost01.mgmt.fedoraproject.org - service_description bvirthost01.mgmt.fedoraproject.org-http - check_command check_http!bvirthost01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download01.mgmt.fedoraproject.org - service_description download01.mgmt.fedoraproject.org-http - check_command check_http!download01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download02.mgmt.fedoraproject.org - service_description download02.mgmt.fedoraproject.org-http - check_command check_http!download02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download03.mgmt.fedoraproject.org - service_description download03.mgmt.fedoraproject.org-http - check_command check_http!download03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download04.mgmt.fedoraproject.org - service_description download04.mgmt.fedoraproject.org-http - check_command check_http!download04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download05.mgmt.fedoraproject.org - service_description download05.mgmt.fedoraproject.org-http - check_command check_http!download05.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa01.mgmt.fedoraproject.org - service_description qa01.mgmt.fedoraproject.org-http - check_command check_http!qa01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa02.mgmt.fedoraproject.org - service_description qa02.mgmt.fedoraproject.org-http - check_command check_http!qa02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa03.mgmt.fedoraproject.org - service_description qa03.mgmt.fedoraproject.org-http - check_command check_http!qa03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa04.mgmt.fedoraproject.org - service_description qa04.mgmt.fedoraproject.org-http - check_command check_http!qa04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa05.mgmt.fedoraproject.org - service_description qa05.mgmt.fedoraproject.org-http - check_command check_http!qa05.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa06.mgmt.fedoraproject.org - service_description qa06.mgmt.fedoraproject.org-http - check_command check_http!qa06.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa07.mgmt.fedoraproject.org - service_description qa07.mgmt.fedoraproject.org-http - check_command check_http!qa07.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa08.mgmt.fedoraproject.org - service_description qa08.mgmt.fedoraproject.org-http - check_command check_http!qa08.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa09.mgmt.fedoraproject.org - service_description qa09.mgmt.fedoraproject.org-http - check_command check_http!qa09.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa10.mgmt.fedoraproject.org - service_description qa10.mgmt.fedoraproject.org-http - check_command check_http!qa10.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa11.mgmt.fedoraproject.org - service_description qa11.mgmt.fedoraproject.org-http - check_command check_http!qa11.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa12.mgmt.fedoraproject.org - service_description qa12.mgmt.fedoraproject.org-http - check_command check_http!qa12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa13.mgmt.fedoraproject.org - service_description qa13.mgmt.fedoraproject.org-http - check_command check_http!qa13.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa14.mgmt.fedoraproject.org - service_description qa14.mgmt.fedoraproject.org-http - check_command check_http!qa14.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name sign-vault03.mgmt.fedoraproject.org - service_description sign-vault03.mgmt.fedoraproject.org-http - check_command check_http!sign-vault03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name sign-vault04.mgmt.fedoraproject.org - service_description sign-vault04.mgmt.fedoraproject.org-http - check_command check_http!sign-vault04.mgmt.fedoraproject.org - use defaulttemplate -} - -# define service { -# host_name tape02.mgmt.fedoraproject.org -# service_description tape02.mgmt.fedoraproject.org-http -# check_command check_http!tape02.mgmt.fedoraproject.org -# use defaulttemplate -# } - -#define service { -# host_name virthost-comm01.mgmt.fedoraproject.org -# service_description virthost-comm01.mgmt.fedoraproject.org-http -# check_command check_http!virthost-comm01.mgmt.fedoraproject.org -# use defaulttemplate -#} - -define service { - host_name virthost-comm02.mgmt.fedoraproject.org - service_description virthost-comm02.mgmt.fedoraproject.org-http - check_command check_http!virthost-comm02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost-comm03.mgmt.fedoraproject.org - service_description virthost-comm03.mgmt.fedoraproject.org-http - check_command check_http!virthost-comm03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost-comm04.mgmt.fedoraproject.org - service_description virthost-comm04.mgmt.fedoraproject.org-http - check_command check_http!virthost-comm04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost01.mgmt.fedoraproject.org - service_description virthost01.mgmt.fedoraproject.org-http - check_command check_http!virthost01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost02.mgmt.fedoraproject.org - service_description virthost02.mgmt.fedoraproject.org-http - check_command check_http!virthost02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost11.mgmt.fedoraproject.org - service_description virthost11.mgmt.fedoraproject.org-http - check_command check_http!virthost11.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost03.mgmt.fedoraproject.org - service_description virthost03.mgmt.fedoraproject.org-http - check_command check_http!virthost03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost12.mgmt.fedoraproject.org - service_description virthost12.mgmt.fedoraproject.org-http - check_command check_http!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost14.mgmt.fedoraproject.org - service_description virthost14.mgmt.fedoraproject.org-http - check_command check_http!virthost14.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost15.mgmt.fedoraproject.org - service_description virthost15.mgmt.fedoraproject.org-http - check_command check_http!virthost15.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost16.mgmt.fedoraproject.org - service_description virthost16.mgmt.fedoraproject.org-http - check_command check_http!virthost16.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost17.mgmt.fedoraproject.org - service_description virthost17.mgmt.fedoraproject.org-http - check_command check_http!virthost17.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost18.mgmt.fedoraproject.org - service_description virthost18.mgmt.fedoraproject.org-http - check_command check_http!virthost18.mgmt.fedoraproject.org - use defaulttemplate -} - -# define service { -# host_name ibiblio02.mgmt.fedoraproject.org -# service_description ibiblio02.mgmt.fedoraproject.org-http -# check_command check_http!ibiblio02.mgmt.fedoraproject.org.fedoraproject.org -# use defaulttemplate -# } - - -# HTTPS - -define service { - host_name backup01.mgmt.fedoraproject.org - service_description backup01.mgmt.fedoraproject.org-https - check_command check_https!backup01.mgmt.fedoraproject.org - use defaulttemplate -} - -#define service { -# host_name backup03.mgmt.fedoraproject.org -# service_description backup03.mgmt.fedoraproject.org-https -# check_command check_https!backup03.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bc02.mgmt.fedoraproject.org -# service_description bc02.mgmt.fedoraproject.org-https -# check_command check_https!bc02.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bvirthost01.mgmt.fedoraproject.org -# service_description bvirthost01.mgmt.fedoraproject.org-https -# check_command check_https!bvirthost01.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name bvirthost05.mgmt.fedoraproject.org -# service_description bvirthost05.mgmt.fedoraproject.org-https -# check_command check_https!bvirthost05.mgmt.fedoraproject.org -# use defaulttemplate -#} - -define service { - host_name bvirthost01.mgmt.fedoraproject.org - service_description bvirthost01.mgmt.fedoraproject.org-https - check_command check_https!bvirthost01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download01.mgmt.fedoraproject.org - service_description download01.mgmt.fedoraproject.org-https - check_command check_https!download01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download02.mgmt.fedoraproject.org - service_description download02.mgmt.fedoraproject.org-https - check_command check_https!download02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download03.mgmt.fedoraproject.org - service_description download03.mgmt.fedoraproject.org-https - check_command check_https!download03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download04.mgmt.fedoraproject.org - service_description download04.mgmt.fedoraproject.org-https - check_command check_https!download04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name download05.mgmt.fedoraproject.org - service_description download05.mgmt.fedoraproject.org-https - check_command check_https!download05.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa01.mgmt.fedoraproject.org - service_description qa01.mgmt.fedoraproject.org-https - check_command check_https!qa01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa02.mgmt.fedoraproject.org - service_description qa02.mgmt.fedoraproject.org-https - check_command check_https!qa02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa03.mgmt.fedoraproject.org - service_description qa03.mgmt.fedoraproject.org-https - check_command check_https!qa03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa04.mgmt.fedoraproject.org - service_description qa04.mgmt.fedoraproject.org-https - check_command check_https!qa04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa05.mgmt.fedoraproject.org - service_description qa05.mgmt.fedoraproject.org-https - check_command check_https!qa05.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa06.mgmt.fedoraproject.org - service_description qa06.mgmt.fedoraproject.org-https - check_command check_https!qa06.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa07.mgmt.fedoraproject.org - service_description qa07.mgmt.fedoraproject.org-https - check_command check_https!qa07.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa08.mgmt.fedoraproject.org - service_description qa08.mgmt.fedoraproject.org-https - check_command check_https!qa08.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa09.mgmt.fedoraproject.org - service_description qa09.mgmt.fedoraproject.org-https - check_command check_https!qa09.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa10.mgmt.fedoraproject.org - service_description qa10.mgmt.fedoraproject.org-https - check_command check_https!qa10.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa11.mgmt.fedoraproject.org - service_description qa11.mgmt.fedoraproject.org-https - check_command check_https!qa11.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa12.mgmt.fedoraproject.org - service_description qa12.mgmt.fedoraproject.org-https - check_command check_https!qa12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa13.mgmt.fedoraproject.org - service_description qa13.mgmt.fedoraproject.org-https - check_command check_https!qa13.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name qa14.mgmt.fedoraproject.org - service_description qa14.mgmt.fedoraproject.org-https - check_command check_https!qa14.mgmt.fedoraproject.org - use defaulttemplate -} - - -define service { - host_name sign-vault03.mgmt.fedoraproject.org - service_description sign-vault03.mgmt.fedoraproject.org-https - check_command check_https!sign-vault03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name sign-vault04.mgmt.fedoraproject.org - service_description sign-vault04.mgmt.fedoraproject.org-https - check_command check_https!sign-vault04.mgmt.fedoraproject.org - use defaulttemplate -} - -# tape02.mgmt.fedoraproject.org has no https - -#define service { -# host_name tape02.mgmt.fedoraproject.org -# service_description tape02.mgmt.fedoraproject.org-https -# check_command check_https!tape02.mgmt.fedoraproject.org -# use defaulttemplate -#} - -#define service { -# host_name virthost-comm01.mgmt.fedoraproject.org -# service_description virthost-comm01.mgmt.fedoraproject.org-https -# check_command check_https!virthost-comm01.mgmt.fedoraproject.org -# use defaulttemplate -#} - -define service { - host_name virthost01.mgmt.fedoraproject.org - service_description virthost01.mgmt.fedoraproject.org-https - check_command check_https!virthost01.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost02.mgmt.fedoraproject.org - service_description virthost02.mgmt.fedoraproject.org-https - check_command check_https!virthost02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost11.mgmt.fedoraproject.org - service_description virthost11.mgmt.fedoraproject.org-https - check_command check_https!virthost11.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost03.mgmt.fedoraproject.org - service_description virthost03.mgmt.fedoraproject.org-https - check_command check_https!virthost03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost12.mgmt.fedoraproject.org - service_description virthost12.mgmt.fedoraproject.org-https - check_command check_https!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost14.mgmt.fedoraproject.org - service_description virthost14.mgmt.fedoraproject.org-https - check_command check_https!virthost14.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost15.mgmt.fedoraproject.org - service_description virthost15.mgmt.fedoraproject.org-https - check_command check_https!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost16.mgmt.fedoraproject.org - service_description virthost16.mgmt.fedoraproject.org-https - check_command check_https!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost17.mgmt.fedoraproject.org - service_description virthost17.mgmt.fedoraproject.org-https - check_command check_https!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost18.mgmt.fedoraproject.org - service_description virthost18.mgmt.fedoraproject.org-https - check_command check_https!virthost12.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost-comm02.mgmt.fedoraproject.org - service_description virthost-comm02.mgmt.fedoraproject.org-https - check_command check_https!virthost-comm02.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost-comm03.mgmt.fedoraproject.org - service_description virthost-comm03.mgmt.fedoraproject.org-https - check_command check_https!virthost-comm03.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name virthost-comm04.mgmt.fedoraproject.org - service_description virthost-comm04.mgmt.fedoraproject.org-https - check_command check_https!virthost-comm04.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud08.mgmt.fedoraproject.org - service_description fed-cloud08.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud08.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud09.mgmt.fedoraproject.org - service_description fed-cloud09.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud09.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud10.mgmt.fedoraproject.org - service_description fed-cloud10.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud10.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud11.mgmt.fedoraproject.org - service_description fed-cloud11.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud11.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud12.mgmt.fedoraproject.org - service_description fed-cloud12.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud12.mgmt.fedoraproject.org - use defaulttemplate -} - - -define service { - host_name fed-cloud13.mgmt.fedoraproject.org - service_description fed-cloud13.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud13.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud14.mgmt.fedoraproject.org - service_description fed-cloud14.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud14.mgmt.fedoraproject.org - use defaulttemplate -} - -define service { - host_name fed-cloud15.mgmt.fedoraproject.org - service_description fed-cloud15.mgmt.fedoraproject.org-https - check_command check_http!fed-cloud15.mgmt.fedoraproject.org - use defaulttemplate -} - -# define service { -# host_name ibiblio02.mgmt.fedoraproject.org -# service_description ibiblio02.mgmt.fedoraproject.org-https -# check_command check_https!ibiblio02.mgmt.fedoraproject.org.fedoraproject.org -# use defaulttemplate -# } - diff --git a/roles/nagios_server/files/nagios/services-staging/ping.cfg b/roles/nagios_server/files/nagios/services-staging/ping.cfg deleted file mode 100644 index dae065e41d..0000000000 --- a/roles/nagios_server/files/nagios/services-staging/ping.cfg +++ /dev/null @@ -1,14 +0,0 @@ -define service { - hostgroup_name all - service_description ICMP-Ping4 - check_command check_ping4!350.0,20%!500.0,60% - use criticaltemplate -} - -# define service { -# hostgroup_name all -# service_description ICMP-Ping6 -# check_command check_ping6!350.0,20%!500.0,60% -# use criticaltemplate -# } - diff --git a/roles/nagios_server/files/nagios/services-staging/ssh.cfg b/roles/nagios_server/files/nagios/services-staging/ssh.cfg deleted file mode 100644 index ea46ff56bf..0000000000 --- a/roles/nagios_server/files/nagios/services-staging/ssh.cfg +++ /dev/null @@ -1,36 +0,0 @@ -define service { - hostgroup_name virtservers - service_description SSH-virtservers - check_command check_ssh - use defaulttemplate -} - -define service { - hostgroup_name bastion - service_description SSH-bastion - check_command check_ssh - use defaulttemplate -} - -#define service { -# hostgroup_name buildservers -# service_description SSH -# check_command check_ssh -# use defaulttemplate -# retry_check_interval 5 -# max_check_attempts 12 -#} - -#define service { -# hostgroup_name autoqa -# service_description SSH -# check_command check_ssh -# use autoqatemplate -#} - -define service { - hostgroup_name retrace - service_description SSH-retrace - check_command check_ssh - use retracetemplate -} diff --git a/roles/nagios_server/files/nagios/services/templates-staging.cfg b/roles/nagios_server/files/nagios/services/templates-staging.cfg deleted file mode 100644 index 5538eaff1d..0000000000 --- a/roles/nagios_server/files/nagios/services/templates-staging.cfg +++ /dev/null @@ -1,187 +0,0 @@ -############################################################################### -############################################################################### -# -# SERVICE TEMPLATES -# -############################################################################### -############################################################################### - -# Generic service definition template - This is NOT a real service, just a template! - -define service{ - name generic-service ; The 'name' of this service template - active_checks_enabled 1 ; Active service checks are enabled - passive_checks_enabled 1 ; Passive service checks are enabled/accepted - parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) - obsess_over_service 1 ; We should obsess over this service (if necessary) - check_freshness 0 ; Default is to NOT check service 'freshness' - notifications_enabled 1 ; Service notifications are enabled - event_handler_enabled 1 ; Service event handler is enabled - flap_detection_enabled 1 ; Flap detection is enabled - process_perf_data 1 ; Process performance data - retain_status_information 1 ; Retain status information across program restarts - retain_nonstatus_information 1 ; Retain non-status information across program restarts - is_volatile 0 ; The service is not volatile - check_period 24x7 ; The service can be checked at any time of the day - max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state - normal_check_interval 10 ; Check the service every 10 minutes under normal conditions - retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined - contact_groups admins ; Notifications get sent out to everyone in the 'admins' group - notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events - notification_interval 60 ; Re-notify about service problems every hour - notification_period 24x7 ; Notifications can be sent out at any time - register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! - } - - -# Local service definition template - This is NOT a real service, just a template! - -define service{ - name local-service ; The name of this service template - use generic-service ; Inherit default values from the generic-service definition - max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state - normal_check_interval 5 ; Check the service every 5 minutes under normal conditions - retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined - register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! - } - - - -define service { - name criticaltemplate - max_check_attempts 4 - normal_check_interval 5 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - - -define service { - name defaulttemplate - max_check_attempts 3 - normal_check_interval 10 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name disktemplate - max_check_attempts 3 - normal_check_interval 30 - retry_check_interval 1 - check_period 24x7 - notification_interval 40 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name builderdisktemplate - max_check_attempts 12 - normal_check_interval 30 - retry_check_interval 1 - check_period 24x7 - notification_interval 40 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name lighttemplate - max_check_attempts 3 - normal_check_interval 480 - retry_check_interval 5 - check_period 16x7 - notification_interval 490 - notification_period 16x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name websitetemplate - max_check_attempts 3 - normal_check_interval 5 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name internalwebsitetemplate - max_check_attempts 3 - normal_check_interval 5 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - use defaulttemplate - name passivetemplate - active_checks_enabled 0 - passive_checks_enabled 1 - check_command check_dummy!0 - check_period 24x7 - check_freshness 0 - - register 0 -} - -define service { - name ppc-secondarytemplate - max_check_attempts 3 - normal_check_interval 10 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -} - -define service { - name retracetemplate - max_check_attempts 3 - normal_check_interval 10 - retry_check_interval 1 - check_period 24x7 - notification_interval 15 - notification_period 24x7 - notification_options w,u,c,r - contact_groups fedora-sysadmin-ircbot - - register 0 -}