Xymon Mailing List Archive search

bypass duration for alert?

list John Thurston
Fri, 11 Apr 2014 08:07:46 -0800
Message-Id: <user-d37539ab8a91@xymon.invalid>

On 4/11/2014 7:10 AM, user-7adce57665bb@xymon.invalid wrote:
Anyone know a way to send a status message which would preempt the duration setting within alerts.cfg?

What I would like to do is send a status message for a hostname.test which would cause an alert to be acted on immediately and skip any settings for duration.
Maybe the message type 'notify' will do what you need:
notify HOSTNAME.TESTNAME <message text>
    This triggers an informational message to be sent to those who receive alerts for this HOSTNAME+TESTNAME combination, according to the rules defined in alerts.cfg(5) This is used by the enadis.cgi(1) tool to notify people about hosts being disabled or enabled, but can also serve as a general way of notifying server administrators.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska