Is SMS limited to email-to-text only?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
elliotfox
Posts: 6
Joined: Wed Jan 19, 2022 11:19 am

Is SMS limited to email-to-text only?

Post by elliotfox »

So far as I can tell the "official" SMS Texting options provided by Nagios are locked into "email-to-text" only with no other options available?

Since AT&T no longer supports email-to-text we have to use another system and currently we are using ACS (Azure Communication Services) and a phone number it provides. It appears that we'll have to provide our own notification script to use ACS and set that up the "normal" way (like typical email alerts) and bypass the built in SMS / Carrier setup that Nagios XI provides. Does that sound correct? There is no way to integrate a custom script into the Nagios XI SMS Alerts configuration?

Thanks!
kg2857
Posts: 503
Joined: Wed Apr 12, 2023 5:48 pm

Re: Is SMS limited to email-to-text only?

Post by kg2857 »

elliotfox
Posts: 6
Joined: Wed Jan 19, 2022 11:19 am

Re: Is SMS limited to email-to-text only?

Post by elliotfox »

Thanks for the link, I hadn't looked at the available plugins yet. Based off what I see it seems to confirm my question that there is no way to use the Nagios built-in SMS system and you have to go fully custom.

To be more specific, I am asking if there is a way to setup a custom script as a "carrier", that you could set in "Admin > Mobile Carriers". Thus being fully integrated into Nagios users letting them pick and choose what kind of SMS alerts they get. This does not appear to be the case, thus, SMS is limited to email-to-text only, and carriers such as AT&T are now fully excluded as they no longer support email-to-text.
DoubleDoubleA
Posts: 307
Joined: Thu Feb 09, 2017 5:07 pm

Re: Is SMS limited to email-to-text only?

Post by DoubleDoubleA »

There is a Twilio integration https://assets.nagios.com/downloads/nag ... ith_XI.pdf

But is there a no-cost way to send an SMS now that smtp-to-sms is less supported than it was? Likely not.

If not Twilio, there are other services that would gladly accept your/your org's money in return for SMS service.
elliotfox
Posts: 6
Joined: Wed Jan 19, 2022 11:19 am

Re: Is SMS limited to email-to-text only?

Post by elliotfox »

Thanks for the link, but I'm a little confused on the response. I originally said we are using ACS (Azure Communication Services), which is a paid service, and I didn't ask about a no-cost service.

My question was about integrating custom scripts into the existing Nagios configuration for SMS messages, to which the Twilio link is appreciated. So, it looks like Nagios has done at least one service. I'm curious if they'd be willing to open it up more.
DoubleDoubleA
Posts: 307
Joined: Thu Feb 09, 2017 5:07 pm

Re: Is SMS limited to email-to-text only?

Post by DoubleDoubleA »

We could add an integration for ACS similar to the Twilio integration.

Depending on your scripting and Nagios-fu, you could make it work with a script a Nagios command in the CCM.

You should be able to hit the API https://learn.microsoft.com/en-us/rest/ ... &tabs=HTTP . So if you can write a bash/python/whatever script to take Nagios macros as arguments and make that API call, you're in. You write that script, call that script in the Nagios command, and then apply that command to your contacts.

There's a little more detail to it, but if you would like it asap you could pull it off.

I added this to our feature requests "Add SMS notifications through Amazon Communication Services -- similar to Twilio component" issue nagiosxi#2541. If you want to email [email protected] that would be a good way to track progress.
Post Reply