On Mon, 18 Aug 2008 16:57:34 +0200 (CEST) Christian Baensch christian.baensch@rrze.uni-erlangen.de wrote:
Hello,
Hello Christian.
we have got some problems to add our Cisco routers to the database:
Error: nav.Snmp.UnsupportedSnmpVersionError: Unsupported SNMP protocol version: 0
Unfortunately it happens to all our Cisco routers but not the Cisco switches. This Error Notify already occured in your mailling list with the hint:
jar -tf /usr/local/nav/lib/java/SimpleSnmp.jar
Nah, this is not related at all to your problem. The listed file is a Java library, the error you reported comes from the web interface, which is written in Python.
What can we do? We are running actually NAV 3.3.3 with SunJava 1.4.2.
As Arve Svennevik correctly suggests, this is in reality a timeout error, indicating that your Cisco routers aren't answering NAV's SNMP queries. Check SNMP agent setup on your routers, ACLs etc.
If you have net-snmp installed on your NAV server, you can query your routers using command line tools to make sure SNMP access is open for the NAV server.
Also, the cryptic error message has been fixed in NAV 3.4.2, so that it now gives a proper timeout-related error message:
https://bugs.launchpad.net/nav/+bug/258273