check_snmp decimal floating point


Hi all,

I’m trying to make an alert on nagios for capacity of my batteries in the field. I wrote the command like below:
command_line /usr/local/nagios/libexec/check_snmp -H $HOSTADDRESS$ -C public -v 1 -o -l Voltage -c 11:10 -u Volts

and the monitoring device is giving me the decimal floating number like below:

iso. = STRING: “13.5”

Voltage OK - 13 Volts | iso.

my question is how can I write a critical range using decimal floating point, to be more accurate. Or if could somebody tell me where in the check_snmp.c script I could change the output to be multiplied be 10, in order for me to get the value 135 instead of 13.5?