Xymon Mailing List Archive search

Odd alerts behavior

3 messages in this thread

list Kevin Hanrahan · Sun, 6 Mar 2005 17:03:32 -0500 ·
 I am getting some very odd alerts behavior. I have everything setup using
macros like this:

$AV=%sserver1|server2|server3|server4|server5

$SYSADMIN=user-c6ffb6b6bba1@xymon.invalid

HOST=$AV
        MAIL $SYSADMIN COLOR=red EXSERVICE=msgs,cpu REPEAT=30m RECOVERED
        MAIL $SYSADMIN COLOR=red SERVICE=cpu DURATION>20 REPEAT=30m
RECOVERED
        MAIL $SYSADMIN COLOR=purple REPEAT=1h RECOVERED

I have this repeated for multiple groups of servers. I have been adding one
server group in the HOST definitions one by one and all appeared fine. Also
checking the "Info" column for each server I saw the proper alerts
definition reflected there.


When I get to a certain amount of entries, (I haven't narrowed it down to
how many yet), it appears to double all entries for all servers so that I
now get TWO emails for each event. This is also reflected in the "Info" area
for all servers! 

Is there a diagnostic I can use to see if I am making a syntax or proceedure
error? This is driving me nuts!


Thanks

KEvin 

Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.
list Henrik Størner · Sun, 6 Mar 2005 23:23:19 +0100 ·
quoted from Kevin Hanrahan
On Sun, Mar 06, 2005 at 05:03:32PM -0500, user-fd47fec4b039@xymon.invalid wrote:
When I get to a certain amount of entries, (I haven't narrowed it down to
how many yet), it appears to double all entries for all servers so that I
now get TWO emails for each event. This is also reflected in the "Info" area
for all servers! 

Is there a diagnostic I can use to see if I am making a syntax or proceedure
error? This is driving me nuts!
Add "--cfid" to the hobbitd_alert commandline in hobbitlaunch.cfg.
This will add "[cfid:N]" to the e-mail subject; "N" is the linenumber
in the config file that triggered the alert.


Henrik
list Kevin Hanrahan · Sun, 6 Mar 2005 18:58:36 -0500 ·
I believe I found it and it was self induced as usual. It was a stinkin
typo! 

I had this:
$IDG=%qa-server1|iw-server|econex-dc02|biz-mts-s2|via-ktest-s1|iw-tsite-s1|
via-cart-s1

Instead of this:
$IDG=%qa-server1|iw-server|econex-dc02|biz-mts-s2|via-ktest-s1|iw-tsite-s1|v
ia-cart-s1

That one space at the end did it so my advice to all.....don't do this!!


Thanks

KEvin
quoted from Kevin Hanrahan


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Sunday, March 06, 2005 5:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Odd alerts behavior


On Sun, Mar 06, 2005 at 05:03:32PM -0500, user-fd47fec4b039@xymon.invalid wrote:
When I get to a certain amount of entries, (I haven't narrowed it down 
to how many yet), it appears to double all entries for all servers so 
that I now get TWO emails for each event. This is also reflected in 
the "Info" area for all servers!

Is there a diagnostic I can use to see if I am making a syntax or 
proceedure error? This is driving me nuts!
Add "--cfid" to the hobbitd_alert commandline in hobbitlaunch.cfg. This will
add "[cfid:N]" to the e-mail subject; "N" is the linenumber in the config
file that triggered the alert.


Henrik


Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.