Windows load triggering only on default settings?
<henrik at hswn.dk> schrieb am 08.12.2011 14:48:38:
...
Re: [Xymon] Antwort: Re: Windows load triggering only on default
settings?
Hi,
could you send me (private mail - henrik at hswn.dk) 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.
Regards, Henrik
PS: Please don't CC your mailing-list mails to "xymon-bounces", it just fills my mailbox with "Uncaught bounce notifications".
Sorry.
Yours hjb
On Thu, 8 Dec 2011 15:11:47 +0100, "Hermann-Josef Beckers" <hj.beckers at kreis-steinfurt.de> wrote:
<henrik at hswn.dk> schrieb am 08.12.2011 14:48:38:
could you send me (private mail - henrik at hswn.dk) 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
xymon-bounces at xymon.com schrieb am 08.12.2011 15:53:51:
...
Re: [Xymon] Windows load triggering only on default settings?
Gesendet von:
xymon-bounces at xymon.com
On Thu, 8 Dec 2011 15:11:47 +0100, "Hermann-Josef Beckers" <hj.beckers at kreis-steinfurt.de> wrote:
<henrik at hswn.dk> schrieb am 08.12.2011 14:48:38:
could you send me (private mail - henrik at hswn.dk) 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
participants (2)
-
henrik@hswn.dk
-
hj.beckers@kreis-steinfurt.de