RE: how to perform an snmpwalk in the c++ api??

"Makavy, Erez (Erez)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <AAB4B3D3CF0F454F98272CBE187FDE2F0A8BD2AE@is0004avexu1.global.avaya.com>
Hey,
 
What C++ API?
I didn't know there was one.
 
Erez.

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Alfonso
Cornejo
Sent: Wednesday, May 24, 2006 12:40 AM
To: [email protected]
Subject: how to perform an snmpwalk in the c++ api??


Hi everyone.
I'm trying to get the amount of memory that is used in a windows system
using the c++ netsnmp api, I've tried several things but nothing seems
to work...my last resort is to perform an snmpwalk like this one
"snmpwalk -v 2c -c public 192.168.1.2 .1.3.6.1.2.1.25.5.1.1.2" in order
to get the amount of memory that takes each process that is running in
the computer and then add them. when we create the pdu for our request
in a Get situation we put "pdu = snmp_pdu_create(SNMP_MSG_GET)" but what
do I have to put to perform an snmpwalk???..I already put SNMP_MSG_WALK
and it doesn't work, I've been searching in the net-snmp web site but I
can't find how to....thank's alot for you're help.

  _____  

Be a chatter box. Enjoy free PC-to-PC calls
<http://us.rd.yahoo.com/mail_us/taglines/postman12/*http://us.rd.yahoo.c
om/evt=39663/*http://messenger.yahoo.com> with Yahoo! Messenger with
Voice.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.