Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Networking QT
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 21-May-10 3:24am
Edited 13-Oct-10 5:23am
v4
Rate this: bad
good
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[^]
  Permalink  
v2
Rate this: bad
good
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 net-snmp.org tutorial example
-get snmp value from device through "system.sysDescr.0"
  Permalink  
Comments
TrueFurby at 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
0 OriginalGriff 375
1 Sergey Alexandrovich Kryukov 329
2 CPallini 260
3 DamithSL 214
4 Maciej Los 197
0 OriginalGriff 5,455
1 DamithSL 4,457
2 Maciej Los 3,885
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,115


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 13 Oct 2010
Copyright © CodeProject, 1999-2014
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