CMK version: 2.0.0p25 (CEE)
OS version: Ubuntu 18.04.4 LTS
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.22.214.171.124.4.1.41126.96.36.199.1.9
Can anyone clarify where custom mib files are stored or can be uploaded to in CheckMK so they can be read when querying from check_snmp?
check_snmp -H 10.111.111.11 -P 1 -o iso.188.8.131.52.4.1.41184.108.40.206.1.9 -C public
This has nothing to do with the MIB file.
Your command is incorrect.
Try removing “iso” from “iso.220.127.116.11.4.1.4118.104.22.168.1.9” . If that still doesn’t work then this OID doesn’t exist on your device.
i assume that it is not a missing mib that causes the error.
Seems more like the oid or oid notation is wrong, or maybe the authentication failed and the check can´t read the oid.
Can you check with snmpget first to see if you can read the oid, maybe with the full numerical value ?
snmpget -v2c -c <Community-String> <IP-address> oid
Thank you both for your help and clarification on where I was going wrong.
I’ve ran an snmpwalk to confirm the oid and it does indeed look like I was missing a digit from the end. Silly mistake.
With the correct value and removing “oid” from the command the snmpget returns a valid value.
snmpget -v2c -c public 10.11.111.111 .22.214.171.124.4.1.41126.96.36.199.1.9.1
iso.188.8.131.52.1.41184.108.40.206.1.9.1 = INTEGER: 20