DURATION tag

Kevin.Hanrahan at novainfo.com Kevin.Hanrahan at novainfo.com
Mon Mar 14 23:06:20 CET 2005


I'm not sure the duration tag is working correctly in the hobbit-alerts.cfg
setup. I have tests like I/O and CPU that will spike for a short time and I
wanted to eliminate the email notifications for those spikes. I set the
DURATION tag for 10 or 20 minutes like this:


HOST=$SERVER1
        MAIL $SYSADMIN COLOR=red EXSERVICE=msgs,cpu,http,webContent
REPEAT=30m RECOVERED
        MAIL $SYSADMIN COLOR=red SERVICE=cpu DURATION>20 REPEAT=30m
RECOVERED
        MAIL $SYSADMIN COLOR=red SERVICE=http DURATION>10 REPEAT=1h
RECOVERED
        MAIL $SYSADMIN COLOR=red SERVICE=webContent DURATION>10m REPEAT=1h
RECOVERED
        MAIL $SYSADMIN COLOR=purple REPEAT=1h RECOVERED


But, it seems that I get the alerts immediately. Clicking on the history
button shows it was in alarm (RED) for only 5:00 minutes which would be the
default poll time so I am guessing that it was actually in the alarm state
for even less that that. Has anyone else had problems with the DURATION tag?



Kevin 

Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050314/173c2be0/attachment.html>


More information about the Xymon mailing list