Re: -Lf option isn't working

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Sherry Chen wrote:
> I try the following command to log the result to a file:
> 
> snmpget -v 2c -c demopublic -Lf c:\adapters\log\log.txt test.net-snmp.org 
> ucdDemoPublicString.0
> 
> The command was succeeded, in stead of logging the result to the file, the
> result is showed in the standart output? What is the exact command to log
> result to the file? Thanks advance for your help.

Not supported yet for the command-line tools, unfortunately. There's a
feature request for it, though:

http://sourceforge.net/tracker/index.php?func=detail&aid=1370019&group_id=12694&atid=362694

You may want to express your interest there. Patches most welcome.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.