[pysnmp-users] Re: problem with the example
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2002-06-19 06:50:08
|
Hi Felix, > > * If you need to retrieve a SNMP "table", try using snmptable.py > Doesn't do what I want, I use snmpwalk because I thought there is a solution > in it. > snmptable is just a smaller version without the wile and so on, isn't it ? It still looks like snmptable.py is what you need. The tool is exactly the same code as snmpwalk.py BUT it stops when next OID is lexicographically larger than previous. That is: [ilya@cray examples]$ ./snmptable.py cisco.st.net public .1.3.6.1.2.1.2.2.1.19 .1.3.6.1.2.1.2.2.1.19.1 ---> 1204 .1.3.6.1.2.1.2.2.1.19.2 ---> 160 .1.3.6.1.2.1.2.2.1.19.3 ---> 0 .1.3.6.1.2.1.2.2.1.19.4 ---> 85 ... .1.3.6.1.2.1.2.2.1.19.1473 ---> 0 .1.3.6.1.2.1.2.2.1.19.1474 ---> 0 .1.3.6.1.2.1.2.2.1.19.1475 ---> 0 [ilya@cray examples]$ What exactly does not work for you with snmptable.py? -ilya |