Xymon Mailing List Archive search

Windows load triggering only on default settings?

list Hermann-Josef Beckers
Fri, 9 Dec 2011 08:12:36 +0100
Message-Id: <user-92fad73d2910@xymon.invalid>

xymon-bounces at xymon.com schrieb am 08.12.2011 15:53:51:

...
Re: [Xymon] Windows load triggering only on default settings?

Gesendet von:


On Thu, 8 Dec 2011 15:11:47 +0100, "Hermann-Josef Beckers"
<user-3e5362deca72@xymon.invalid> wrote:
<user-ce4a2c883f75@xymon.invalid> schrieb am 08.12.2011 14:48:38:
could you send me (private mail - user-ce4a2c883f75@xymon.invalid) the analysis.cfg
file? I
would like to know exactly what is going on and having the file to 
test
would make it much easier.
Done.
The problem turned out to be some confusion about the regular 
expressions,
in combination with a rule that would unexpectedly take precedence over 
the
wanted one. When using regex'es, you must be careful about the order in
which you list the various rules. In this case there was 
  HOST=%ss
     LOAD ...

followed by

  HOST=%ssnts|sspro
     LOAD ...

and since Xymon uses the first rule that matches, the "%ssnts|sspro"
expression would never be used.
Works as designed. Thanks, Henrik.


Hermann-Josef Beckers