[Xymon] REPEAT not working in alarm.cfg

Tom Moore Tom.Moore at sas.com
Wed Sep 26 16:00:21 CEST 2012


I would even put DURATION down there as well.  Use the top line to determine what to alert on, and in what case (color, service), and the second line as your action (what to do, when to do it, how often to repeat)


From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Shannon Anderson
Sent: Wednesday, September 26, 2012 9:48 AM
To: xymon at xymon.com
Subject: [Xymon] REPEAT not working in alarm.cfg

Ryan Novosielski, your insight did the trick, Having REPEAT on the first line of the Alarm cause it to fail(be ignored) for me. Moving REPEAT to the second line works like a champ.

Thanks.

###Fails to prevent 30 minute repeat###
PAGE=247OnCall  COLOR=purple DURATION>30 REPEAT=720  SERVICE=conn
        SCRIPT /var/www/html/247OnCall/switchvox/callRotation.pl  test


###REPEAT Works####
PAGE=247OnCall  COLOR=purple DURATION>30 SERVICE=conn
        SCRIPT /var/www/html/247OnCall/switchvox/callRotation.pl  test REPEAT=720


Shannon Anderson, MCP, MCP+I, MCSE
Support Centre Systems Engineer

Corporate Network Services
"Count on Us"
20010 Fisher Ave, Suite E
Poolesville, MD 20837
direct: 240-425-4904 | main: 301.948.8077 | fax: 301.349.2518
http://www.cornetser.com<http://www.cornetser.com/>

[Description: Description: Description: Description: Description: Description: Facebook]Join CNS on Facebook<http://www.facebook.com/#!/CorporateNetworkServices?ref=ts>

AWE Best Place to Work 2006-2012; Eco-Leader 2009-2012; Health and Wellness Trailblazer 2010-2012
 ...ask me how you can feel happier about IT support with [Description: Description: Description: Description: Description: untitled]
P Please consider the environment before printing this email

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120926/608a872f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 19730 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120926/608a872f/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2996 bytes
Desc: image002.png
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120926/608a872f/attachment.png>


More information about the Xymon mailing list