On Wed, 2005-11-23 at 22:29 +0800, MaTH wrote:
> There is an issue on the output command of the “snmpget” and
> “snmpwalk”.
> 
> For example,
> 1)    snmpget –c COMMUNITY –v 2c –L f <IP address> <OID> <file_name>
> 2)    snmpget –c COMMUNITY –v 2c –L f <file_name> <IP address> <OID>
> 
> Both of above, can’t read the correct return value via “-L f”. 

The first example is flawed (as Eugen points out), but I can
confirm that the second form is correctly formed, and has revealed
a problem with the command-line tools.  These are hardcoded to
display results to standard output, rather than using the -L
logging flags.

I'm not sure whether there's time to fix this before the 5.3
release, but I've logged it as a bug so that it doesn't get
forgotten.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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

Reply via email to