Hi, I raised this back in February with Nagios 2.7 (http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg09830.html), but just realised I hadn't had an answer to the original thread. This is still a problem with Nagios 2.9. Can anyone confirm what I'm doing wrong?
I have a host called "Sydney-2" which hosts 18 websites. These websites are all defined as a check in Nagios in the service group "web_sites". The host also has a service check called "Web Service" which checks that Apache is alive and running. What I want to do is set up a service dependency of all websites in the web_sites group on that web service. According to the manual, this is valid: define servicedependency { host_name Sydney-2 service_description Web Service dependent_host_name Sydney-2 dependent_servicegroup_name web_sites execution_failure_criteria c notification_failure_criteria w,u,c,p inherits_parent 0 } However, when trying to verify with Nagios: Error: NULL service description/host name in service dependency definition Error: Could not register service execution dependency (config file '/usr/local/nagios/etc/config/service_dependencies.cfg', starting on line 23) Line 23 is the line that begins the above service dependency. Any ideas? Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null