News Feed
Sections




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

DevShed:
A Basic Monitoring Engine in PHP
September 14, 2006 @ 13:44:19

Continuing on in their series of working with stand alone PHP scripts, DevShed has posted this third and last part looking at the creation of a basic script you can use to monitor your server (an excerpt from Advances PHP Programming by George Schlossnagle).

Last week, we continued our discussion of PHP standalone scripts with child processes and more. This week, we conclude our discussion and bring together what you've learned.

They start with the creation of a very basic daemon, including permission restrictions. They then modify this heavily to support the monitoring of processes through various parameters like frequency, status_time, and a description of the service. They then create the full example script and show the usage by checking to see if a URL passed in can be opened.

They also include, as a bonus, another more useful script that will email someone when the specified service goes down (still a HTTP check, though).

0 comments voice your opinion now!
part3 standalone script monitoring engine email http request part3 standalone script monitoring engine email http request


blog comments powered by Disqus

Similar Posts

Nick Halstead's Blog: Interviewing programmers 101 - Part 2

Ed Eliot's Blog: Automatic merging and versioning of CSS/JS files with PHP

Henrik Bjørnskov's Blog: Stampie an in depth look

Fabien Potencier's Blog: Twitter and Emails are good; Postcards are better

PHPBuilder.com: Unstoppable Return Receipt Requested Email with PHP


Community Events





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


introduction deployment developer zendserver language framework release tips laravel conference api podcast voicesoftheelephpant interview list series bugfix symfony library community

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