http://tracker.nagios.org/view.php?id=562
Since that appears to be the case, I am trying a service dependency instead. I simply want to ensure that any services that depend on the nsclient++ service to be running don't check or notify if nsclient++ is down:
Code: Select all
define servicedependency{
host_name .*
service_description service-nscp
dependent_host_name .*
dependent_service_description services-all-auto
}
With this in place, it shows no service dependencies in the UI or when I do a check. However, if I screw up the config, the check fails:
Checking for circular paths...
Checked 19 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
And when I screw up the config:
Reading configuration data...
Read main config file okay...
Error: Invalid servicedependency object directive 'shit'.
Error: Could not add object property in file '/etc/nagios/objects/servicedependencies.cfg' on line 2.
Error processing object config files!
Any ideas? Thanks!