What I find out is that I need
1) .snmp\mibs directory with MYMIB files
2) share\snmp\mibs direcotry with standard mibs
3) setup snmp.conf for mibsdir and default options
4) setup MIBS environment variables to recognize MYMIB module.

Without any of these the snmpwalk can walk through the tree but without the 
value I'm expecting. 
That means running snmpget fails to get the values (scalar or table). I 
remember reading somewhere says the MIB files are not needed in clients, but it 
doesn't seem to work in my case. Any explanations?

BTW 
> snmpwalk <options> client_pc <oid>
client_pc is the IP address of the pc that run snmpd.exe, right?

Thanks a lot!
-Jing




-----Original Message-----
From: Magnus Fromreide [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 10, 2008 3:37 PM
To: Wen, Jing
Cc: [email protected]
Subject: RE: What needs to be installed on client PC in order forsnmpwalkto 
work?


    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

mån 2008-11-10 klockan 14:22 -0600 skrev Wen, Jing:
> 
> What do I need to install to make snmpwalk works on a client then?

Nothing should be needed but you might want some configuration in order
to shorten the command and get more readable output.

> I just copied the snmp.conf file from localhost to the client pc and it WORKS 
> now!
> 
> But I still want to know the official way to do it.

snmpwalk <options> client_pc <oid>

You do not give enough context for me to give a better answer than that.

/MF



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to