Clean up nagios to deal with dropped services and that servicegroups can NOT end with a , while every other nagios group can.

This commit is contained in:
Stephen Smoogen 2020-05-21 13:22:26 -04:00
parent 924325027c
commit 89f91a9642
8 changed files with 6 additions and 21 deletions

View file

@ -19,20 +19,6 @@ define service {
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

View file

@ -298,7 +298,6 @@ command[check_disk_/srv]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_disk_huge_/srv]=/usr/lib64/nagios/plugins/check_disk -w 5% -c 1% -p /srv
command[check_disk_/srv/diskimages]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/diskimages
command[check_disk_/srv/buildmaster]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/buildmaster
command[check_disk_/srv/taskotron]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/taskotron
command[check_disk_/var/lib64/mock]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/mock
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /var/log
command[check_disk_/srv/cache/lookaside]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/cache/lookaside