Setting up Email Alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pireland
Posts: 16
Joined: Wed Jan 08, 2014 3:33 pm

Setting up Email Alerts

Post by pireland »

I am unable to get any of my hosts or services send email notifications when in critical state.

I am trying to use contact not local users.

efine service {
host_name xxxxxxxxxxxx
service_description Drive J: Disk Usage
use xiwizard_windowsserver_nsclient_service
check_command check_xi_service_nsclient!!USEDDISKSPACE!-l J -w 80 -c 95
max_check_attempts 1
check_interval 2
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 5
notification_period xi_timeperiod_24x7
contacts Phil Ireland
_xiwizard windowsserver
register 1
}
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Setting up Email Alerts

Post by abrist »

1. What notification commands are you using for the contacts?
2. Could you post a tail of the maillog?

Code: Select all

tail -25 /var/log/maillog
3. Can you send an email with sendmail?

Code: Select all

echo "Subject: Testing" | /usr/lib/sendmail -t <your email address>
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.
Locked