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

This is a discussion on RE: how to perform an snmpwalk in the c++ api?? within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C67F20.9F309AF5 Content-Type: text/plain; charset="us-ascii&...


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-24-2006
Makavy, Erez
 
Posts: n/a
Default RE: how to perform an snmpwalk in the c++ api??

This is a multi-part message in MIME format.

------_=_NextPart_001_01C67F20.9F309AF5
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hey,
=20
What C++ API?
I didn't know there was one.
=20
Erez.

_____ =20

From: net-snmp-users-admin@lists.sourceforge.net
[mailto:net-snmp-users-admin@lists.sourceforge.net] On Behalf Of Alfonso
Cornejo
Sent: Wednesday, May 24, 2006 12:40 AM
To: net-snmp-users@lists.sourceforge.net
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 =3D 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.

_____ =20

Be a chatter box. Enjoy free PC-to-PC calls
<http://us.rd.yahoo.com/mail_us/tagli.../us.rd.yahoo.c
om/evt=3D39663/*http://messenger.yahoo.com> with Yahoo! Messenger with
Voice.

------_=_NextPart_001_01C67F20.9F309AF5
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D025245410-24052006><FONT face=3DArial color=3D#008000 =

size=3D2>Hey,</FONT></SPAN></DIV>
<DIV><SPAN class=3D025245410-24052006><FONT face=3DArial color=3D#008000 =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D025245410-24052006><FONT face=3DArial color=3D#008000 =
size=3D2>What=20
C++ API?</FONT></SPAN></DIV>
<DIV><SPAN class=3D025245410-24052006><FONT face=3DArial color=3D#008000 =
size=3D2>I=20
didn't know there was one.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#008000 size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D025245410-24052006><FONT face=3DArial color=3D#008000 =

size=3D2>Erez.</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
net-snmp-users-admin@lists.sourceforge.net=20
[mailto:net-snmp-users-admin@lists.sourceforge.net] <B>On Behalf Of =
</B>Alfonso=20
Cornejo<BR><B>Sent:</B> Wednesday, May 24, 2006 12:40 AM<BR><B>To:</B>=20
net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> how to perform =
an=20
snmpwalk in the c++ api??<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi everyone.</DIV>
<DIV>I'm trying to get the amount of memory that is used in a windows =
system=20
using the c++ netsnmp api, I've tried several things but nothing seems =
to=20
work...my last resort is to perform an snmpwalk like this one "snmpwalk =
-v 2c -c=20
public 192.168.1.2 .1.3.6.1.2.1.25.5.1.1.2" in order to get the amount =
of memory=20
that takes each process that is running in the computer and then add =
them. when=20
we create the pdu for our request in a Get situation we put "pdu =3D=20
snmp_pdu_create(SNMP_MSG_GET)" but what do I have to put to perform an=20
snmpwalk???..I already put SNMP_MSG_WALK and it doesn't work, I've been=20
searching in the net-snmp web site but I can't find how to....thank's =
alot for=20
you're help.</DIV>
<P>
<HR SIZE=3D1>
Be a chatter box. Enjoy <A=20
href=3D"http://us.rd.yahoo.com/mail_us/taglines/postman12/*http://us.rd.y=
ahoo.com/evt=3D39663/*http://messenger.yahoo.com">free=20
PC-to-PC calls </A>with Yahoo! Messenger with Voice.</BODY></HTML>

------_=_NextPart_001_01C67F20.9F309AF5--


-------------------------------------------------------
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 07:38 PM.


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