[Xymon] alerts

henrik at hswn.dk henrik at hswn.dk
Thu Dec 15 12:38:14 CET 2011


On Thu, 15 Dec 2011 09:28:20 +0200, "Moodley, Nelandran N"
<Nelandran.Moodley at standardbank.co.za> wrote:
> I've configured a test alert as per xymon sample alert.
> 
> HOST=jones
>                 MAIL nelan1 at ananzi.co.za SERVICE=http REPEAT=1h
>                 MAIL nelan1 at ananzi.co.za SERVICE=cpu,disk,memory
> 
> When I run the test I get the following error in bold:
> 
> ./bin/xymoncmd xymond_alert --test jones disk
> 2011-12-15 08:35:14 Using default environment file
> /export/home/xymon/server/etc/xymonserver.cfg
> 00001236 2011-12-15 08:35:14 send_alert jones:disk state Paging
> 00001236 2011-12-15 08:35:14 Matching host:service:dgroup:page
> 'jones:disk:NONE:' against rule line 119
> 00001236 2011-12-15 08:35:14 *** Match with 'HOST=jones' ***
> 00001236 2011-12-15 08:35:14 Matching host:service:dgroup:page
> 'jones:disk:NONE:' against rule line 120
> 00001236 2011-12-15 08:35:14 Failed 'MAIL nelan1 at ananzi.co.za
SERVICE=http
> REPEAT=1h' (service not in include list)

As expected. This rule has "SERVICE=http", so an alert for a "disk" status
does not match. The "include list" is the list of service names listed in
the "SERVICE=..." specification.


> 00001236 2011-12-15 08:35:14 Matching host:service:dgroup:page
> 'jones:disk:NONE:' against rule line 121
> 00001236 2011-12-15 08:35:14 *** Match with 'MAIL nelan1 at ananzi.co.za
> SERVICE=cpu,disk,memory' ***

And here you get a match for the disk alert.


Regards,
Henrik




More information about the Xymon mailing list