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
|
||||
# execution_failure_criteria w,c
|
||||
#}
|
||||
|
||||
define servicedependency {
|
||||
host_name pkgdb01
|
||||
service_description nrpe
|
||||
dependent_host_name pkgdb01
|
||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
notification_failure_criteria w,c
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
||||
define servicedependency {
|
||||
host_name pkgdb02
|
||||
service_description nrpe
|
||||
dependent_host_name pkgdb02
|
||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
notification_failure_criteria w,c
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
||||
define servicedependency {
|
||||
host_name pkgdb01.stg
|
||||
service_description nrpe
|
||||
dependent_host_name pkgdb01.stg
|
||||
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
notification_failure_criteria w,c
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
#
|
||||
#define servicedependency {
|
||||
# host_name pkgdb01
|
||||
# service_description nrpe
|
||||
# dependent_host_name pkgdb01
|
||||
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
# notification_failure_criteria w,c
|
||||
# execution_failure_criteria w,c
|
||||
#}
|
||||
#
|
||||
#define servicedependency {
|
||||
# host_name pkgdb02
|
||||
# service_description nrpe
|
||||
# dependent_host_name pkgdb02
|
||||
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
# notification_failure_criteria w,c
|
||||
# execution_failure_criteria w,c
|
||||
#}
|
||||
#
|
||||
#define servicedependency {
|
||||
# host_name pkgdb01.stg
|
||||
# service_description nrpe
|
||||
# dependent_host_name pkgdb01.stg
|
||||
# dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
|
||||
# notification_failure_criteria w,c
|
||||
# execution_failure_criteria w,c
|
||||
#}
|
||||
|
||||
#define servicedependency {
|
||||
# host_name bapp02
|
||||
|
|
|
@ -3,7 +3,7 @@ define servicedependency {
|
|||
host_name proxy03.fedoraproject.org
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ define servicedependency {
|
|||
host_name 209.132.181.16-phx2
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ define servicedependency {
|
|||
host_name 152.19.134.142-ibiblio
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ define servicedependency {
|
|||
host_name 152.19.134.198-ibiblio
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ define servicedependency {
|
|||
host_name 85.236.55.6-internetx
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ define servicedependency {
|
|||
host_name 67.203.2.67-coloamerica
|
||||
service_description https
|
||||
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
|
||||
execution_failure_criteria w,c
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
check_command test_nrpe
|
||||
max_check_attempts 2
|
||||
|
|
|
@ -5,12 +5,12 @@ define service {
|
|||
use criticaltemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name db01.phx2.fedoraproject.org
|
||||
service_description Check PackageDB DB
|
||||
check_command check_pgsql!pkgdb
|
||||
use criticaltemplate
|
||||
}
|
||||
#define service {
|
||||
# host_name db01.phx2.fedoraproject.org
|
||||
# service_description Check PackageDB DB
|
||||
# check_command check_pgsql!pkgdb
|
||||
# use criticaltemplate
|
||||
#}
|
||||
|
||||
define service {
|
||||
host_name db-fas01.phx2.fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue