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

This is a discussion on how to perform an snmpwalk in the c++ api?? within the SNMP Users forums, part of the Networking and Network Related category; --0-1385868161-1148420406=:20093 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi everyone. I'm ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2006
Alfonso Cornejo
 
Posts: n/a
Default how to perform an snmpwalk in the c++ api??

--0-1385868161-1148420406=:20093
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

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.
--0-1385868161-1148420406=:20093
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Hi everyone.</div> <div>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.</div><p>
<hr size=1>Be a chatter box. Enjoy <a href="http://us.rd.yahoo.com/mail_us/taglines/postman12/*http://us.rd.yahoo.com/evt=39663/*http://messenger.yahoo.com">free PC-to-PC calls </a> with Yahoo! Messenger with Voice.
--0-1385868161-1148420406=:20093--


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=...729&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0