email and page alerts
list Rebecca Henderson
Hello,
I'm in need of some help with the email and page part of hobbit.
My file monitor went red and nothing happened? I'm new at this so please
be patient.
Can you help me understand this.. , here is my hobbit server
hobbit-alerts.cfg
HOST=sys1 BBHOSTSVC=every_service
MAIL user-89b343014dc7@xymon.invalid REPEAT=05 RECOVERED
MAIL user-89b343014dc7@xymon.invalid DURATION>10 COLOR=red
GROUP=UNIX_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=UNIX_TEAM_PARTITION
MAIL user-89b343014dc7@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PARTITION
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
This is my hobbit server hobbit-clients.cfg
HOST=sys1
UP 1h
LOAD 5.0 10.0
DISK * 55 65 GROUP=UNIX_TEAM_PARTITION
MEMPHYS 100 101 GROUP=UNIX_TEAM_PARTITION
MEMSWAP 50 80
MEMACT 90 97
PROC defunct 0 0 red
LOG /var/log/messages WARNING COLOR=yellow
LOG /var/log/maillog WARNING COLOR=yellow
#LOG /var/opt/hobbitclient42/log/clientlaunch.log WARNING
COLOR=yellow
#LOG /var/opt/hobbitclient42/log/hobbitclient.log WARNING
FILE /etc/passwd SIZE>0 OWNERID=root COLOR=yellow
Thank you in advance,
Becki
list Josh Luthman
I can suggest looking at the info page for the host - that will tell you how the alert is setup.
▸
On 2/15/08, Rebecca Henderson <user-89b343014dc7@xymon.invalid> wrote:
Hello,
I'm in need of some help with the email and page part of hobbit.
My file monitor went red and nothing happened? I'm new at this so please
be patient.
Can you help me understand this.. , here is my hobbit server
hobbit-alerts.cfg
HOST=sys1 BBHOSTSVC=every_service
MAIL user-89b343014dc7@xymon.invalid REPEAT=05 RECOVERED
MAIL user-89b343014dc7@xymon.invalid DURATION>10 COLOR=red
GROUP=UNIX_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=UNIX_TEAM_PARTITION
MAIL user-89b343014dc7@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PARTITION
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
This is my hobbit server hobbit-clients.cfg
HOST=sys1
UP 1h
LOAD 5.0 10.0
DISK * 55 65 GROUP=UNIX_TEAM_PARTITION
MEMPHYS 100 101 GROUP=UNIX_TEAM_PARTITION
MEMSWAP 50 80
MEMACT 90 97
PROC defunct 0 0 red
LOG /var/log/messages WARNING COLOR=yellow
LOG /var/log/maillog WARNING COLOR=yellow
#LOG /var/opt/hobbitclient42/log/clientlaunch.log WARNING
COLOR=yellow
#LOG /var/opt/hobbitclient42/log/hobbitclient.log WARNING
FILE /etc/passwd SIZE>0 OWNERID=root COLOR=yellow
Thank you in advance,
Becki
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Martin Ward
Hi Becki, I have not played with alerts yet, that's in my list of things to do, but I did have the following link stored away: http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html and, more importantly for you, the following text: If you want to test how your alert configuration handles a specific host, you can run hobbitd_alert in test mode - you give it a hostname and servicename as input, and it will go through the configuration and tell you which rules match and who gets an alert. osiris:~ $ cd server/ osiris:~/server $ ./bin/bbcmd hobbitd_alert --test osiris.hswn.dk cpu Matching host:service:page 'osiris.hswn.dk:cpu:' against rule line 109:Matched *** Match with 'HOST=*' *** Matching host:service:page 'osiris.hswn.dk:cpu:' against rule line 110:Matched *** Match with 'MAIL user-7bb72e0929d1@xymon.invalid REPEAT=2 RECOVERED COLOR=red' *** Mail alert with command 'mail -s "BB [12345] osiris.hswn.dk:cpu is RED" user-7bb72e0929d1@xymon.invalid' This may help you diagnose the problem. Good luck, |\/|artin -- -----Original Message----- From: Rebecca Henderson [mailto:user-89b343014dc7@xymon.invalid] Sent: 15 February 2008 18:10 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] email and page alerts
▸
Hello,
I'm in need of some help with the email and page part of hobbit.
My file monitor went red and nothing happened? I'm new at this
so please be patient.
Can you help me understand this.. , here is my hobbit server
hobbit-alerts.cfg
HOST=sys1 BBHOSTSVC=every_service
MAIL user-89b343014dc7@xymon.invalid REPEAT=05 RECOVERED
MAIL user-89b343014dc7@xymon.invalid DURATION>10
COLOR=red
GROUP=UNIX_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=UNIX_TEAM_PARTITION
MAIL user-89b343014dc7@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PARTITION
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
This is my hobbit server hobbit-clients.cfg
HOST=sys1
UP 1h
LOAD 5.0 10.0
DISK * 55 65 GROUP=UNIX_TEAM_PARTITION
MEMPHYS 100 101 GROUP=UNIX_TEAM_PARTITION
MEMSWAP 50 80
MEMACT 90 97
PROC defunct 0 0 red
LOG /var/log/messages WARNING COLOR=yellow
LOG /var/log/maillog WARNING COLOR=yellow
#LOG /var/opt/hobbitclient42/log/clientlaunch.log
WARNING COLOR=yellow
#LOG /var/opt/hobbitclient42/log/hobbitclient.log
WARNING
FILE /etc/passwd SIZE>0 OWNERID=root COLOR=yellow
Thank you in advance,
Becki
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
list Rebecca Henderson
:-) thank you! -----Original Message----- From: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 2:29 AM To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] email and page alerts Importance: Low
▸
Hi Becki, I have not played with alerts yet, that's in my list of things to do, but I did have the following link stored away: [ http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html ]http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html and, more importantly for you, the following text: If you want to test how your alert configuration handles a specific host, you can run hobbitd_alert in test mode - you give it a hostname and servicename as input, and it will go through the configuration and tell you which rules match and who gets an alert. osiris:~ $ cd server/ osiris:~/server $ ./bin/bbcmd hobbitd_alert --test osiris.hswn.dk cpu Matching host:service:page 'osiris.hswn.dk:cpu:' against rule line 109:Matched *** Match with 'HOST=*' *** Matching host:service:page 'osiris.hswn.dk:cpu:' against rule line 110:Matched *** Match with 'MAIL user-7bb72e0929d1@xymon.invalid REPEAT=2 RECOVERED COLOR=red' *** Mail alert with command 'mail -s "BB [12345] osiris.hswn.dk:cpu is RED" [
mailto:user-7bb72e0929d1@xymon.invalid' ]user-7bb72e0929d1@xymon.invalid'
▸
This may help you diagnose the problem.
Good luck,
|\/|artin
--
-----Original Message-----
From: Rebecca Henderson [mailto:user-89b343014dc7@xymon.invalid]
Sent: 15 February 2008 18:10
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] email and page alerts
Hello,
I'm in need of some help with the email and page part of hobbit.
My file monitor went red and nothing happened? I'm new at this so please
be patient.
Can you help me understand this.. , here is my hobbit server
hobbit-alerts.cfg
HOST=sys1 BBHOSTSVC=every_service
MAIL user-89b343014dc7@xymon.invalid REPEAT=05 RECOVERED
MAIL user-89b343014dc7@xymon.invalid DURATION>10 COLOR=red
GROUP=UNIX_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=UNIX_TEAM_PARTITION
MAIL user-89b343014dc7@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PROCESS
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
GROUP=APPS_TEAM_PARTITION
MAIL user-92ec93b8c372@xymon.invalid FORMAT=TEXT
This is my hobbit server hobbit-clients.cfg
HOST=sys1
UP 1h
LOAD 5.0 10.0
DISK * 55 65 GROUP=UNIX_TEAM_PARTITION
MEMPHYS 100 101 GROUP=UNIX_TEAM_PARTITION
MEMSWAP 50 80
MEMACT 90 97
PROC defunct 0 0 red
LOG /var/log/messages WARNING COLOR=yellow
LOG /var/log/maillog WARNING COLOR=yellow
#LOG /var/opt/hobbitclient42/log/clientlaunch.log WARNING
COLOR=yellow
#LOG /var/opt/hobbitclient42/log/hobbitclient.log WARNING
FILE /etc/passwd SIZE>0 OWNERID=root COLOR=yellow
Thank you in advance,
Becki
************************************************************************
*************
The message is intended for the named addressee only and may not be
disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and
may
also be subject to legal privilege. If you are not the named addressee
and/or have received this message in error, please advise us by
e-mailing
user-61c7f445d564@xymon.invalid and delete the message and any attachments without
retaining any copies.
Internet communications are not secure and COLT does not accept
responsibility for this message, its contents nor responsibility for any
viruses.
No contracts can be created or varied on behalf of COLT
Telecommunications, its subsidiaries or affiliates ("COLT") and any
other
party by email Communications unless expressly agreed in writing with
such
other party.
Please note that incoming emails will be automatically scanned to
eliminate potential viruses and unsolicited promotional emails. For more
information refer to www.colt.net or contact us on +44(0)20 7390 3900.