Click here to Skip to main content
13,090,678 members (44,527 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I want to use the SNMP in my QT application to get MIB data (Management information base) from neighbour devices.

But I don't know any library available in QT for this purpose. Can anyone please help me by providing a sample example of SNMP in QT to send and receive MIB data.

Thanks in advance.

Posted 21-May-10 2:24am
Updated 13-Oct-10 4:23am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

SNMP typically uses UDP/IP, hence a datagram service on whatever socket library should support it (included the QT socket and networking services).

Of course, you need the SNMP used data structures and MIB descriprion.
But that does not depend on QT.

Give a look at Here[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I use net-snmp for my simple QT App in Windows.

-create empty QT App;
-include net-snmp headers
-write simple code from tutorial example
-get snmp value from device through "system.sysDescr.0"
TrueFurby 13-Feb-13 8:40am
Could you please be more specific? I tried to compile it with included headers but compiler complains about conflicting declarations in stdint.h and net-snmp-config.h

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 13 Oct 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100