kill pkgdb from nagios server
This commit is contained in:
parent
5e70306c7e
commit
5149f16b73
8 changed files with 47 additions and 62 deletions
|
@ -15,33 +15,33 @@
|
||||||
# notification_failure_criteria w,c
|
# notification_failure_criteria w,c
|
||||||
# execution_failure_criteria w,c
|
# execution_failure_criteria w,c
|
||||||
#}
|
#}
|
||||||
|
#
|
||||||
define servicedependency {
|
#define servicedependency {
|
||||||
host_name pkgdb01
|
# host_name pkgdb01
|
||||||
service_description nrpe
|
# service_description nrpe
|
||||||
dependent_host_name pkgdb01
|
# dependent_host_name pkgdb01
|
||||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||||
notification_failure_criteria w,c
|
# notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
# execution_failure_criteria w,c
|
||||||
}
|
#}
|
||||||
|
#
|
||||||
define servicedependency {
|
#define servicedependency {
|
||||||
host_name pkgdb02
|
# host_name pkgdb02
|
||||||
service_description nrpe
|
# service_description nrpe
|
||||||
dependent_host_name pkgdb02
|
# dependent_host_name pkgdb02
|
||||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||||
notification_failure_criteria w,c
|
# notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
# execution_failure_criteria w,c
|
||||||
}
|
#}
|
||||||
|
#
|
||||||
define servicedependency {
|
#define servicedependency {
|
||||||
host_name pkgdb01.stg
|
# host_name pkgdb01.stg
|
||||||
service_description nrpe
|
# service_description nrpe
|
||||||
dependent_host_name pkgdb01.stg
|
# dependent_host_name pkgdb01.stg
|
||||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||||
notification_failure_criteria w,c
|
# notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
# execution_failure_criteria w,c
|
||||||
}
|
#}
|
||||||
|
|
||||||
#define servicedependency {
|
#define servicedependency {
|
||||||
# host_name bapp02
|
# host_name bapp02
|
||||||
|
|
|
@ -3,7 +3,7 @@ define servicedependency {
|
||||||
host_name proxy03.fedoraproject.org
|
host_name proxy03.fedoraproject.org
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name proxy03.fedoraproject.org
|
dependent_host_name proxy03.fedoraproject.org
|
||||||
dependent_service_description bodhi, pkgdb, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
dependent_service_description bodhi, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ define servicedependency {
|
||||||
host_name 209.132.181.16-phx2
|
host_name 209.132.181.16-phx2
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name 209.132.181.16-phx2
|
dependent_host_name 209.132.181.16-phx2
|
||||||
dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki
|
dependent_service_description bodhi, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ define servicedependency {
|
||||||
host_name 152.19.134.142-ibiblio
|
host_name 152.19.134.142-ibiblio
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name 152.19.134.142-ibiblio
|
dependent_host_name 152.19.134.142-ibiblio
|
||||||
dependent_service_description bodhi, pkgdb, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
dependent_service_description bodhi, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ define servicedependency {
|
||||||
host_name 152.19.134.198-ibiblio
|
host_name 152.19.134.198-ibiblio
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name 152.19.134.198-ibiblio
|
dependent_host_name 152.19.134.198-ibiblio
|
||||||
dependent_service_description bodhi, pkgdb, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
dependent_service_description bodhi, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ define servicedependency {
|
||||||
host_name 85.236.55.6-internetx
|
host_name 85.236.55.6-internetx
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name 85.236.55.6-internetx
|
dependent_host_name 85.236.55.6-internetx
|
||||||
dependent_service_description bodhi, pkgdb, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
dependent_service_description bodhi, elections, accounts, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, docs.fedoraproject.org
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ define servicedependency {
|
||||||
host_name 67.203.2.67-coloamerica
|
host_name 67.203.2.67-coloamerica
|
||||||
service_description https
|
service_description https
|
||||||
dependent_host_name 67.203.2.67-coloamerica
|
dependent_host_name 67.203.2.67-coloamerica
|
||||||
dependent_service_description bodhi, pkgdb, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki
|
dependent_service_description bodhi, elections, docs.fedoraproject.org, mirrors.fedoraproject.org - mirrorlist, mirrors.fedoraproject.org - publiclist, start.fedoraproject.org, accounts, fedoraproject.org, fedoraproject.org - wiki
|
||||||
notification_failure_criteria w,c
|
notification_failure_criteria w,c
|
||||||
execution_failure_criteria w,c
|
execution_failure_criteria w,c
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define service {
|
define service {
|
||||||
host_name bastion02.phx2.fedoraproject.org, bastion01.phx2.fedoraproject.org, sundries01.phx2.fedoraproject.org, sundries01.stg.phx2.fedoraproject.org, sundries02.phx2.fedoraproject.org, wiki01.phx2.fedoraproject.org, wiki01.stg.phx2.fedoraproject.org, wiki02.phx2.fedoraproject.org, pkgdb01.phx2.fedoraproject.org, pkgdb02.phx2.fedoraproject.org, pkgdb01.stg.phx2.fedoraproject.org, magazine2.fedorainfracloud.org, copr-be.cloud.fedoraproject.org, copr-fe.cloud.fedoraproject.org
|
host_name bastion02.phx2.fedoraproject.org, bastion01.phx2.fedoraproject.org, sundries01.phx2.fedoraproject.org, sundries01.stg.phx2.fedoraproject.org, sundries02.phx2.fedoraproject.org, wiki01.phx2.fedoraproject.org, wiki01.stg.phx2.fedoraproject.org, wiki02.phx2.fedoraproject.org, magazine2.fedorainfracloud.org, copr-be.cloud.fedoraproject.org, copr-fe.cloud.fedoraproject.org
|
||||||
service_description nrpe
|
service_description nrpe
|
||||||
check_command test_nrpe
|
check_command test_nrpe
|
||||||
max_check_attempts 2
|
max_check_attempts 2
|
||||||
|
|
|
@ -5,12 +5,12 @@ define service {
|
||||||
use criticaltemplate
|
use criticaltemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
#define service {
|
||||||
host_name db01.phx2.fedoraproject.org
|
# host_name db01.phx2.fedoraproject.org
|
||||||
service_description Check PackageDB DB
|
# service_description Check PackageDB DB
|
||||||
check_command check_pgsql!pkgdb
|
# check_command check_pgsql!pkgdb
|
||||||
use criticaltemplate
|
# use criticaltemplate
|
||||||
}
|
#}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name db-fas01.phx2.fedoraproject.org
|
host_name db-fas01.phx2.fedoraproject.org
|
||||||
|
|
|
@ -366,7 +366,7 @@ command[check_datanommer_wiki]=/usr/lib64/nagios/plugins/check_datanommer_timesi
|
||||||
command[check_datanommer_compose]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py compose 259200 1814400
|
command[check_datanommer_compose]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py compose 259200 1814400
|
||||||
command[check_datanommer_meetbot]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py meetbot 604800 2628000
|
command[check_datanommer_meetbot]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py meetbot 604800 2628000
|
||||||
command[check_datanommer_fas]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py fas 1814400 2628000
|
command[check_datanommer_fas]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py fas 1814400 2628000
|
||||||
command[check_datanommer_pkgdb]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py pkgdb 1814400 2628000
|
#command[check_datanommer_pkgdb]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py pkgdb 1814400 2628000
|
||||||
command[check_datanommer_fedoratagger]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py fedoratagger 2628000 7884000
|
command[check_datanommer_fedoratagger]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py fedoratagger 2628000 7884000
|
||||||
command[check_datanommer_planet]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py planet 2628000 7884000
|
command[check_datanommer_planet]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py planet 2628000 7884000
|
||||||
command[check_datanommer_copr]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py copr 21600 86400
|
command[check_datanommer_copr]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py copr 21600 86400
|
||||||
|
|
|
@ -431,7 +431,6 @@
|
||||||
- bodhi.cfg
|
- bodhi.cfg
|
||||||
- freemedia.cfg
|
- freemedia.cfg
|
||||||
- mgmt-https.cfg
|
- mgmt-https.cfg
|
||||||
- pkgdb.cfg
|
|
||||||
- fas.cfg
|
- fas.cfg
|
||||||
- fp-wiki.cfg
|
- fp-wiki.cfg
|
||||||
- ipa.cfg
|
- ipa.cfg
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
define servicegroup {
|
|
||||||
servicegroup_name pkgdb-internal
|
|
||||||
alias Package Database
|
|
||||||
members {% for host in groups['pkgdb'] %} {{host}}, http-pkgdb-internal {% if not loop.last %} , {% endif %} {% endfor %}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
# define servicegroup {
|
|
||||||
# servicegroup_name pkgdb-external
|
|
||||||
# alias Package Database
|
|
||||||
# members {% for host in groups['pkgdb'] %} {{host}}, http-pkgdb-external {% if not loop.last %} , {% endif %} {% endfor %}
|
|
||||||
|
|
||||||
# }
|
|
||||||
|
|
|
@ -35,12 +35,12 @@ define service {
|
||||||
use websitetemplate
|
use websitetemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
#define service {
|
||||||
hostgroup_name proxies
|
# hostgroup_name proxies
|
||||||
service_description http-pkgdb-external
|
# service_description http-pkgdb-external
|
||||||
check_command check_website_ssl!admin.fedoraproject.org!/pkgdb/api/collections!allow_retire
|
# check_command check_website_ssl!admin.fedoraproject.org!/pkgdb/api/collections!allow_retire
|
||||||
use websitetemplate
|
# use websitetemplate
|
||||||
}
|
#}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
hostgroup_name proxies
|
hostgroup_name proxies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue