|
From: Jethro R B. <jet...@st...> - 2011-04-12 22:31:53
|
On Tue, 12 Apr 2011, virtualtech wrote: > I am new to this product and I am trying out it's discovery. > I am running on a Ubuntu Sever 10.10. > Netdisco Version is 1.0 > SNMP::Info Version is 2.01Net-SNMP Version is 5.0503 > Perl Version is 118.53.46.49.48.46.49 > > I modified my netdisco.conf to specify two of my snmp community strings. > However, when I run a discovery on one of my cisco devices I get the > follow after running netdisco -D -d nodename > > SNMP::Info::_global(layers) Timeout at netdisco line 1254 > SNMP::Info::specify(( -Could not get info from device at netdisco line 1254 > > Then it tries to do it with SNMP Version 1 and it has the same errors on > line 1270 > > After that I get the message "Device Not Supported or I can't c connect > to it via SNMP" Confirm, from the same server that your Netdisco runs from, that you can talk to the device with snmp from the command-line, something like: snmpget -c commstring -v 2c ip.ad.re.ss sysName.0 If that fails with the correct commstring and snmp version, you've a basic issue here to resolve, firewall/acl maybe? If that's OK, take a look at the output from netdisco -D, near the top for a line like: create_device(ip.ad.re.ss,e,2*,AutoSpecify,bw:default) The '2' represents the SNMP version, and interestingly the 'e' is the last character of the community string used, as a small clue. See if they match what you expect should work. If still no joy, then you could try running a tcpdump command on your netdisco server filtering on the IP address of your device, something like: tcpdump -X -v host ip.ad.re.ss and port snmp which will show you what is going out on the wire, to make sure it looks like what you think it should look like. Your Cisco might also have a command to show a counter of how many invalid community strings it didn't respond too which might give you a clue too. Jethro. . . . . . . . . . . . . . . . . . . . . . . . . . Jethro R Binks, Network Manager, Information Services Directorate, University Of Strathclyde, Glasgow, UK The University of Strathclyde is a charitable body, registered in Scotland, number SC015263. |