Notifications not being sent
Posted: Thu Feb 27, 2014 4:52 pm
I have a configuration that's been working for months, and sending me email. I attempted to add a second contact that sends me an SMS through an email gateway. I am not receiving them, and the Nagios log shows they're not being sent out.
I'm using the latest version of XI.
Contact definition
define contact {
contact_name elliot-page
alias Elliot
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,n,
service_notification_options w,u,c,r,f,s,n,
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email [email protected]
use xi_contact_generic
}
Host definition:
define host {
host_name aix61_test
use xiwizard_linuxserver_host
address XXX.XXX.XXX.XXX
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts elliot-page,nagiosadmin
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
icon_image aix.png
statusmap_image aix.png
_xiwizard sshproxy
register 1
}
Extract from the Nagios log:
[1393535742] SERVICE FLAPPING ALERT: aix61_test;Errpt log;STOPPED; Service appears to have stopped flapping (3.8% change < 5.0% threshold)
[1393535742] SERVICE NOTIFICATION: nagiosadmin;aix61_test;Errpt log;FLAPPINGSTOP (OK);xi_service_notification_handler;ERRPT OK: last check 15:04 Feb 27 2014.
Any ideas?
I'm using the latest version of XI.
Contact definition
define contact {
contact_name elliot-page
alias Elliot
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,r,f,s,n,
service_notification_options w,u,c,r,f,s,n,
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email [email protected]
use xi_contact_generic
}
Host definition:
define host {
host_name aix61_test
use xiwizard_linuxserver_host
address XXX.XXX.XXX.XXX
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts elliot-page,nagiosadmin
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
icon_image aix.png
statusmap_image aix.png
_xiwizard sshproxy
register 1
}
Extract from the Nagios log:
[1393535742] SERVICE FLAPPING ALERT: aix61_test;Errpt log;STOPPED; Service appears to have stopped flapping (3.8% change < 5.0% threshold)
[1393535742] SERVICE NOTIFICATION: nagiosadmin;aix61_test;Errpt log;FLAPPINGSTOP (OK);xi_service_notification_handler;ERRPT OK: last check 15:04 Feb 27 2014.
Any ideas?