News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Justin Carmony's Blog:
SMS Nagios Notifications with PHP & Twilio
January 31, 2012 @ 12:40:46

In this latest post to his blog Justin Carmony looks at a system he created to hook his Nagios notifications into the Twilio web service and have it notify him via SMS with something was wrong.

In the past I would just use my iPhone's email-to-txt email address. However, when I received the txt message, it wasn't formated very pretty, and it would have a different "From Number." So if we had a crazy day, I would have 20-30 message threads in my iPhone all about Nagios. [...] What I like out this setup is with Twilio, I can buy a phone number for $1 a month. So all my notifications come through the same number.

He's included the PHP code he uses to send the notifications (using the Twillo library) and the Nagios commands he configured to send the notifications to that script via the command line.

0 comments voice your opinion now!
sms nagios tutorial twilio notifications commandline


blog comments powered by Disqus

Similar Posts

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP

Federico Cargnelutti's Blog: Implementing Dynamic Finders and Parsing Method Expressions

SANIsoft Blog: The longer Lithium Blog tutorial using MySQL – Part 1

PHPMac.com: Two New Tutorials (Switch Navigation & A Simple Login)

PHPMaster.com: Data Structures for PHP Devs: Stacks and Queues


Community Events











Don't see your event here?
Let us know!


podcast application unittest facebook hack framework introduction composer hhvm component symfony2 release package language example install opinion security code overview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework