Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
when the return code is always different? The plugin itself only returns the nagios-approved values of 0,1,2 or 3. And most of the time it has valid output, but the random outputs are happening often enough to be annoying.
This is the different return codes we've gotten in the past week:
214
191
143
215
124
221
135
110
I just wanted to post my 2 thoughts about this, they're not entirely helpful though ...
I've often wondered why Nagios doesn't return the corresponding result that came with the unexpected return code. It would make troubleshooting so much easier. You think I should make a feature request for this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
I've always found the "return code ..." error to be unhelpful, so anything that provides more info would be a good idea.
The plugin I'm writing about is a custom plugin, but not one I wrote so I'm not very familiar with what it's doing. I'll need to find out if I can post it.
The plugin I'm writing about is a custom plugin, but not one I wrote so I'm not very familiar with what it's doing. I'll need to find out if I can post it.
Posting the plugin should help. We can test it in-house and suggest a possible solution/workaround.
Be sure to check out our Knowledgebase for helpful articles and solutions!