using Twitter for server-monitoring

Tags: , ,

if you think Twitter is all about personal micro-blogging and basically a waste of time, think again. with their recent API-extension, it’s now possible to integrate Twitter as a cost-free SMS gateway into your own applications (like the guys at Tupalo have already done).

of course there are loads of SMS-based monitoring services out there, but the good ones aren’t free, and most aren’t very customizable. my simple demo PHP-script monitors any number of web-servers and alerts me by direct SMS if one of them goes down. just insert you account-credentials and make it a 5min-cronjob. keep in mind that you’ll need two Twitter-accounts for this kind of application, with the sending-account added as a friend to the receiver. otherwise the script can be easily customized and extended for you own needs…have fun!

ps: it might be a good idea to simultaneously run the script on two independent machines on different locations!

Related Posts:

RSS feed | Trackback URI

11 Comments »

See my profile on MyBlogLog.com!
Collapse Comment by Shane
2007-04-15 02:20:15

Dude,

U rock! Way to think outside the box. I’m definitely going to try this puppy out.

Thanks ;)

 
2007-04-15 05:56:36

[...] was surfing dzone and I came across two links regarding site monitoring. The first link was “using Twitter for server-monitoring” and the second link was, in a nutshell, making a PHP poor man’s ping without using Net_Ping. [...]

 
See my profile on MyBlogLog.com!
Collapse Comment by subnet
2007-04-15 10:19:21

@shane: thx! glad you can use it…

 
2007-04-26 17:07:44

[...] When I first heard about twitter, it reminded me of the Dullest Blog in The World, but my spark was following Cole’s line of interest and experimentation. So I quickly talked over some of the growing list of twitter viewing/publishing tools and interesting things people are doing with twitter. Wow, the library in nearby Casa Grande Arizona has rigged a library RSS feed that auto twits. Twittervision is hypnotic and becomes yet anther net-addiction. John Edwards has 2228 friends. Andy Carvins ponders if twitter can save lives? Churches are tweeting while others look at ways to use it to monitor server status. [...]

 
2007-05-09 08:48:32

[...] around the world use it to update each other on their project or the way someone is using twitter to monitor a server or Andy Carvin’s ideas on how twitter might save [...]

 
2007-05-14 09:13:38

[...] iterates on the idea of using Twitter to monitor web-servers. instead using the direct messaging API like my script, I guess MoniTwitter is posting to a [...]

 
2007-07-15 10:42:56

[...] on a little script I wrote few months back (and inspired by a recent server-crash :(  ) I have now put this script [...]

 
See my profile on MyBlogLog.com!
Collapse Comment by subnet
2007-07-16 18:40:07

hi all… check out http://twittermon.com - basically the above script available to everybody as a web-mashup. enjoy!

 
2007-07-21 12:04:05

[...] auf einem kleinen PHP-Skript welches ich vor mehreren Monaten auf meinem english-sprachigen Blog (nonsmokingarea.com) [...]

 
2007-08-14 07:49:43

[...] twitter could be used instead of Vodafone. That would allow more people to set this up. Here is a script for monitoring your server and notifying you via SMS - all for free. It should be easy to customize for MythTV. Let me know if you do [...]

 
See my profile on MyBlogLog.com!
Collapse Comment by Gracie
2008-11-11 22:34:07

Right on track about thinking outside the box, I agree. Trying this out, too, thanks for the heads up!

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.