Xymon Mailing List Archive search

Hobbit 4.0 RC3

list Henrik Størner
Thu, 24 Feb 2005 00:05:28 +0100
Message-Id: <user-098ef344bd56@xymon.invalid>

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