<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 07 Sep 2008 09:36:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: A Basic Monitoring Engine in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6275</guid>
      <link>http://www.phpdeveloper.org/news/6275</link>
      <description><![CDATA[<p>
Continuing on in their series of working with stand alone PHP scripts, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/A-Basic-Monitoring-Engine-in-PHP/">this third and last part</a> looking at the creation of a basic script you can use to monitor your server (an excerpt from <a href="http://www.amazon.com/Advanced-PHP-Programming-George-Schlossnagle/dp/0672325616/">Advances PHP Programming</a> by <i>George Schlossnagle</i>).
</p>
<blockquote>
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.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/A-Basic-Monitoring-Engine-in-PHP/">start</a> 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.
</p>
<p>
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).
</p>]]></description>
      <pubDate>Thu, 14 Sep 2006 13:44:19 -0500</pubDate>
    </item>
  </channel>
</rss>
