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.
Should have mentioned I tried that already. It throws an "Invalid warning threshold " message and then quits. It seems like warning and critical thresholds need to be integers and if you specify them the results get converted.
I looked up the OIDs you're using, and they appear to be returning STRING values, not numbers. So you will probably have to write a wrapper script around check_snmp to interpret the values and exit with the proper status for nagios. The check_snmp plugin alone is not going to cut it for this.
even with numbers it still converts them to an integer and the warn and critical values will not take anything but an integer. So, it looks like the plugin is limited to integers and I'll have to do some thing external if I want to preserve the resolution.