I’m attempting to write an IP address data object to the managed table with root OID 18.104.22.168.22.214.171.124.1. I can write the IP address to 126.96.36.199.188.8.131.52.1.1.1, but from looking at SNMP managers, the OID hierarchy includes the IP address itself. In other words, if I want to write IP address “10.110.4.134”, I would want to write to OID 184.108.40.206.220.127.116.11.18.104.22.168.4.134. I don’t understand how to append the IP address to the root OID so the data is written correctly, or how to setup the table column/row structure if that is required. Right now, if I attempt to append the IP address to the root OID and then walk the OID hierarchy, the table entry doesn’t exist.
Does anyone have an example of how to do this? Basically I need to write the IP address entry so that when walking the OID hierarchy, the output from the SNMP manager would look like this (sample log output from walk of SNMP manager:
Walking OID .22.214.171.124.126.96.36.199.1 from 10.110.4.134:161 for version v2c with community=public pdu.timeout=5s walk.timeout=5s
C:\Program Files\LogicMonitor\Agent\diagnosetool\snmpbulkwalk.exe -v 2c -c ****** -r 0 -t 5 10.110.4.134 .188.8.131.52.184.108.40.206.1
.220.127.116.11.18.104.22.168.22.214.171.124.4.134 = IpAddress: 10.110.4.134