[Nagiosplug-help] writing a command
lists at xodus.org
Wed Aug 4 14:19:23 CEST 2010
On Aug 3, 2010, at 10:25 AM, Ethan Yandow wrote:
> Hey there, I have recently installed nagios and I am trying to figure out how to write a command to check a printer that isn't and hp, its a xerox phaser. I was wondering if you could just send a few examples my way, that would be all I need :) also, is there a way to monitor a shared printer on a windows machine? If so, some examples of that would be great as well!!! thank you very much!!
There are thousands of examples of how to write plugins for many things at http://exchange.nagios.org.
There are also written guidelines here -- http://nagiosplug.sourceforge.net/developer-guidelines.html. It's intended as a guide for eventual inclusion in the plugin distribution but includes specific information you need such as exit code, output guidelines and how to return performance data if you want to.
More information about the Help