Question : Nagios - email notifications

Email notification for some of my hosts are not working. I know the smtp setup is fine because my windows hosts I get notified.

I can't even see nagios sending the command to run the mailer if I check /var/log/mail.log
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
define service{
	use			generic-service			; Inherit values from a template
	host_name		<REMOVED>			; The name of the host the service is associated with
	service_description	PING - WAN				; The service description
	check_command		check_ping!200.0,20%!600.0,60%	; The command used to monitor the service
	normal_check_interval	5				; Check the service every 5 minutes under normal conditions
	retry_check_interval	1					; Re-check the service every minute until its final/hard state is determined
	notification_period	24x7
	notification_options w,u,c,r
}


define host{
	use		generic-switch			; Inherit default values from a template
	host_name	<REMOVED>			; The name we're giving to this switch
	alias		<REMOVED>		; A longer name associated with the switch
	address	<REMOVED>	; IP address of the switch
	hostgroups	firewalls				; Host groups this switch is associated with
	notification_options      d,u,r	
}

Answer : Nagios - email notifications

some debugging might help you to trace this issue .....If you send an email directly from a command line to all the users listed on commands.cfg... do they get the e-mail? did you check the the logs Nagios, during the email notification... any abnormal behavior? did you find any relevant ALERT and NOTIFICATION entries in nagios.log show us the notify service definition...[notify-service-by-email]
Random Solutions  
 
programming4us programming4us