RE: Net-snmp on Windows: write snmpget output directly to a file ?
"Maluski, Dean" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On windows XP with NT Resource kit I just tried this and it worked. cat file.txt > newfile.txt So, this should work I assume. Here is a command I run on Linux boxes. snmpget -Os -c public -v 1 163.193.38.137 enterprises.290.9.2.1.1.4.3.1.0 > /var/www/html/transmitter/tranylog/DT31/data/rawpower -----Original Message----- From: Karl Schuster [mailto:[email protected]] Sent: Tuesday, December 06, 2005 10:39 To: [email protected] Subject: Net-snmp on Windows: write snmpget output directly to a file ? 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 ? Regards, Karl Schuster [email protected] Netzwerk Consultant SPS Informationstechnologie GmbH Niederlassung Süd St.-Margaretha-Str. 13 86564 Hohenried Tel.: 08454 / 912 5570 Fax: 08454 / 912 5640 <file:///\\www.sps-it.de> www.sps-it.de Büro München: Tannenstraße 5a 85640 Putzbrunn Tel: 089 / 6809 8792 Fax: 089 / 6809 8793 Mobil: 0172 / 84 94 811