No notifications
Posted: Tue Sep 04, 2012 9:08 am
I am new to Nagios but I'm unable to get even basic notifications to work
I have setup a basic log monitor using check_logfiles. It works successfully and when a line that matches is logged the service goes into alert. When the service is re-checked 1 minute later it goes out of alert. The alert log clearly shows the service went into and out of alert.
However no notifications are sent. I have the service set to send notifications with a delay of 0. The notifications go to a contact called nagios as well as the admins group which contains the contact nagios. The notification timeframes are all the built-in 24x7. The notification command I am executing is a simple command that echos a line of text into a text file in /tmp.
If I manually trigger the notification it works. However it never seems to get triggered when the service actually goes into alert.
Is there any way I can enable some level of debug to understand the processing logic when it gets an alert and decides whether to send a notification.
I've attached my nagios config file and all the config files in my objects directory. I'd greatly appreciate any help on this as I'm quite puzzled.
Many thanks,
Tim
I have setup a basic log monitor using check_logfiles. It works successfully and when a line that matches is logged the service goes into alert. When the service is re-checked 1 minute later it goes out of alert. The alert log clearly shows the service went into and out of alert.
However no notifications are sent. I have the service set to send notifications with a delay of 0. The notifications go to a contact called nagios as well as the admins group which contains the contact nagios. The notification timeframes are all the built-in 24x7. The notification command I am executing is a simple command that echos a line of text into a text file in /tmp.
If I manually trigger the notification it works. However it never seems to get triggered when the service actually goes into alert.
Is there any way I can enable some level of debug to understand the processing logic when it gets an alert and decides whether to send a notification.
I've attached my nagios config file and all the config files in my objects directory. I'd greatly appreciate any help on this as I'm quite puzzled.
Many thanks,
Tim