Xymon Mailing List Archive search

Clear status

4 messages in this thread

list Michael Lowery · Tue, 14 Mar 2006 08:33:32 -0600 ·
The default for hobbit seems to be that if the conn test fails,
everything else goes clear.  I have specific reasons to not want this to
happen.  Can anyone tell me how to disable that default action?

 
Thanks!
list Henrik Størner · Tue, 14 Mar 2006 15:44:56 +0100 ·
quoted from Michael Lowery
On Tue, Mar 14, 2006 at 08:33:32AM -0600, Michael Lowery wrote:
The default for hobbit seems to be that if the conn test fails,
everything else goes clear.  I have specific reasons to not want this to
happen.  Can anyone tell me how to disable that default action?
On a per-test basis: Put a tilde "~" in front of the testname, e.g. 
  10.0.0.1 myhost # ~ftp ~cont;http://myhost/;Welcome

On a per-host basis: Add the "noclear" tag on the host entry, e.g.
  10.0.0.1 myhost # noclear ftp cont;http://myhost/;Welcome

For a group of hosts: Put the noclear tag on a ".default." entry, e.g:
  0.0.0.0  .default. # noclear
  10.0.0.2 myhost1 # cont;http://myhost/;Welcome
  10.0.0.2 myhost2 # cont;http://myhost/;Welcome
  0.0.0.0  .default. #


Henrik
list Michael Lowery · Tue, 14 Mar 2006 09:19:59 -0600 ·
Thank you! That is in the documentation, I just overlooked it.  
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, March 14, 2006 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Clear status

On Tue, Mar 14, 2006 at 08:33:32AM -0600, Michael Lowery wrote:
The default for hobbit seems to be that if the conn test fails,
everything else goes clear.  I have specific reasons to not want this
to
happen.  Can anyone tell me how to disable that default action?
On a per-test basis: Put a tilde "~" in front of the testname, e.g. 
  10.0.0.1 myhost # ~ftp ~cont;http://myhost/;Welcome

On a per-host basis: Add the "noclear" tag on the host entry, e.g.
  10.0.0.1 myhost # noclear ftp cont;http://myhost/;Welcome

For a group of hosts: Put the noclear tag on a ".default." entry, e.g:
  0.0.0.0  .default. # noclear
  10.0.0.2 myhost1 # cont;http://myhost/;Welcome
  10.0.0.2 myhost2 # cont;http://myhost/;Welcome
  0.0.0.0  .default. #


Henrik
list Allan Spencer · Wed, 15 Mar 2006 09:02:08 +1100 ·
quoted from Michael Lowery
Michael Lowery wrote:
Thank you! That is in the documentation, I just overlooked it.  
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Tuesday, March 14, 2006 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Clear status

On Tue, Mar 14, 2006 at 08:33:32AM -0600, Michael Lowery wrote:
  
The default for hobbit seems to be that if the conn test fails,
everything else goes clear.  I have specific reasons to not want this
    
to
  
happen.  Can anyone tell me how to disable that default action?
    
On a per-test basis: Put a tilde "~" in front of the testname, e.g.   10.0.0.1 myhost # ~ftp ~cont;http://myhost/;Welcome

On a per-host basis: Add the "noclear" tag on the host entry, e.g.
  10.0.0.1 myhost # noclear ftp cont;http://myhost/;Welcome

For a group of hosts: Put the noclear tag on a ".default." entry, e.g:
  0.0.0.0  .default. # noclear
  10.0.0.2 myhost1 # cont;http://myhost/;Welcome
  10.0.0.2 myhost2 # cont;http://myhost/;Welcome
  0.0.0.0  .default. #


Henrik

Cool I didnt know about that I just thought the only option was to set the IPTEST_2_CLEAR_ON_FAILED_CONN in the server.cfg to false but then thats obviously a global change.

A