Trying to setup service dependency for each host so when the host is down I do not get alerted about all the services that are defined per host
So I started with one
Code: Select all
define servicedependency{
host_name SERV011
service_description Explorer
dependent_host_name SERV011
dependent_service_description Explorer
execution_failure_criteria n
notification_failure_criteria w,u,c
}
Processing object config file '/usr/local/nagios/etc/objects/servgrps.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/servicedependency.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/hostdependency.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 738 services.
Checked 49 hosts.
Checked 15 host groups.
Checked 27 service groups.
Checked 5 contacts.
Checked 2 contact groups.
Checked 49 commands.
Checked 13 time periods.
Checked 44 host escalations.
Checked 678 service escalations.
Checking for circular paths...
Checked 49 hosts
Error: Circular notification dependency detected for services 'SERV011;Explorer' and 'SERV011;Explorer'
Checked 17 service dependencies
Checked 24 host dependencies
Checked 13 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 1
***> One or more problems was encountered while running the pre-flight check...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Any ideas
Thank you
Tom