Snmp monitoring for enterprise tree

CMK version: 2.4.0p12
OS version: Debian Bookworm

Hi,

I am trying to monitor an enterprise sub-tree 1.3.6.1.4.1 with 23 objects. The snmp monitoring provides a few results of the MIB‑2 tree only 1.3.6.1.2.1, which can be extended to include more results, but it doesn’t provide the enterprise sub-tree.

The following snmpwalk command provides the needed results:
snmpwalk -v3 -l authPriv -u checkmk -a SHA -A 'secret' -x AES -X 'secret' $IP 1.3.6.1.4.1
as well as using cmk -v --snmpwalk $HOSTNAME shows that both trees are being walked through:

$HOSTNAME
Walk on ".1.3.6.1.2.1"...
624 variables.
Walk on ".1.3.6.1.4.1"...
23 variables.

but unfortunately only objects from the MIB-2 tree 1.3.6.1.2.1 are being monitored.
Is it possible to monitor the enterprise sub-tree 1.3.6.1.4.1 and how to?

Thanks

CheckMK works with specialized Checks for hundreds if not thousands of devices. Most of the checks have a scan function to check if the device scanned is within its range of known devices. They mostly use a string compare with sysDescr or a list of device OIDs compared with sysObjectID.
So the question is: What device are trying to check?

1 Like

Hi Udo,

I am trying to check a humidity sensor MONIGEAR by GuangZhou Wangkong Ltd.
For now I used a python wrapper for check_snmp to check the 2 OIDs objects for humidity and temperature.

Best