<?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, 19 May 2013 10:57:08 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Abhinav Singh's Blog: Get real time system & server load notification on any IM using PHP and XMPP ]]></title>
      <guid>http://www.phpdeveloper.org/news/13834</guid>
      <link>http://www.phpdeveloper.org/news/13834</link>
      <description><![CDATA[<p>
On his blog today <i>Abhinav Singh</i> has <a href="http://abhinavsingh.com/blog/2010/01/get-real-time-system-server-load-notification-on-any-im-using-php-and-xmpp/">an interesting post</a> describing how to use PHP and <a href="http://xmpp.org/">XMPP</a> (the Extensible Messaging and Presence Protocol) to get real-time notifications of the status of your servers and applications via instant messenger.
</p>
<blockquote>
There are several open and closed source softwares in the market which can generate almost real time notifications for you. Most famous one being <a href="http://www.nagios.org/">Nagios</a>. In this blog post I will discuss, how to generate real time system notifications using PHP and <a href="http://xmpp.org/">XMPP</a>. Specifically, I will present sample script using <a href="http://code.google.com/p/jaxl">Jaxl</a> (Jabber XMPP Client Library) for generating real time system load notifications, which can be received using any Instant Messengers.
</blockquote>
<p>
The code for a class that uses and extends the Jaxl library is included. It sends the messages via Jabber after grabbing the contents of the "/proc/loadavg" file on the local system. You'll need to check out the latest Jaxl source and create a configuration file with your IM information, but that's about it. The rest is handled by the script - you can <a href="http://abhinavsingh.com/blog/wp-content/uploads/2010/01/Jaxl4serveradmins.class.php-example-screenshot-for-system-load.png">see an example here</a>.
</p>]]></description>
      <pubDate>Wed, 13 Jan 2010 11:23:15 -0600</pubDate>
    </item>
  </channel>
</rss>
