Xymon Mailing List Archive search

question on precedence

2 messages in this thread

list Galen Johnson · Mon, 27 Jun 2016 14:17:13 +0000 ·
Hey,


Just curious about how "ignore" and "trigger" work together in the clientlocal.cfg file.  Let's say I have a log message like


2016-06-26 03:33:41 (myhost): [RED ALERT] File is missing?


and rules in clientlocal such that


log:/var/log/some.log:10240
ignore "File is missing"
trigger "RED ALERT"

Which takes precedence?  Is it just the order the rules are listed?

thanks

=G=
list Scot Kreienkamp · Tue, 28 Jun 2016 12:57:44 +0000 ·
My read on the man page is that trigger always takes precedence.


Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
â–¸ quoted from Galen Johnson
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Galen Johnson
Sent: Monday, June 27, 2016 10:17 AM
To: xymon at xymon.com
Subject: [Xymon] question on precedence


Hey,


Just curious about how "ignore" and "trigger" work together in the clientlocal.cfg file.  Let's say I have a log message like


2016-06-26 03:33:41 (myhost): [RED ALERT] File is missing​


and rules in clientlocal such that


log:/var/log/some.log:10240
ignore "File is missing"
trigger "RED ALERT"

Which takes precedence?  Is it just the order the rules are listed?

thanks

=G=


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.