Xymon Mailing List Archive search

What is the word on the "depends" tag?

2 messages in this thread

list Gary Baluha · Fri, 2 Mar 2007 11:44:35 -0500 ·
What is the word on the "depends" tag?  Does it work or not?  It seems there
are a number of posts that seem to suggest it doesn't work properly.

Essentially, what I'm trying to do is set up a dependency for a website
content check so that if the physical machine that it runs on is down for
maintenance, the website content check won't go red.  When we schedule
maintenance for a machine, we generally disable the tests for that machine
in Hobbit so we don't get unnecessarily paged.  What I'd like to have happen
is if I disable the tests for "webserver", then the "web-test" content check
will also be disabled (or at least not page).  An example of what I'm trying
to set up is below:

1.2.3.4 webserver
0.0.0.0 web-test # cont=<blah> depends=(cont:webserver/conn)

My question is, first, will the use of the "depends" tag as I have above
accomplish what I want?  And second, does the "depends" tag actually work,
or should I try using some other dependency-type tag in Hobbit?
list Geoff Hallford · Fri, 2 Mar 2007 15:28:49 -0500 ·
From my experience the depends tag does NOT work. Use the route tag for host
dependencies. Unfortunately, it doesn't work for service dependencies.
quoted from Gary Baluha

On 3/2/07, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
What is the word on the "depends" tag?  Does it work or not?  It seems
there are a number of posts that seem to suggest it doesn't work properly.

Essentially, what I'm trying to do is set up a dependency for a website
content check so that if the physical machine that it runs on is down for
maintenance, the website content check won't go red.  When we schedule
maintenance for a machine, we generally disable the tests for that machine
in Hobbit so we don't get unnecessarily paged.  What I'd like to have happen
is if I disable the tests for "webserver", then the "web-test" content check
will also be disabled (or at least not page).  An example of what I'm trying
to set up is below:

1.2.3.4 webserver
0.0.0.0 web-test # cont=<blah> depends=(cont:webserver/conn)

My question is, first, will the use of the "depends" tag as I have above
accomplish what I want?  And second, does the "depends" tag actually work,
or should I try using some other dependency-type tag in Hobbit?
-- 

'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson