SNMP without .1.3.6.1.2.1

As a reference.

Then, I used @rsander’s check_snmp_plugin plugin:

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):

image

Hopefully that can help.

1 Like