Hi All, I'm new to the world of SNMP and am trying to get snmpget to log the result to a file so I can then parse the result into our SCADA system.
The command I am using is: snmpget -v 2c -Lf "c:\Net SNMP\Output.txt" -c <community name withheld > <IP address withheld> 1.3.6.1.4.1.14817.3.3.2.20.1.5.2 And the result is: SNMPv2-SMI::enterprises.14817.3.3.2.20.1.5.2 = INTEGER: -1029 The "c:\Net SNMP\Output.txt" gets created but it is a zero byte file that has nothing in it, when I expect it to contain the same result text as is displayed on the screen. What am I doing wrong? Thanks Daniel. ________________________________ The information contained in this email message is CONFIDENTIAL INFORMATION and may also be LEGALLY PRIVILEGED. It is intended only for the individual or entity named above. If you are not the intended recipient, you are hereby notified that any use, review, dissemination, distribution or copying of this document is strictly prohibited. If you received this document in error, please immediately notify us by telephone (+64-3-3118900) and destroy the original message. ______________________________________________________________________________ This email has been scrubbed for your protection by SMX. For more information visit http://smxemail.com ______________________________________________________________________________ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users