nagios integration with http sms gateway url

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

nagios integration with http sms gateway url

Post by sdbhabal »

Hi Experts,

I have installed Nagios Core Version 3.3.1 on CentOS release 5.6 (Final).
I have configured nagios to send me email alert notification.
I wanted to configure nagios to send me sms alert notification.
I have http sms gateway api URL.
I dont know how do i integrate them together to send me sms alert notification.
Any help would be appreciated.

Regards
Santosh
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: nagios integration with http sms gateway url

Post by jsmurphy »

Well I would start by looking at how nagios sends email in commands.cfg... basically it will execute a couple of shell commands with some Nagios macros in the definition. Essentially you will need to write a script to parse information to the SMS gateway and then stick in a command definition for it and use the in-built macros to get nagios to provide it with the appropriate information.
aston
Posts: 29
Joined: Fri Nov 18, 2011 9:45 am

Re: nagios integration with http sms gateway url

Post by aston »

another option that i use is Prowl messages the particular setup i have sents messages to an iphone but im sure other apps will be available for android blackberry etc

and best of all the messages are free which is always a bonus while testing :)

check out my post below
http://support.nagios.com/forum/viewtop ... f=7&t=4240

JSmurphy's advice is spot on tho you will need to configure a notification with commands.cfg then with in the default templates.cfg file ammend host_notification_commands to call your new notify command these can be ',' separated.

as a test the command you configure within commands.cfg and be tested from the command line so get the command working first then configure the above

maybe a useless ramble but hopefully it helps
Locked