alert timing: long delays

Alan Sparks asparks at doublesparks.net
Thu Aug 25 06:37:25 CEST 2005


I have the following rules in my alerts.cfg file:

HOST=%.* COLOR=red,purple EXSERVICE=conn,cpu,backup,msgs,content
EXHOST=%netapp.*
        SCRIPT /usr/lib/hobbit/server/ext/pg/cfrun cfrun FORMAT=SCRIPT
REPEAT=10

HOST=%.* COLOR=red,purple EXSERVICE=content TIME=*:0010:2355
        MAIL bb-oncall FORMAT=TEXT REPEAT=60 DURATION>3 RECOVERED
        MAIL bb-pg-oncall FORMAT=PLAIN REPEAT=60 DURATION>3 RECOVERED

I get the alerts, but about 10 minutes elapse between seeing the first
script alert fire, and then seeing the mail actions fire:
Wed Aug 24 22:11:04 2005 web08.quris.net.http (66.179.26.73) cfrun
1124943064 600
Wed Aug 24 22:21:53 2005 web08.quris.net.http (66.179.26.73) cfrun
1124943713 600
Wed Aug 24 22:21:53 2005 web08.quris.net.http (66.179.26.73) bb-oncall
1124943713 600
Wed Aug 24 22:21:53 2005 web08.quris.net.http (66.179.26.73)
bb-pg-oncall 1124943713 600

Where does that 10 minute delay come from?  How can I make things cycle
faster so the DURATION parameter makes sense?

Thanks in advance.
-Alan


-- 
Alan Sparks, UNIX/Linux Systems Integration and Administration
<asparks at doublesparks.net>




More information about the Xymon mailing list