Hi,
After adding another Cisco Catalyst 2900xl switch to NAV I get following
error:
-->
Mod_python error: "PythonHandler editdb"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch
result = object(req)
File "/var/www/nav/editdb/editdb.py", line 156, in handler
output = editPage(req,pageList[table](),request,unicodeError)
File "/var/www/nav/editdb/editdb.py", line 463, in editPage
outputForm,action)
File "/var/www/nav/editdb/editdb.py", line 2435, in add
disabled=True))
TypeError: __init__() takes at least 2 non-keyword arguments (1 given)
<--
One 2900xl is running in NAV, but I had to add new type, because NAV don't
recognize these switches.
When I am trying to add another 2900 switch, after clicking add I have:
"Error: pysnmp.asn1.error.ValueConstraintError: Single value constraint for
Version: 0 not within allowed values"
then, clicking continue once again, I have proper recognize of type (because I
added it earlier), but serial number is: "0x10". So, continue once again
and... there is error which I quoted on top.
Also - in beta9:
- IP scope is not working,
- Traffic Map crashes my FireFox sometimes,
in Konqueror there is applet failed info.
- still no desc for routers interfaces in Cricket
- what about traffic measure in traffic map?
I am using Debian packet of NAV
best regards
--
Wojciech (Woj) Kozicki
>From woj at tstd.pl Fri Feb 11 11:15:42 2005
From: woj at tstd.pl (Wojciech Kozicki)
Date: Fri Feb 11 11:16:14 2005
Subject: [Nav-users] adding cisco 2900XL switch to NAV
Message-ID: <200502111115.42876.woj(a)tstd.pl>
Dnia czwartek, 10 lutego 2005 08:31, Fredrik Holmberg napisa?:
> nav3:~ # diff /usr/local/nav/cricket/cricket-config/router-interfaces/.nav
> /usr/local/src/nav-3.0_beta9/subsystem/statTools/cricket/cricket-config/rou
>t er-interfaces/.nav
> 14c14
> < descr = select nettype,netident from gwportprefix left join prefix using
> (prefixid) left join vlan using (vlanid) where gwportid=$id and netident is
> not null
> ---
>
> > descr = select nettype,netident from gwportprefix left join prefix
> > using
>
> (prefixid) left join vlan using (vlan) where gwportid=$id and netident is
> not null
ok, I patched it and it worked!
But. In Debian installation navcron user hasn't got bash (/bin/false only).
When I gived bash to navcron user and started makecricketconfig.pl there
where some access denied errors.
But it worked after running makecricketconfig.pl as root.
Another question. After adding new switch to nav, and running
makecricketconfig.pl, when I should see first stats for this switch? I have
some new switches in NAV, but I can't see them in cricket.
best regards.
--
Wojciech (Woj) Kozicki