Page 2 of 2

Re: notification-problem

Posted: Wed Nov 23, 2016 4:55 am
by bashar.abed
Hi,

please the result for Tareq contact :-

define contact {
contact_name tareq.hussein
alias Tareq Hussein
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period tareq.hussein_notification_times
service_notification_period tareq.hussein_notification_times
host_notification_options d,r,f,s,
service_notification_options w,c,r,f,s,
email [email protected]
pager 00972599xxxxx
use xi_contact_generic
}

Re: notification-problem

Posted: Wed Nov 23, 2016 10:21 am
by tgriep
All of the settings do look like they should work. It could of been a temporary issue with the cell phone provider not routing the SMS message.
You can look in the /var/log/maillog file on the XI server at the time the SMS message was supposed to be sent and see if the server did send it or if there were any errors.

Re: notification-problem

Posted: Wed Nov 23, 2016 12:11 pm
by bashar.abed
Hi,
When the service sent notification ,I opened the view notfiction immediately I found send email and
SMS , the email arrived the employee but the SMS can not arrived the employee

Thanks

Re: notification-problem

Posted: Wed Nov 23, 2016 1:39 pm
by tgriep
When the server is setup to use sendmail for emails, it tries to send the email directly to the servers on the internet and those servers will not accept emails from an unregistered server. (Your Nagios server)
If you have access to a corporate SMTP server, you should setup the server to use that instead by going to the Admin > Manage Email Settings menu.
Take a look in the /var/log/messages file and you should see that the email was rejected.