Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OID index in tabular oid result #470

Closed
ThakkarChandresh opened this issue May 16, 2024 · 2 comments
Closed

OID index in tabular oid result #470

ThakkarChandresh opened this issue May 16, 2024 · 2 comments

Comments

@ThakkarChandresh
Copy link

I'm using snmp walk to get the result of the tabular oids, and then map the value according to the result returned by walk,

I'm facing error related mapping the different oid results, like I'm using these oids to get accesspoint details

".1.3.6.1.4.1.14179.2.2.1.1.3": AccessPoint,
".1.3.6.1.4.1.14179.2.2.1.1.19": AccessPointIP,
".1.3.6.1.4.1.14179.2.2.1.1.4": AccessPointLocation,
".1.3.6.1.4.1.14179.2.2.1.1.1": AccessPointMACAddress,

I'm using walk function on all above oids and then want to map the data row wise,

Assuming these oid returns 10 APs so how to identify that which AccessPoint maps with AccessPointIP?

In EasySNMP they return the oid index with each walk result based on which i do the mapping.

So is there any way to map these oid result?

@SuperQ
Copy link
Contributor

SuperQ commented May 16, 2024

Have you looked at the snmp_exporter?

@ThakkarChandresh
Copy link
Author

Yes, but i want to use gosnmp's walk function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants