[hobbit] Hobbit 4.0 RC3

Henrik Stoerner henrik at hswn.dk
Thu Feb 24 00:05:28 CET 2005


On Wed, Feb 23, 2005 at 05:46:47PM +0100, Frédéric Mangeant wrote:
> Another issue : with this paging rule
> 
> HOST=foo SERVICE=* EXSERVICE=procs REPEAT=24h TIME=W:0900:1800 DURATION>5m
> SCRIPT /tmp/alert.sh FORMAT=TEXT
> 
> I got paged every 30 minutes with a red "disk" column, instead of 24
> hours.

You cannot set a REPEAT setting on a rule, it goes on the recipient.
And a SCRIPT recipient needs both the script name and a parameter.
So your alert-config should be

HOST=foo SERVICE=* EXSERVICE=procs TIME=W:0900:1800 DURATION>5m
   SCRIPT /tmp/alert.sh somerecipient FORMAT=TEXT REPEAT=24h


Henrik



More information about the Xymon mailing list