2009/4/13 Waynn Lue <waynn...@gmail.com>:
> Hey guys,
> I'm looking to write a nagios plugin that essentially monitors whether or
> not a database query returns a value > 0 at any given point.  I was hoping
> to write this in PHP, but I haven't found too many examples of Nagios
> plugins in PHP (
> http://www.barryodonovan.com/index.php/2007/11/02/asterisk-pri-nagios is the
> best one I've found so far).  Just wondering if anyone has any experience
> writing them?
> Waynn

I'm not a nagios expert but as far as I know a plugin can be anything
executable that returns the necessary values. So basically you could
just write a php script and make it executable with


write the script here

You can find more information how to use the php cli here:


And here you can find the needed return values:


I hope this helps!

Currently developing a browsergame...
Trade - Expand - Fight

Follow me on twitter!

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to