Twitter Server-Monitoring
Jun 16th, 2007 by m.kamleitner
Über einen periodisch aufgerufenen Cron-Job ermöglicht dieses einfache PHP-Skript die Überwachung einer beliebigen Anzahl an Web-Servern. Im Fehlerfall werden SMS-Benachrichtigungen an den Administrator kostenfrei über Twitter versendet.
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!
Download: monitor.tar.gz
,
,
,
)