Search found 6 matches

by MaxHeadroom
Tue Jun 30, 2015 2:03 pm
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Re: Need help with a new plugin

Thanks for the information.

The plugins appear to implement a polling pattern (I.e., check_temp, check_snmp, check_uptime.) How do I handle a status that is pushed to me?
by MaxHeadroom
Tue Jun 30, 2015 10:14 am
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Re: Need help with a new plugin

tmcdonald wrote:The exit code of 0 through 3 determines the OK, WARNING, CRITICAL, or UNKNOWN status
When you say "Exit code", you don't actually mean the plugin exits, do you?
by MaxHeadroom
Tue Jun 30, 2015 10:10 am
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Re: Need help with a new plugin

coding the threshold inside the plugin doesn't seem like a good architecture We agree: There are a few reserved options that should not be used for other purposes: -V version (--version) -h help (--help) -t timeout (--timeout) -w warning threshold (--warning) -c critical threshold (--critical) -H h...
by MaxHeadroom
Tue Jun 30, 2015 9:46 am
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Re: Need help with a new plugin

In addition to what tmcdonald posted: From http://nagios.sourceforge.net/docs/3_0/pluginapi.html : Plugin Output Spec At a minimum, plugins should return at least one of text output. Beginning with Nagios 3, plugins can optionally return multiple lines of output. Plugins may also return optional pe...
by MaxHeadroom
Tue Jun 30, 2015 9:32 am
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Re: Need help with a new plugin

The exit code of 0 through 3 determines the OK, WARNING, CRITICAL, or UNKNOWN status. You can also pass back textual information, and information that will be used to graph (performance data): https://nagios-plugins.org/doc/guidelines.html Thanks. Graphing is something that I am interested in. Can ...
by MaxHeadroom
Tue Jun 30, 2015 6:47 am
Forum: Open Source Nagios Projects
Topic: Need help with a new plugin
Replies: 12
Views: 3030

Need help with a new plugin

I have a system that implements a messaging middleware. I want to build a plugin for Nagios to capture status messages being sent across this middleware. The status messages can be very robust and include many parameters (E.g., State, mode, status, uptime, software revs, hardware info, installation ...