[Xymon] xymon disable bug or missing feature?

Carl Melgaard Carl.Melgaard at STAB.RM.DK
Thu Aug 11 15:05:48 CEST 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110811/2c6ea767/attachment.html>


More information about the Xymon mailing list