I'm new to Opsview and trying to work out how to monitor my printer consumables. I have been able to get the consumables via "check_snmp -H $HOSTADDRESS$ -C public -o .18.104.22.168.22.214.171.124.126.96.36.199.1"
This returns the following result/status of "SNMP OK - 75" which is correct that the toner is currently 75% full.
The issue that I have is that I am trying to put warnings on the service so I know when they are low, but when I add -w 10 -c 5 to the end of the command the service goes into critical straight away. I assume this is because of the "SNMP OK - " in front of the result.
Is there a way to just get just the figure in the result or is there a better way to do this?