Hi, I was trying to snmpwalk an arbitrary OID against the Index value.
Index Outputs are the IP addresses as given below:
Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.4.21.1.1' Index Count: 30
+ Index found at OID: 'ipRouteDest.0.0.0.0' value: '0.0.0.0'
+ Index found at OID: 'ipRouteDest.127.0.0.0' value: '127.0.0.0'
+ Index found at OID: 'ipRouteDest.127.0.0.1' value: '127.0.0.1'
+ Index found at OID: 'ipRouteDest.127.255.255.255' value: '127.255.255.255'
+ Index found at OID: 'ipRouteDest.192.168.9.0' value: '192.168.9.0'
+ Index found at OID: 'ipRouteDest.192.168.9.67' value: '192.168.9.67'
+ Index found at OID: 'ipRouteDest.192.168.9.72' value: '192.168.9.72'
+ Index found at OID: 'ipRouteDest.192.168.9.255' value: '192.168.9.255'
+ Index found at OID: 'ipRouteDest.224.0.0.0' value: '224.0.0.0'
+ Index found at OID: 'ipRouteDest.255.255.255.255' value: '255.255.255.255'
Now, these IP Addresses to be SNMP walked for an given OID. How to do that.
I am trying to do this using SNMP XML query, but no results. Please help.
SNMPWALK an arbitrary OID against Index Values
Moderators: Developers, Moderators
Re: SNMPWALK an arbitrary OID against Index Values
Is there any way to snmpwalk an non-indexed OID on the values received from index.
Re: SNMPWALK an arbitrary OID against Index Values
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SNMPWALK an arbitrary OID against Index Values
Hi, That was informative. But that's not helping me, or may be i am not getting it.
Really appreciate your help.
As in my first post, i mentioned the indexed oid returns the IP addresses. now, i want to snmpwalk (for each of those IPs) an OID which is non-indexed, or you may say only run with with index as '0'.
So i am able to get the IP values from the Index OID, but unable to walk that OID for each of IP addresses. How to do that.
I've gone through many of docs, but no clue.
Thank you.
Really appreciate your help.
As in my first post, i mentioned the indexed oid returns the IP addresses. now, i want to snmpwalk (for each of those IPs) an OID which is non-indexed, or you may say only run with with index as '0'.
So i am able to get the IP values from the Index OID, but unable to walk that OID for each of IP addresses. How to do that.
I've gone through many of docs, but no clue.
Thank you.
Re: SNMPWALK an arbitrary OID against Index Values
Ah, the index IS the IP. That'll require a different Regex to parse it off instead of 'fakig' the .0 as done in the linked example. There is a great example for the snmp interface template (in cacti\snmp\interface.xml) which does exactly that.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 7 guests