Xymon Mailing List Archive search

Windows load triggering only on default settings?

list Henrik Størner
Thu, 08 Dec 2011 15:53:51 +0100
Message-Id: <62e24d2eca20992e36030341e35a5fee@localhost>

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.


Regards,
Henrik