[Xymon] Xymon alert DURATION fail

Chris Pretorius chris.pretorius at signio.co.za
Thu Mar 7 09:56:37 CET 2013


Good day



I have a test that determines I a remote web service is responding. The
webservice is managed by someone outside of my environment.



The test fails a couple of times during the day, manual tests confirm that
the xymon test is ok. The webservice will fail for maybe 30 to 60 minutes
then will restore.

If the Xymon test runs while the service is unavailable, I will receive a
alert and by the time I can investigate all is ok.



I added the DURATION>30 or DURATION>1h to the alerts.cnf to only send me
alerts if the service has been down for a period of time, but I still
receive the alert as soon as Xymon detects the problem.



Is there another way to delay alerts or do I have some error in my configs?



My alerts.cfg

==============

PAGE=%prod SERVICE=institution,wsdl

        MAIL cellno-xymon at sms.domain.co.za DURATION>1h REPEAT 30m COLOR=red
FORMAT=SMS

        SCRIPT /usr/lib/xymon/server/ext/smsplus.sh
cell-xymon at sms.domain.co.za DURATION>1h REPEAT 30m COLOR=red



Set debug option in tasks.cfg

CMD xymond_channel --channel=page  --log=$XYMONSERVERLOGS/alert.log
xymond_alert --checkpoint-file=$XYMONTMP/alert.chk
--checkpoint-interval=600 –debug



Alert.log

=======

10687 2013-03-07 09:29:30 xymond_alert: Got message 237 @@page#237/
domain.co.za|1362641370.822859|196.14.77.34|domain.co.za
|wsdl|196.14.77.34|1362643170|red|green|1362641370|prod|555815|linux|linux||

10687 2013-03-07 09:29:30 startpos 2171, fillpos 2171, endpos -1

10687 2013-03-07 09:29:30 Got page message from domain.co.za:wsdl

10687 2013-03-07 09:29:30 Alert status changed from 0 to 1

10687 2013-03-07 09:29:30 Found a first matching rule

10687 2013-03-07 09:29:30 No more secondary matching rule

10687 2013-03-07 09:29:30 No files modified, skipping reload of
/usr/lib/xymon/server/etc/alerts.cfg

10687 2013-03-07 09:29:30 No files modified, skipping reload of
/usr/lib/xymon/server/etc/holidays.cfg

10687 2013-03-07 09:29:30 Found a first matching rule

10687 2013-03-07 09:29:30 No more secondary matching rule

10687 2013-03-07 09:29:30 Found a first matching rule

10687 2013-03-07 09:29:30 1 alerts to go

12977 2013-03-07 09:29:30 send_alert domain.co.za:wsdl state 0

12977 2013-03-07 09:29:30 Found a first matching rule

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|
operations at domain.co.za at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to
operations at domain.co.za

10687 2013-03-07 09:29:30 Found a first matching rule

10687 2013-03-07 09:29:30 No more secondary matching rule

10687 2013-03-07 09:29:30 Want msg 238, startpos 2171, fillpos 2171, endpos
-1, usedbytes=0, bufleft=264068

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|REPEAT at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|30m at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|
cellno-xymon at sms.conclude.co.za at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to
cellno-xymon at sms.conclude.co.za

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|REPEAT at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|mail|30m at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|script|
cellno-xymon at sms.conclude.co.za at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to
cellno-xymon at sms.conclude.co.za

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|script|REPEAT at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT

12977 2013-03-07 09:29:30   repeat domain.co.za|wsdl|script|30m at 0

12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m

12977 2013-03-07 09:29:30 No more secondary matching rule



Kind Regards,



Chris Pretorius

Systems Administrator



[image: logo small]

*Your market gateway*

* *

  Southdowns Office Park, Block B 2nd Floor SF02, Cnr John Vorster Drive &
Karee Street, Highveld, Centurion



  Tel: 012 684 6600  [image: dot red]  Fax: 012 684 6629  [image: dot red]



                  Email: chris.pretorius at signio.co.za   [image: dot
red]    Web:
www.signio.co.za



[image: 3]









This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify us via email :
support at signio.co.za .

Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.

Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.



Signio (PTY) LTD, Reg Nr: 2003/001508/07
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130307/50a8b7de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 5856 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130307/50a8b7de/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 662 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130307/50a8b7de/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 8203 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130307/50a8b7de/attachment-0002.jpg>


More information about the Xymon mailing list