Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.


sanket.
Posted
Updated 13-Oct-10 4:23am
v4

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[^]
 
Share this answer
 
v2
I use net-snmp for my simple QT App in Windows.

-create empty QT App;
-include net-snmp headers
-write simple code from net-snmp.org tutorial example
-get snmp value from device through "system.sysDescr.0"
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900