Xymon Mailing List Archive search

How to "disable until OK" from the command line?

3 messages in this thread

list Paul van Eldijk · Wed, 04 Apr 2007 09:42:08 +0200 ·
A simple question, but I can't find the answer:
how do I disable a test from the command line "until OK"? Is it at all 
possible?

Paul
list Dominique Frise · Wed, 04 Apr 2007 11:12:24 +0200 ·
quoted from Paul van Eldijk
Paul van Eldijk wrote:
A simple question, but I can't find the answer:
how do I disable a test from the command line "until OK"? Is it at all possible?

Paul

Never tried it but after looking into the code, you can set DURATION to -1 to achieve this.

~/server/bin/bb 127.0.0.1 "disable HOSTNAME.TESTNAME -1 <additional text>"


Dominique
UNIL - University of Lausanne
list Paul van Eldijk · Wed, 04 Apr 2007 11:37:24 +0200 ·
Dominique Frise schreef:
quoted from Paul van Eldijk
Paul van Eldijk wrote:
A simple question, but I can't find the answer:
how do I disable a test from the command line "until OK"? Is it at all 
possible?

Paul

Never tried it but after looking into the code, you can set DURATION to 
-1 to achieve this.

~/server/bin/bb 127.0.0.1 "disable HOSTNAME.TESTNAME -1 <additional text>"
Thanks, that's it.

Paul