Setup Nagios XI to Send SMS Alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Setup Nagios XI to Send SMS Alerts

Post 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
Thanks & Regards,
Gomathyshankar Selvakumar
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Setup Nagios XI to Send SMS Alerts

Post 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.
Former Nagios Employee
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Re: Setup Nagios XI to Send SMS Alerts

Post 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.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
Gomathyshankar Selvakumar
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Setup Nagios XI to Send SMS Alerts

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Re: Setup Nagios XI to Send SMS Alerts

Post 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)

Thanks & Regards,
Gomathyshankar Selvakumar
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Setup Nagios XI to Send SMS Alerts

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked