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 with Yahoo! Messenger with Voice.
