bypass duration for alert?
list John Rothlisberger
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. Thanks, John Upcoming PTO: (none) John Rothlisberger IT Strategy, Infrastructure & Security - Technology Growth Platform TGP for Business Process Outsourcing Accenture XXX.XXX.XXXX office This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. www.accenture.com
list Paul Root
I would probably not have the duration in the alerts.cfg and instead send the status to a script. In the script, look for a keyword. If it is there, act immediately. If it isn't then wait for a duration time defined in the script. Paul.
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of user-7adce57665bb@xymon.invalid
Sent: Friday, April 11, 2014 10:11 AM
To: xymon at xymon.com
Subject: [Xymon] bypass duration for alert?
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.
Thanks,
John
Upcoming PTO:
(none)
John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
Accenture
XXX.XXX.XXXX office
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
www.accenture.com<http://www.accenture.com>;
list John Thurston
▸
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