No notifications with passive checks


#1

Hello,

I’ve been running Nagios V1.0 for some time now without any problems. This week I added snmptt to capture some traps and send them over to Nagios.

When a trap is sent, I see it in the web interface. Nagios.log displayed below shows that an email notice should of been sent. All active service notifications are sent and received. Passive services notifications are never received.

[1119972743] SERVICE NOTIFICATION: nagios;netbbed2;TRAP;WARNING;notify-by-email;BED-SP2-B3 Humidity Value Too High Value:52 %

Here is how I have the service configured.

define service{
host_name netbbed1
service_description TRAP
is_volatile 1
check_command check-host-alive
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
passive_checks_enabled 1
check_period none
notification_interval 31536000
notification_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contact_groups network-admins
}

Any help would be appreciated.

Thanks
~Paul


#2

You have to enable notifications for each and every service that you want to get notifications for, by using the website links "Enable notifications for this service"
Look at the docs for the reason that you have to do this.
nagios.sourceforge.net/docs/1_0/ … tion_notes