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:
parent
924325027c
commit
89f91a9642
8 changed files with 6 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue