[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Hobbit 4.0 RC3



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