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

unable to query object #203

Open
mdidomenico4 opened this issue Jul 31, 2024 · 0 comments
Open

unable to query object #203

mdidomenico4 opened this issue Jul 31, 2024 · 0 comments
Labels

Comments

@mdidomenico4
Copy link

EasySNMP release version OR commit number
0.2.6

Operating System and Version
redhat 9.4

Net-SNMP Library Version
5.9.1

Describe the bug
i'm unable to query an object using easysnmp, but i can with snmpget. the device is a raritan PDU

To Reproduce

snmpget -v2c -c public 192.168.1.1 -M +$PWD/mibs/raritan -m ALL -On measurementsOverCurrentProtectorSensorValue.1.18.rmsCurrent
.1.3.6.1.4.1.13742.6.5.3.3.1.4.1.18.1

when i query the same object in easysnmp and dump the variable, i get

<SNMPVariable value="NOSUCHINSTANCE" (oid=.1.3.6.1.4.1.13742.6.5.3.3.1.4.1.18, oid_index=4, snmp_type="NOSUCHINSTANCE")

if i change the 'measurementsOverCurrentProtectorSensorValue.1.18.rmsCurrent' object in my easysnmp query to 'measurementsOverCurrentProtectorSensorValue.1.18.1' it does return a value

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

No branches or pull requests

1 participant