hostgroup_name override not working service?
Posted: Wed Apr 17, 2013 9:26 am
Hello,
New Nagios user here with an override question. For reference, I am using Nagios 3.2.0. I am trying to do a ping check override for different host groups. Here is an example that isn't working as expected:
define service {
use generic-service
service_description Ping Check
check_command check_ping!32,80%!40,90%
host_name *
}
define service {
use generic-service
service_description Ping Check
check_command check_ping!180,80%!200,90%
hostgroup_name apc-devices
I want all hosts to test ping with the 32,80!40,90 parameters except for the hosts defined in the apc-devices host_group. These should use the 180,80!200,90 parameters. The actual behavior is that the apc-devices are using the 32,80!40,90 parameters. In effect, the override isn't working. Am I doing something wrong or is this not supported?
Thanks
Joe
New Nagios user here with an override question. For reference, I am using Nagios 3.2.0. I am trying to do a ping check override for different host groups. Here is an example that isn't working as expected:
define service {
use generic-service
service_description Ping Check
check_command check_ping!32,80%!40,90%
host_name *
}
define service {
use generic-service
service_description Ping Check
check_command check_ping!180,80%!200,90%
hostgroup_name apc-devices
I want all hosts to test ping with the 32,80!40,90 parameters except for the hosts defined in the apc-devices host_group. These should use the 180,80!200,90 parameters. The actual behavior is that the apc-devices are using the 32,80!40,90 parameters. In effect, the override isn't working. Am I doing something wrong or is this not supported?
Thanks
Joe