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
}
Setting up Email Alerts
Re: Setting up Email Alerts
1. What notification commands are you using for the contacts?
2. Could you post a tail of the maillog?
3. Can you send an email with sendmail?
2. Could you post a tail of the maillog?
Code: Select all
tail -25 /var/log/maillogCode: 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.
"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.