Parse check_snmp output

Hello

If I receive an integer such as 300 and I need to parse it to 30.0. How could I do it?

You can pipe the output to sed.

For example if you want to add . after second character, then:
output | sed ‘s/./&./2’

Think it would be easiest to write your own script that would do snmp query, pipe the output to sed and give the appropriate exit code