check_snmp underline
Posted: Tue Dec 30, 2014 8:31 am
Is there way to use check_snmp plugin with OIDs, that contanes underline in the names??
When I run that command I recieve the error:
There is optin "u" in snmpget utility, that allows underlines:
But I can't set this option in the check_snmp plugin
When I run that command I recieve the error:
Code: Select all
#./check_snmp -H 10.14.222.80 -C public -m DATAKOM-MIB -o "Engine_Temperature"
External command error: Bad operator (_): At line 17 in /usr/local/share/snmp/mibs/500-snmp_E_34076_D500_20121225.mib
Engine_Temperature: Unknown Object Identifier (Sub-id not found: (top) -> Engine_Temperature)Code: Select all
#snmpget -v 1 -c BNBsnmpNag -m DATAKOM-MIB -P u 10.14.222.80 Engine_Temperature
DATAKOM-MIB::Engine_Temperature = INTEGER: 274But I can't set this option in the check_snmp plugin