On Thu, 13 Jan 2011 13:42:32 +0100 Jacek wrote:
JP> 3) I try to get OID I received in step 1, it fails
JP> snmpget -v 1 -c public localhost
JP> 
TCP-MIB::tcpConnectionState.ipv4."192.168.85.92".49207.ipv4."192.168.85.53".22
JP> 
JP> TCP-MIB::tcpConnectionState.ipv4.192.168.85.92.49207.ipv4.192.168.85.53.22:
JP> Unknown Object Identifier (Index out of range: 192
JP> (tcpConnectionLocalAddress))

You need to escape the quotes so snmpget sees them...

TCP-MIB::tcpConnectionState.ipv4.\"192.168.85.92\".49207.ipv4.\"192.168.85.53\".22

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to