Page 1 of 1

Setup Nagios XI to Send SMS Alerts

Posted: Fri Sep 09, 2016 2:04 am
by gselvakumar
Hi Team,

I want to setup Nagios XI to Send SMS Alerts.I had used the doument mentioned and followed all the steps, but still I am not receiving any text messages.The number is US number and my service provider is already mentioned in Manage carrier.
Please let know any setting I need to do apart from the mentioned in the document .Please help.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Setup Nagios XI to Send SMS Alerts

Posted: Fri Sep 09, 2016 9:37 am
by rkennedy
When you look under Home -> Notifications, does it show it as sent?

Navigate to Home -> Click the username you're logged in as -> Select 'Notification Methods' -> Is the box checked for Receive text alerts?

Now, from that same page, click Notification Preferences - please show us a screenshot of this page.

Now, navigate to Admin -> Manage Email Settings -> Attach a screenshot of this page as well. In the past I've seen sendmail bounce so this should help clarify.

Re: Setup Nagios XI to Send SMS Alerts

Posted: Mon Sep 12, 2016 8:15 am
by gselvakumar
When you look under Home -> Notifications, does it show it as sent?
Yes,I can see alert being sent to the user (but not specifically mentioning email/SMS) in Notification
Navigate to Home -> Click the username you're logged in as -> Select 'Notification Methods' -> Is the box checked for Receive text alerts
Please see the Notification_Method attachment.
navigate to Admin -> Manage Email Settings -> Attach a screenshot of this page as well. In the past I've seen sendmail bounce so this should help clarify.
Please see the Manage_Email_Settings attachment.

Re: Setup Nagios XI to Send SMS Alerts

Posted: Mon Sep 12, 2016 4:27 pm
by tgriep
You should go to the Admin > Manage Email settings menu and put in a valid email address in the send mail from field as that could cause the issue.

Also, can you check the following log file, /var/log/maillog during the time the notification was sent to see if there are and errors that could help troubleshoot this?
Post them here if you need help.

Re: Setup Nagios XI to Send SMS Alerts

Posted: Wed Oct 19, 2016 7:25 am
by gselvakumar
Still facing the issue.

Please find the /var/log/maillog

Code: Select all

Oct 19 07:12:45 lussvpnagiosdb01 postfix/smtp[14470]: 8107E10551A: to=<713422326                                             [email protected]>, relay=none, delay=0.6, delays=0.04/0.01/0.54/0, dsn=                                             4.4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]:                                             25: Connection refused)
Oct 19 07:12:45 lussvpnagiosdb01 postfix/smtp[14470]: 8107E10551A: to=<713422326                                             [email protected]>, relay=none, delay=0.6, delays=0.04/0.01/0.54/0, dsn=                                             4.4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]:                                             25: Connection refused)
Oct 19 07:14:38 lussvpnagiosdb01 postfix/smtp[16013]: 404D81076C3: to=<713422326                                             [email protected]>, relay=none, delay=0.19, delays=0.05/0.01/0.12/0, dsn                                             =4.4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]                                             :25: Connection refused)
Oct 19 07:14:38 lussvpnagiosdb01 postfix/smtp[16013]: 404D81076C3: to=<713422326                                             [email protected]>, relay=none, delay=0.19, delays=0.05/0.01/0.12/0, dsn                                             =4.4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]                                             :25: Connection refused)
Oct 19 07:19:23 lussvpnagiosdb01 postfix/smtp[20829]: 8107E10551A: to=<713422326                                             [email protected]>, relay=none, delay=399, delays=399/0.03/0.06/0, dsn=4                                             .4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]:2                                             5: Connection refused)
Oct 19 07:19:23 lussvpnagiosdb01 postfix/smtp[20829]: 8107E10551A: to=<713422326                                             [email protected]>, relay=none, delay=399, delays=399/0.03/0.06/0, dsn=4                                             .4.1, status=deferred (connect to spmail-sms-gw-nj.cloudmark.com[75.98.40.121]:2                                             5: Connection refused)


Re: Setup Nagios XI to Send SMS Alerts

Posted: Wed Oct 19, 2016 12:43 pm
by tgriep
The email server called spmail-sms-gw-nj.cloudmark.com is rejecting the emails from the Nagios server and that is why they are not being sent.
You will have to contact the email administrator of that server to allow your Nagios server to relay through it or if you have access to another email relay server, use that server as the SMTP server in the Admin >Manage Email Settings menu in the XI GUI.
Once that is fixed, the SMS alerts should get sent out.