SNMP, Counter64, value, ...
-
Hi,
Any suggestions on how to query 64bit counters with netxms ?
NETXMS version: 0.2.19 (x86_32, Windows 2003 SE) in: nxsnmpwalk -c public -v 2c x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33 out: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 [46]: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 [46]: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 [46]: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 [46]: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 [46]: NET-SNMP version: 5.3.1 (x86_64, GNU/Linux) in: snmpwalk -v2c -O nT -c public x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33 out: .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 = Counter64: 0 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 = Counter64: 143130624 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 = Counter64: 17891328 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 = Counter64: 357957632 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 = Counter64: 88080384thank you,
Ales
-
Hello!
I have found a bug (it seems like that). Unfortunatelly, I don't have any device with COUNTER64 variables available, so I cannot test the solution. You can replace your libnxsnmp.dll with attached one - this should solve the problem. Also, if anybody will need to rebuild libnxsnmp from source, there are also patched variable.cpp file.
Best regards,
Victor
-
Hi,
Verified patch. Working.
nxsnmpwalk -c public -v 2c x.x.x.x .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.1 [46]: 0 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.2 [46]: 143130624 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.3 [46]: 17891328 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.4 [46]: 357957632 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33.5 [46]: 88080384Thank you very much,
Ales
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login