Hi All,
I am working on nagios to monitor my 4 remote servers (ubuntu servers). I have configured services and everything seems to be working fine except Notifications.
Nagios does not send any notification when state changes of any services though I have tried all options like notifications_enabled = 1 and all notificaiton related commands.
I can send the custom notification for a particular service from GUI so mail configurations are ok.
I am not able to get the root cause.
Can somebody please help me ?
Nagios automatic notifications not working
Re: Nagios automatic notifications not working
Hi Mayur,
Have you checked to see if the file: /usr/local/nagios/etc/objects/templates.cfg
contains the following:
also, have you defined a generic-contact?
Have you checked to see if the file: /usr/local/nagios/etc/objects/templates.cfg
contains the following:
Code: Select all
define contact{
name generic-contact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
register 0
}
- inventsekar
- Posts: 37
- Joined: Fri Jul 20, 2012 11:29 am
Re: Nagios automatic notifications not working
Hi Mayur,
Did you install Nagios Core as per the quickstart install guide??
Did you install Nagios Core as per the quickstart install guide??