Xymon Mailing List Archive search

Alerting Cobnfiguration

5 messages in this thread

list Neil Franken · Wed, 2 Jun 2010 15:39:59 +0200 ·
Hi Guys

If I wanted to make sure a person only got mails on disk,conn and raid
columns when they change status(ie any colour) would the following line
work?
HOST=PRMSBISQl01 SERVICE=conn,disk,raid
	MAIL user-c6a822dc9e0a@xymon.invalid REPEAT=480 RECOVERED


Regards
Neil
list Neil Franken · Wed, 2 Jun 2010 15:58:16 +0200 ·
Hi Guys

I found a problem. My host names are all in uppercase(in BBhost,
hobbit-client.cfg etc)i.e. DATASERVER1. When I use the uppercase version
in the alerting section it does not match the name as the alerting looks
for all lowercase i.e. dataserver1 ? Anybody run into this problem
before?


Regards
Neil
quoted from Neil Franken

-----Original Message-----
From: Neil Franken [mailto:user-1689acfc5a3b@xymon.invalid] 
Sent: 02 June 2010 03:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Alerting Cobnfiguration

Hi Guys

If I wanted to make sure a person only got mails on disk,conn and raid
columns when they change status(ie any colour) would the following line
work?
HOST=PRMSBISQl01 SERVICE=conn,disk,raid
	MAIL user-c6a822dc9e0a@xymon.invalid REPEAT=480 RECOVERED


Regards
Neil
list Josh Luthman · Wed, 2 Jun 2010 10:03:42 -0400 ·
I'm sure HOST= in the alert config will need to match case of bb-hosts.

I've used all lowercase for everything.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill


On Wed, Jun 2, 2010 at 9:58 AM, Neil Franken
quoted from Neil Franken
<user-1689acfc5a3b@xymon.invalid> wrote:
Hi Guys

I found a problem. My host names are all in uppercase(in BBhost,
hobbit-client.cfg etc)i.e. DATASERVER1. When I use the uppercase version
in the alerting section it does not match the name as the alerting looks
for all lowercase i.e. dataserver1 ? Anybody run into this problem
before?


Regards
Neil

-----Original Message-----
From: Neil Franken [mailto:user-1689acfc5a3b@xymon.invalid]
Sent: 02 June 2010 03:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Alerting Cobnfiguration

Hi Guys

If I wanted to make sure a person only got mails on disk,conn and raid
columns when they change status(ie any colour) would the following line
work?
HOST=PRMSBISQl01 SERVICE=conn,disk,raid
       MAIL user-c6a822dc9e0a@xymon.invalid REPEAT=480 RECOVERED


Regards
Neil

list Bruce White · Wed, 2 Jun 2010 18:12:41 -0500 ·
Case is important!  However, I have found that as long as the case in the bb-hosts file matches the case in the "HOST=" parameter in the hobbit-alerts.cfg file, there is not a problem. I monitor 555 hosts total.  All my windows hosts (~200) are all uppercase.  All my unix/linux hosts (~50) are all lower case.  My network devices (~300) are mixed upper and lower case.

   ....Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
quoted from Josh Luthman
 
-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Wednesday, June 02, 2010 9:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Alerting Cobnfiguration

I'm sure HOST= in the alert config will need to match case of bb-hosts.

I've used all lowercase for everything.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"Success is not final, failure is not fatal: it is the courage to
continue that counts."
--- Winston Churchill


On Wed, Jun 2, 2010 at 9:58 AM, Neil Franken
<user-1689acfc5a3b@xymon.invalid> wrote:
Hi Guys

I found a problem. My host names are all in uppercase(in BBhost,
hobbit-client.cfg etc)i.e. DATASERVER1. When I use the uppercase version
in the alerting section it does not match the name as the alerting looks
for all lowercase i.e. dataserver1 ? Anybody run into this problem
before?


Regards
Neil

-----Original Message-----
From: Neil Franken [mailto:user-1689acfc5a3b@xymon.invalid]
Sent: 02 June 2010 03:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Alerting Cobnfiguration

Hi Guys

If I wanted to make sure a person only got mails on disk,conn and raid
columns when they change status(ie any colour) would the following line
work?
HOST=PRMSBISQl01 SERVICE=conn,disk,raid
       MAIL user-c6a822dc9e0a@xymon.invalid REPEAT=480 RECOVERED


Regards
Neil

list Neil Franken · Thu, 3 Jun 2010 07:55:10 +0200 ·
Yeah I thought as much however I ran the ./bin/bbcmd hobbitd_alert --test hostname cpu test it did not match a rule. It reported the host name in  lower case and in BBHosts the host was in Upper case. I fixed it with the following regular expression Host=%HOST|host. Strange one but not a train smash.
quoted from Bruce White

-----Original Message-----
From: White, Bruce [mailto:user-58f975e8bf9d@xymon.invalid] 
Sent: 03 June 2010 01:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Alerting Cobnfiguration

Case is important!  However, I have found that as long as the case in the bb-hosts file matches the case in the "HOST=" parameter in the hobbit-alerts.cfg file, there is not a problem. I monitor 555 hosts total.  All my windows hosts (~200) are all uppercase.  All my unix/linux hosts (~50) are all lower case.  My network devices (~300) are mixed upper and lower case.

   ....Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 
-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Wednesday, June 02, 2010 9:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Alerting Cobnfiguration

I'm sure HOST= in the alert config will need to match case of bb-hosts.

I've used all lowercase for everything.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"Success is not final, failure is not fatal: it is the courage to
continue that counts."
--- Winston Churchill


On Wed, Jun 2, 2010 at 9:58 AM, Neil Franken
<user-1689acfc5a3b@xymon.invalid> wrote:
Hi Guys

I found a problem. My host names are all in uppercase(in BBhost,
hobbit-client.cfg etc)i.e. DATASERVER1. When I use the uppercase version
in the alerting section it does not match the name as the alerting looks
for all lowercase i.e. dataserver1 ? Anybody run into this problem
before?


Regards
Neil

-----Original Message-----
From: Neil Franken [mailto:user-1689acfc5a3b@xymon.invalid]
Sent: 02 June 2010 03:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Alerting Cobnfiguration

Hi Guys

If I wanted to make sure a person only got mails on disk,conn and raid
columns when they change status(ie any colour) would the following line
work?
HOST=PRMSBISQl01 SERVICE=conn,disk,raid
       MAIL user-c6a822dc9e0a@xymon.invalid REPEAT=480 RECOVERED


Regards
Neil