Multiple dependent services for one service

Jeff Orr jeff at attributor.com
Mon May 21 19:55:46 CEST 2007


Hello

I am running into a problem with service dependencies on our Nagios
installation. We have multiple services in our server backend that are
located on different hosts, but all these services depend on the same
service: the production database server on db1.

Is there a way to make multiple dependency mappings onto the same service?
I.e. foo:apache depends on db1:mysql, bar:crawler depends on db1:mysql,
baz:tomcat depends on db1:mysql? I see how you can make foo:service1 depend
on bar:service2 and baz:service3, but not the other way. I tried using
inheritance in the service dependencies file, but Nagios complains horribly
and won't start.

Error: Could not add object property in file
'/usr/local/nagios/etc/servicedependencies.cfg' on line 18.

Thanks in advance!
--Jeff Orr
Attributor Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070521/592cd4c2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list