Friends,
I am using Nagios-4.0.1 Core for monitoring Network Infrastructure i.e. Routers & Switches as well as link monitoring.
Addition to this , i have configured Email Notifications for my internal team by using sendEmail-v1.56.tar.gz
Now i want to configure Hostwise email alerts i.e. If HOST A is having problem , Email Notifications will go to abc@yahoo.com & if HOST B is having problem , Email notifications will go to xyz@yahoo.com
How can i configure hostwise email notifications ?
Regds,
Vijay
Email Notifications-Nagios Core-4.0.1
Re: Email Notifications-Nagios Core-4.0.1
Have you set up contacts for those email addresses? You will need to do so and then set those contacts in the host configurations.
http://www.thegeekstuff.com/2009/06/4-s ... ification/
Make sure to edit the appropriate files depending on your distribution.
http://www.thegeekstuff.com/2009/06/4-s ... ification/
Make sure to edit the appropriate files depending on your distribution.
Former Nagios employee
-
- Posts: 6
- Joined: Fri Sep 05, 2014 12:52 am
Re: Email Notifications-Nagios Core-4.0.1
Thanks for the reply.
i have implemented configuration mentioned in below mail.
But am little bit confused as in have configured
define command{
command_name notify-host-by-email
command_line /usr/local/bin/sendEmail -s 192.168.0.127 -t xyz@yahoo.com,abc@yahoo.com , -xp $USER6$ -l /var/log/sendEmail -u "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -m "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYP$
}
When i have tried to generate force alert only nagiosadmin is visible in GUI.
Please help....
i have implemented configuration mentioned in below mail.
But am little bit confused as in have configured
define command{
command_name notify-host-by-email
command_line /usr/local/bin/sendEmail -s 192.168.0.127 -t xyz@yahoo.com,abc@yahoo.com , -xp $USER6$ -l /var/log/sendEmail -u "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" -m "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYP$
}
When i have tried to generate force alert only nagiosadmin is visible in GUI.
Please help....
Re: Email Notifications-Nagios Core-4.0.1
Could you clarify? Are you implying that you only see the notification sent for nagiosadmin? Or something else?vijaydonde wrote:When i have tried to generate force alert only nagiosadmin is visible in GUI.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.