[pysnmp-users] snmpwalk.py and switch stack members
Brought to you by:
elie
From: Harry H. <ne...@st...> - 2003-07-24 12:18:55
|
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> Hi! I'm having trouble with snmpwalk when I try to access members in a switch stack. To access stack members through the commander's IP address, I must append @sw<switch number> to the community name. My problem is that snmpwalk fails when I try to do as described above This works - but reports only the commander. snmpwalk.py 10.1.0.10 my_community .1.3.6.1.2.1.17.4.3.1 When I try snmpwalk.py 10.1.0.10 my_community@sw1 .1.3.6.1.2.1.17.4.3.1 snmpwalk fails with: Traceback (most recent call last): File "D:\pysnmp\examples\snmpwalk.py", line 112, in ? (answer, src) = client.send_and_receive(req.encode(), (None, 0), cb_fun) File "d:\pysnmp\pysnmp\mapping\udp\role.py", line 180, in send_and_receive raise error.NoResponseError('No response arrived in %d secs * %d retries' % (self.timeout, self.retries)) pysnmp.mapping.udp.error.NoResponseError: No response arrived in 1 secs * 5 retries It works with GetIF (a SNMP MIB Browser). Any ideas anyone? regards Olav ------------------------------------------------------------ Få din egen @start.no-adresse gratis på http://www.start.no/ |