[hobbit] Alerts not working at all
We've just recently been forced into supporting systems with hobbit, and I'm excited about the uses of the tool but I can't seem to make anything work.
We've got the monitoring up just fine and the alerts happen when stuff goes down, but I don't receive any emails. The only thing in my hobbit-alerts.cfg is this:
HOST=* MAIL me at work.com
What could I be missing?
Brian Thompson EDS - MSO Team (313)-592-7232 Detroit Diesel, Redford MI
Well I'd start at the log file, notifications.log. I can't quite recall where the default is, but I have mine in /var/log/hobbit/.
In my log, there is an entry for every notification sent out. If you see them there, I'd look for the problem at the next likely culprit - the mail sending utility.
On 3/13/07, Thompson, Brian <Brian.Thompson at detroitdiesel.com> wrote:
We've just recently been forced into supporting systems with hobbit, and I'm excited about the uses of the tool but I can't seem to make anything work.
We've got the monitoring up just fine and the alerts happen when stuff goes down, but I don't receive any emails. The only thing in my hobbit-alerts.cfg is this:
HOST=* MAIL me at work.com
What could I be missing?
Brian Thompson EDS - MSO Team (313)-592-7232 Detroit Diesel, Redford MI
On Tue, Mar 13, 2007 at 03:42:45PM -0400, Thompson, Brian wrote:
We've got the monitoring up just fine and the alerts happen when stuff goes down, but I don't receive any emails. The only thing in my hobbit-alerts.cfg is this:
HOST=* MAIL me at work.com
What could I be missing?
This looks fine, but have you checked that your Hobbit server is capable of sending mail at all ?
Try running the command bbcmd hobbitd_alert --test YOURHOSTNAME conn
You should see something like
2007-03-13 22:06:19 *** Match with 'MAIL me at work.com SERVICE=conn *** 2007-03-13 22:06:19 Mail alert with command 'mail -s "Hobbit [12345] myhost:conn CRITICAL (RED)" me at work.com'
That command inside the quotes is the command used to send mail. Check that this works on your system, e.g. your mail configuration might not have a smarthost defined so all mail gets delivered locally.
Regards, Henrik
participants (3)
-
bigdan@gmail.com
-
Brian.Thompson@detroitdiesel.com
-
henrik@hswn.dk