NLS alert via SMS ( text message )

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

NLS alert via SMS ( text message )

Post by Mitchell »

Hey ,

we have a requirement to send the nagios log server alert as SMS ( text messages ) to respective person cell number , is there any option to do that in NLS , please can you suggest how we can do this

Thanks,
Ramesh
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS alert via SMS ( text message )

Post by cdienger »

You can use these email to text addresses:

Alltel - %number%@message.alltel.com
AT&T - %number%@txt.att.net
Cingular - %number%@cingularme.com
Metro PCS - %number%@mymetropcs.com
Nextel - %number%@messaging.nextel.com
Powertel - %number%@ptel.net
Sprint - %number%@messaging.sprintpcs.com
SunCom - %number%@tms.suncom.com
T-Mobile - %number%@tmomail.net
US Cellular - %number%@email.uscc.net
Verizon - %number%@vtext.com
Virgin Mobile - %number%@vmobl.com

where %number% is the phone number of the recipient.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: NLS alert via SMS ( text message )

Post by Mitchell »

where do we need to define these addresses ? under User management ?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS alert via SMS ( text message )

Post by cdienger »

Correct. And if you're not using a SMTP server already, you'll want to change your mail settings to use one under Administration > General > Mail Settings.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: NLS alert via SMS ( text message )

Post by Mitchell »

Thanks, but this mechanism depends on mail server being up , what is the solution for not depending on mail server in other words if our mail server goes down and some services are critical in NLS we should get SMS alert

is there anyway to configure SMS alert separately not depending on SMTP server ?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: NLS alert via SMS ( text message )

Post by mcapra »

You could use a 3rd party script to send the text message rather than leveraging the native email notifications. The Alerts you configure should have multiple methods for response mechanisms; It doesn't have to be email exclusively. This documentation covers your options for how Nagios Log Server responds to alerts:
https://assets.nagios.com/downloads/nag ... Server.pdf

If it were me, I'd set up a Twilio account or some sort of SMS modem to be responsible for notifications. Then everything isn't reliant on your mail server functioning. I don't think you'll find documentation specific to Nagios Log Server for setting that up, though. You'd likely need to write the script yourself.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NLS alert via SMS ( text message )

Post by dwhitfield »

Thanks @mcapra!
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: NLS alert via SMS ( text message )

Post by Mitchell »

Thanks foe the info @mcapra
do we have any sample 3rd party script to send the text message for nagios log server ?
this method ( execute script ) to send the text message doesn't rely on mail server ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NLS alert via SMS ( text message )

Post by dwhitfield »

The script itself is not what bypasses email, this is:
mcapra wrote: If it were me, I'd set up a Twilio account or some sort of SMS modem to be responsible for notifications. Then everything isn't reliant on your mail server functioning.
I do not believe we have a script. User contributions usually go on http://exchange.nagios.com
Locked