In my specific case however the number was written as “60 PERCENT” if you look at my original post. This isn’t a number, it’s a string. I tweaked his plugin a little bit. I had to change the following:
To the following:
oid, v, r = res.stdout.strip().split()
v = v.replace('"','')
The result (with some other services added with @rsander’s check_snmp plugin):