32 bit INT OID issue
-
Hi,
I have installed the v2.0-RC2 NetXMS system and I tried to integrate an SNMP device what uses 32 bit INT OIDs. I carried out the compilation process of corresponding MIB files successfully but in DCI configuration/ Select MIB Object window when I tried to run an SNMP Walk process I found that the 32 bit INT OID components are not displayed properly (with negative sign). Please see the attached screenshot of this MIB Walk Results Window.
-
-
-
Hi,
it's actually a bug in libnxsnmp. I've fixed it in development branch. If you are building from source, you can fix it by changing file src/snmp/libnxsnmp/main.cpp line 34:
from:
size_t numChars = _sntprintf(&buffer[bufPos], bufferSize - bufPos, _T(".%d"), value[i]);to:
size_t numChars = _sntprintf(&buffer[bufPos], bufferSize - bufPos, _T(".%u"), value[i]);Best regards,
Victor -
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