[pysnmp-users] snmpwalk.py
Brought to you by:
elie
From: Mark K. <mr...@eu...> - 2002-12-04 19:01:24
|
A list for users of pure-Python SNMP framework <pysnmp-users.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/pysnmp-users>, <mailto:pys...@li...?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=pysnmp-users> I have been playing with snmpwalk.py. But it does not work as I would expect. It may be a fact that my expectations are wrong. When I run the standard snmpwalk utility as follows I get the following output. snmpwalk 10.0.0.253 public .1.3.6.1.2.1.17.4.3.1.3 17.4.3.1.3.0.2.179.136.108.99 = 3 17.4.3.1.3.0.2.179.136.114.68 = 3 17.4.3.1.3.0.6.91.60.22.153 = 3 17.4.3.1.3.0.6.91.60.22.172 = 3 17.4.3.1.3.0.6.91.138.79.13 = 3 17.4.3.1.3.0.6.91.138.79.81 = 3 17.4.3.1.3.0.6.91.138.79.114 = 3 17.4.3.1.3.0.6.91.138.79.125 = 3 17.4.3.1.3.0.6.91.138.79.128 = 3 17.4.3.1.3.0.6.91.138.79.135 = 3 17.4.3.1.3.0.6.91.140.49.95 = 3 17.4.3.1.3.0.6.91.140.50.59 = 3 17.4.3.1.3.0.8.116.144.127.36 = 3 17.4.3.1.3.0.176.208.170.249.105 = 3 17.4.3.1.3.0.176.208.243.101.68 = 3 This is exactly what I expect. But when I run the following instance of snmpwalk.py I get thousands of lines of output the first 15 of which are as above. I would expect snmpwalk.py to stop at this point but it stays walking through the rest of the SNMP system. Another example is if I run. snmpwalk 10.0.0.253 public .1.3.6.1.2.1.1.1.0 I get the system description as expected. On the other hand if I run ./snmpwalk.py 10.0.0.253 public 1.3.6.1.2.1.1.1.0 I get lots of output none of which is the system description. If anybody can help I would apreciate it. MArk |