Clear status
list Michael Lowery
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
▸
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
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
list Allan Spencer
▸
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 thistohappen. 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