Multiple dependent services for one service

Jeff Shumard - DefenseWeb Technologies jeff.shumard at defenseweb.com
Mon May 21 20:15:56 CEST 2007


You need to create a dependency config for each dependent service by
host.  You will not be able to group multiple dependent services on
different hosts in the same configuration.  You need to separate them.

 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff
Orr
Sent: Monday, May 21, 2007 10:56 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Multiple dependent services for one service

 

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/98a1adfd/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