We’re running Nagios 1.3 on a Proliant ML350, RHEL4. Normal service checks work fine, but I’m having some difficulty getting Nagios to display the results of an SNMP plugin I have written in shell script.
The plugin is quite simple, and is currently only checking against the local Nagios server itself. When I execute the plugin from the command line, I get back the required string, which looks something like
“Memory: 643MB Free OK”
However when Nagios executes the plugin, in the display I only get the following;
“Memory: Free OK”
Very strange. Has anyone else come across this problem at all?
I wonder if I made the right decision going with Nagios 1.3 when 2.0 is now available. Would I be better off cutting my losses now and upgrading before my config becomes too complex (as if it isn’t already, lol).