Re: 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, > > I am new with net-snmp.I use it on Windows2000. > I have installed the binary version 5.2.1.2. It runs very well. > > My question: > I start snmpget from a DOS window. How can I write the output into a > file. I have not found a suitable option. Until now, the only > possibility I found is, marking the text in my dos window, copy and > paste in to a text editor. > > Is there a better way to write the output directly into a file ? > Try using the -Lf option when starting snmpd. The command line would look something like: snmpd -Lf D:\Path\To\snmpd.log 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