Random Project

Parsing of snmpwalk output

Hello. Thanks for the plugin.

I found a difference in the processing of the output of snmpwalk:

# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 3

Therefore, I had to change it to:

# snmpwalk a.b.c.d -v2c -c community .1.3.6.1.2.1.25.1.5.0 | cut -d “:” -f4 | cut -d ” ” -f2
3

Best regards,
Daniel