remove more hardcoded stg points in nagios

This commit is contained in:
Stephen Smoogen 2020-06-08 10:33:05 -04:00
parent ca39f67ed6
commit 00b7de4753
2 changed files with 9 additions and 9 deletions

View file

@ -79,14 +79,14 @@ define servicedependency {
execution_failure_criteria w,c execution_failure_criteria w,c
} }
define servicedependency { # define servicedependency {
host_name sundries01.stg # host_name sundries01.stg
service_description nrpe # service_description nrpe
dependent_host_name sundries01.stg # dependent_host_name sundries01.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 sundries02 host_name sundries02

View file

@ -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 host_name bastion02.phx2.fedoraproject.org, bastion01.phx2.fedoraproject.org, sundries01.phx2.fedoraproject.org, sundries02.phx2.fedoraproject.org, wiki01.phx2.fedoraproject.org, wiki02.phx2.fedoraproject.org
service_description nrpe service_description nrpe
check_command test_nrpe check_command test_nrpe
max_check_attempts 2 max_check_attempts 2