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 312.693.3136 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
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 john.r.rothlisberger at accenture.com 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 312.693.3136 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>
On 4/11/2014 7:10 AM, john.r.rothlisberger at accenture.com 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 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
participants (3)
-
john.r.rothlisberger@accenture.com
-
john.thurston@alaska.gov
-
Paul.Root@CenturyLink.com