Page 1 of 1

Nagios Log server - Twilio integration

Posted: Mon Jul 26, 2021 11:23 pm
by Techmnagioslsuser
Hello Team,

We are looking to integrate our production NagiosLS with Twilio for SMS generation. Do we have any documentation or any procedures to follow to achieve the same .. Please advice.

Thanks

Re: Nagios Log server - Twilio integration

Posted: Tue Jul 27, 2021 12:30 pm
by ssax
There isn't currently any Nagios Log Server to Twilio integration but you could setup your Alerts to use Execute Script Alert Method and use something like this:

https://www.twilio.com/labs/bash/sms

Please note that the Execute Script functionality will only provide access to this information at this time:

Code: Select all

%count% - The total # of events
%status% - The status (ok, warning, critical)
%output% - The output from the alert
%lastrun% - The timestamp of the last run