Kevin,
I delete the mail notices from Hobbit so I can't say how it should look, but here is what I am using:
HOST=* MAIL user at domain.tld COLOR=RED DURATION>15m REPEAT=60 RECOVERED
On Wed, May 14, 2008 at 11:00 AM, Kevin Doyle <kdoyle at peak5.com> wrote:
Some further information. My clients (mostly Windows2003 servers are running the Big Brother client, version 1-08d
*From:* Josh Luthman [mailto:josh at imaginenetworksllc.com] *Sent:* Wednesday, May 14, 2008 8:47 AM *To:* hobbit at hswn.dk *Subject:* Re: [hobbit] RE: Hobbit Emails empty
Kevin,
Try this:
HOST=*
MAIL kdoyle (at) peak5.com COLOR=RED REPEAT=20 RECOVEREDJosh
On Wed, May 14, 2008 at 10:35 AM, Kevin Doyle <kdoyle at peak5.com> wrote:
Yes here is the relevant line in my hobbit-alerts.cfg
The hobbit-alerts.cfg file controls who receives alerts
when a status in the BB system goes into a critical
state (usually: red, yellow or purple).
This file is made up from RULES and RECIPIENTS.
A RULE is a filter made from the PAGE where a host
is located in BB; the HOST name, the SERVICE name,
the COLOR of the status, the TIME of day, and the
DURATION of the event.
A RECIPIENT can be a MAIL address, or a SCRIPT.
Recipients can also have rules associated with them,
that modify the rules for a single recipient, e.g.
you can define a rule for alerting, then add an
extra criteria e.g. so a single recipient does not get
alerted until after 20 minutes.
A sample rule:
HOST=* Color=red
MAIL kdoyle (at) peak5.com FORMAT=TEXT COLOR=RED REPEAT=20 RECOVEREDMAIL cio at foo.com DURATION>60 COLOR=red
SCRIPT /usr/local/bin/sendsms 1234567890 FORMAT=SMS
Can you share your ~/server/etc/hobbit-alerts.cfg please?
*From:* Kevin Doyle *Sent:* Tuesday, May 13, 2008 1:12 PM *To:* 'hobbit at hswn.dk' *Subject:* Hobbit Emails empty
I have a test Hobbit server running on CentOS 5.0 I am running Hobbit 4.1.2p2 and everything appears to be fuinctioning correct except alerting. When I trigger an alert, I get an email with only a subject and no body. I expected to get some information about the alert and the link to the monitored device. I am sure I am missing something fairly simple but I am new to Linux and Hobbit.
Any Ideas?
*Kevin P. Doyle*
Sr. Systems Administrator
*Peak5*
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer