Question for you: Does this happen when
you insert single boxes using the Add form, or does it happen only
when bulk
importing? Or does it happen on both?
I've only tried to add single boxes, and the error message occur pretty
fast (less than 2 seconds), so that timeout value is pretty low, hehe.
I can try doing a bulk import if you think it matters.
No, that won't be necessary. I've just tested it some more and found that
this only happens if no response is received, not even an ICMP
port-not-reachable message. If the NAV server receives such an ICMP message
from the target or the router, it will instead display "Connection refused".
I guess this indicates that the SNMP UDP request packet is lost on the way to
the target, either dropped by some firewall or the box itself, or the return
packet is dropped in a similar fashion.
I will add an issue for this in the bugtracker, but for now, the error message
can be intepreted as a timeout error.
--
mvh
Morten Brekkevold
UNINETT
>From morten.brekkevold at uninett.no Fri Oct 5 12:33:01 2007
From: morten.brekkevold at uninett.no (Morten Brekkevold)
Date: Fri Oct 5 11:33:52 2007
Subject: [Nav-users] Announcement: NAV 3.3.0 RC1 released
In-Reply-To:
4700E4AD.3060709@gmail.com
References:
46EFCB84.70504@uninett.no 46F8AC23.8090409@gmail.com
4700B683.4050103@uninett.no 4700E4AD.3060709@gmail.com
Message-ID:
470604CD.9050004@uninett.no
Erik Weber wrote, On 01-10-2007 14:14:
>> I suspect you are thinking of process monitoring through SNMP? NAV
>> already supports external monitoring of the most common TCP/IP reachable
>> services, but does not currently support monitoring internal server
>> processes through SNMP.
> That's correct. We're looking for a new tool to do our surveillance and
> this includes a few servers with some critical services as well as com.
> equipment.
Exactly, well, then Ole Martin is the man to talk to :)
--
mvh
Morten Brekkevold
UNINETT
>From morten.brekkevold at uninett.no Fri Oct 5 12:37:16 2007
From: morten.brekkevold at uninett.no (Morten Brekkevold)
Date: Fri Oct 5 11:37:19 2007
Subject: [Nav-users] Re: java.lang.NoClassDefFoundError:
no.ntnu.nav.SimpleSnmp.SimpleSnmp
In-Reply-To:
200710021540.52952.marco.barbieri@unimore.it
References:
47010BE8.1000808@uninett.no
200710021540.52952.marco.barbieri@unimore.it
Message-ID:
470605CC.8070903@uninett.no
Marco Barbieri wrote, On 02-10-2007 15:40:
> hi, all
> maybe it's just me but i'm still getting some errors fro getBoksMacs.sh, i
> think that i've cleaned/reinstalled quite everything needed but, you know...
>
> anyway here comes the error from a Centos 5 install recived by mail:
>
> Today 15:26:16
[...]
> Exception in thread "QueryBoks-20" Exception in thread "QueryBoks-21"
> java.lang.NoClassDefFoundError: no.ntnu.nav.SimpleSnmp.SimpleSnmp
> at java.lang.Class.initializeClass(libgcj.so.7rh)
> at QueryBoks.run(QueryBoks.java:200)
> Caused by: java.lang.ClassNotFoundException: snmp.SNMPVarBindList not found in
> gnu.gcj.runtime.ExtensionClassLoader{urls=[file:/usr/local/nav/lib/java/Database.jar,file:/usr/local/nav/lib/java/Event.jar,file:/usr/local/nav/lib/java/SimpleSnmp.jar,file:/usr/local/nav/lib/java/postgresql-jdbc.jar,file:/usr/local/nav/lib/java/Logger.jar,file:/usr/local/nav/lib/java/ConfigParser.jar,file:/usr/local/nav/lib/java/NetboxInfo.jar,file:/usr/local/nav/lib/java/Util.jar],
> parent=null}
hm, check the contents of /usr/local/nav/lib/java/SimpleSnmp.jar:
jar -tf /usr/local/nav/lib/java/SimpleSnmp.jar
If if contains no/ntnu/nav/SimpleSnmp/SimpleSnmp.class, then something is
wrong with your Java runtine environment. Doesn't look like you're using
Sun's JVM, which I would recommend in any case.
> hope it's just me ;-)
So do I :)
--
mvh
Morten Brekkevold
UNINETT
>From NPabon at archstonesmith.com Mon Oct 8 12:09:51 2007
From: NPabon at archstonesmith.com (Pabon, Nestor)
Date: Mon Oct 8 19:10:01 2007
Subject: [Nav-users] Could not connect to servlet
Message-ID:
58B7A531794E6A49B3BAD57E333225440249A320@engexc11.archstonesmith.com
When attempting selecting the Network Explorer I get the following:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/nav/web/pyproxy/proxy.py", line
61, in handler
user=user, session=req.session.id)
File "/usr/lib/python2.4/site-packages/nav/web/pyproxy/proxy.py", line
124, in doRequest
request.request(method, path, query, headers)
File "httplib.py", line 804, in request
self._send_request(method, url, body, headers)
File "httplib.py", line 827, in _send_request
self.endheaders()
File "httplib.py", line 798, in endheaders
self._send_output()
File "httplib.py", line 679, in _send_output
self.send(msg)
File "httplib.py", line 646, in send
self.connect()
File "httplib.py", line 630, in connect
raise socket.error, msg
error: (111, 'Connection refused')
This is a packaged installation of NAV 3.2.2. on a Debian Etch 4.0.
Thank you in advance for your assistance and guidance
Nestor Pabon
Sr. Network Engineer