Xymon Mailing List Archive search

xymon disable bug or missing feature?

1 message in this thread

list Carl Melgaard · Thu, 11 Aug 2011 15:05:48 +0200 ·
Hi

I'm posting this seperately now:

But I found a curiosity when trying to disable things (both on a 4.3.4 and an old 4.4.0-beta):

./xymon localhost "disable host.conn 86028s Disabled by: blah @ 10.10.10.10 Reason: blah blah"

Doesn't put the host in maintenance for 86028 seconds (almost 24 hrs) - instead it uses minutes (59 days instead) - is there a bug with the "s"-suffix that I don't know about - or am I using xymon disable wrong? The man-pages clealy indicates that you can use seconds, as a parameter:

disable HOSTNAME.TESTNAME DURATION <additional text>
Disables a specific test for DURATION minutes. This will cause the status of this test to be listed as "blue" on the Xymon server, and no alerts for this host/test will be generated. If DURATION is given as a number followed by s/m/h/d, it is interpreted as being in seconds/minutes/hours/days respectively. To disable a test until it becomes OK, use "-1" as the DURATION. To disable all tests for a host, use an asterisk "*" for TESTNAME.

/melgaard