Re: AW: Net-snmp on Windows: write snmpget output directly to a file ?

Andy Smith <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Karl Schuster wrote:
> Hello Andy,
> 
> I am using snmpget not snmpd !

My mistake, I see that now.

> The -Lf option exists, but it works only if there are errors or warnings. On
> a successfull snmpget operation it is not used. This my experience, perhaps
> I am wrong, or I have to setup something additionally ?

You could just use the Windows redirect mechanism to redirect the output 
to a file. Try something like:

snmpget -v 2c -c community host OID>output.txt

Regards,
Andy





-------------------------------------------------------
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_id=7637&alloc_id=16865&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
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.