I am getting some very odd alerts behavior. I have everything setup using macros like this:
$AV=%sserver1|server2|server3|server4|server5
$SYSADMIN=kevin.hanrahan at domain.com
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.
On Sun, Mar 06, 2005 at 05:03:32PM -0500, Kevin.Hanrahan at novainfo.com 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
participants (2)
-
henrik@hswn.dk
-
Kevin.Hanrahan@novainfo.com