[Xymon] fine grained alerts

Lars Kollstedt lk at man-da.de
Sat Dec 29 01:11:32 CET 2018


Am Freitag, 28. Dezember 2018, 11:16:32 CET schrieb Kris Springer:
> In my alerts.cfg I've got a PAGE setting that is working well, but I
> want to fine tune one of the HOSTS to reduce the frequency of alerts for
> the DISK service.  But now I'm getting 2 alerts for the Disk service for
> that host.
[...]


Hi Kris,

all filtering statements can be also used with an preceding EX.

e.g.:
| HOST=CloudBox-2**
|      MAIL username at email.com SERVICE=disk COLOR=red,purple DURATION>1h \
|      RECOVERED REPEAT=4h
|
| PAGE=CLOUDBOXES** EXHOST=CloudBox-2**
|      MAIL username at email.com COLOR=red,purple DURATION>1h RECOVERED \
|      REPEAT=30m*

You might also have a look at the STOP keyword, that should produce the 
behaviour you expected without it. STOP isn't the default for all alerting 
rules but IGNORE.

e.g.:
| HOST=CloudBox-2**
|      MAIL username at email.com SERVICE=disk COLOR=red,purple DURATION>1h \
|      RECOVERED REPEAT=4h STOP
|
| PAGE=CLOUDBOXES**
|      MAIL username at email.com COLOR=red,purple DURATION>1h RECOVERED \
|      REPEAT=30m*


For more information about this rules "man alerts.cfg" should be your friend. 
;-)

Kind regards,
	Lars

-- 
Lars Kollstedt

Telefon: +49 6151 16-71027
E-Mail:  lk at man-da.de

man-da.de GmbH
Dolivostraße 11
64293 Darmstadt

Sitz der man-da.de GmbH: Darmstadt
Amtsgericht Darmstadt, HRB 9484
Geschäftsführer: Andreas Ebert


More information about the Xymon mailing list