Xymon Mailing List Archive search

Configuring a red alert for: Machine recently rebooted

list Damien Martins
Mon, 25 May 2020 18:48:35 +0200
Message-Id: <user-c6f58796ea3a@xymon.invalid>

Hello,


Did you try this ?

HOST=hal

 ??????? UP????? 1h red


Cordialement,
Damien Martins

Le 25/05/2020 ? 15:44, M. Mueller a ?crit?:
I tried to configure an alert that should stay red for one hour after a reboot.
The toolonglimit should be infinite. My analysis.conf contains:

HOST=hal
??????? UP 1h -1? red

This leads to a red cpu status:

"Machine has been up more than 0 days"

Obviously the toolonglimit of -1 isn't working as I expected it.

dump-config shows 0 in thetoolong-column:

bbrother at xymon:~/server $ bin/xymond_client --dump-config | grep UP
UP 3600 0 HOST=hal (line: 358)

?tested under 4.3.28 (the dump-config test showed the same result under 4.3.30)

Is this the expected behaviour? I worked around it by specifying a lot of weeks for toolonglimit.