Alerts not working at all
list Brian Thompson
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 user-232907531bb9@xymon.invalid What could I be missing? Brian Thompson EDS - MSO Team (XXX)-XXX-XXXX Detroit Diesel, Redford MI
list Dan Vande More
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 <user-1664ec030a9d@xymon.invalid> 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 user-232907531bb9@xymon.invalid
What could I be missing?
Brian Thompson
EDS - MSO Team
(XXX)-XXX-XXXX
Detroit Diesel, Redford MI
list Henrik Størner
▸
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 user-232907531bb9@xymon.invalid 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 user-232907531bb9@xymon.invalid SERVICE=conn *** 2007-03-13 22:06:19 Mail alert with command 'mail -s "Hobbit [12345] myhost:conn CRITICAL (RED)" user-232907531bb9@xymon.invalid' 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