Hi Dave,
I got it working now by looking at "snmpwalk.c".
Thanks!
- dc
On Wed, Jan 14, 2009 at 8:57 AM, Dave Shield <[email protected]>wrote:
> 2009/1/12 Chun Tat David Chu <[email protected]>:
> > I then proceeded to modify the OID to "1.3.6.1.2.1.25.4.2.1.2" which is
> > "HOST-RESOURCES-MIB::hrSWRunName".
> > When I ran the program, it shows "value #1 is NOT a string! Ack!".
>
> Please post the code of your program.
>
> It's not sensible for us to try and guess exactly what you changed,
> and hence what might be wrong with the new program.
>
>
> > What I am trying to do is retrieve a list of running processes.
>
> Then you need to send a series of GETNEXT requests (rather than a
> single GET request), to walk the hrSWRunName column.
>
> Try starting with the code for 'snmpwalk.c'.
> That's probably closer to what you need.
>
> Dave
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users