service dependencies

Matt Pounsett matt.pounsett at cira.ca
Tue Mar 23 15:39:44 CET 2004


On Mon, 22 Mar 2004, Porus Lakdawala wrote:

> What I am looking for is to have SERVICE2 on each host in HOSTGROUP1 be
> dependent on SERVICE1 running on the same host and no other. Which, atleast
> to my mind, would be the most common case. 

I think I get what you're looking for here... let me use an example to
illustrate what I think you mean:

* There are two servers, web1 and web2 in a hostgroup called 'webservers'.
* Each web server has an HTTP service, and a WEB_PORTAL service which depends
  on the HTTP service being up.

I take it that, in a single servicedependency statement you'd like to say
that, for all hosts in hostgroup 'webservers', service WEB_PORTAL depends on
service HTTP from that host only.
So that web1's WEB_PORTAL depends on web1's HTTP (and only web1's HTTP), and
web2's WEB_PORTAL depends on (only) web2's HTTP.

I agree that this seems like the most common case, but unfortunately I don't
think this is covered by the servicedependency syntax.  Perhaps someone more
knowledgeable will correct me if I'm wrong.

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett at cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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