[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] email and page alerts
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] email and page alerts
- From: "Rebecca Henderson" <rebecca_henderson (at) link.freedom.com>
- Date: Mon, 18 Feb 2008 13:43:46 -0800
- Thread-index: Achv/qj5uALf8CSURu2yta+qXiRXtACGil9wABfPsWA=
- Thread-topic: [hobbit] email and page alerts
:-) thank you!
-----Original Message-----
From: hobbit (at) hswn.dk [mailto:hobbit (at) hswn.dk]
Sent: Monday, February 18, 2008 2:29 AM
To: Rebecca Henderson; hobbit (at) hswn.dk
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 henrik (at) sample.com REPEAT=2 RECOVERED
COLOR=red'
***
Mail alert with command 'mail -s "BB [12345] osiris.hswn.dk:cpu
is RED" [
mailto:henrik (at) sample.com' ]henrik (at) sample.com'
This may help you diagnose the problem.
Good luck,
|\/|artin
--
-----Original Message-----
From: Rebecca Henderson [mailto:rebecca_henderson (at) link.freedom.com]
Sent: 15 February 2008 18:10
To: hobbit (at) hswn.dk
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 rebecca_henderson (at) link.freedom.com REPEAT=05 RECOVERED
MAIL rebecca_henderson (at) link.freedom.com DURATION>10 COLOR=red
GROUP=UNIX_TEAM_PROCESS
MAIL rebecca_henderson (at) freedom.com FORMAT=TEXT
GROUP=UNIX_TEAM_PARTITION
MAIL rebecca_henderson (at) link.freedom.com FORMAT=TEXT
GROUP=APPS_TEAM_PROCESS
MAIL rebecca_henderson (at) freedom.com FORMAT=TEXT
GROUP=APPS_TEAM_PARTITION
MAIL rebecca_henderson (at) freedom.com 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
security (at) colt.net 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.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk