nagios: Try a new way of doing the raid check, so we can check extra hosts like autocloud-backend-libvirt2

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-07-18 19:31:04 +00:00
parent 46985dbb66
commit c31829a561
5 changed files with 20 additions and 16 deletions

View file

@ -1,22 +1,15 @@
define service {
hostgroup_name virtservers
service_description Check_Raid
check_command check_by_nrpe!check_raid
use lighttemplate
}
#define service {
# hostgroup_name buildservers
# service_description Check Raid
# check_command check_by_nrpe!check_raid
# use lighttemplate
# retry_interval 5
# max_check_attempts 12
#}
# Special-case this so it can use retracetemplate.
define service {
hostgroup_name retrace
service_description Check_Raid
check_command check_by_nrpe!check_raid
use retracetemplate
}
# Everything else uses this group.
define service {
hostgroup_name CheckRaid
service_description Check_Raid
check_command check_by_nrpe!check_raid
use lighttemplate
}