Hi.
Has NAV any support for Cisco Wireless Lan Controller 440x ? Trying to add my own device using editDb gives following output:
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 158, in handler
output = editPage(req,pageList[table](),request,unicodeError)
File "/var/www/nav/editdb/editdb.py", line 465, in editPage
outputForm,action)
File "/var/www/nav/editdb/editdb.py", line 2327, in add
box = initBox.Box(ip,form['ro'])
File "/var/www/nav/editdb/initBox.py", line 49, in __init__
self.typeid = self.getType(identifier,ro)
File "/var/www/nav/editdb/initBox.py", line 99, in getType
sysobjectid = snmp.get(oid)
File "/usr/lib/python2.3/site-packages/nav/Snmp.py", line 146, in get
raise "Snmp error %s at %s (%s, %s)" % \
Snmp error 2 at 1 (.1.3.6.1.2.1.1.2.0, NULL: )
Regards
Odd Arne Hauge
From annaliu at us.ibm.com Mon Apr 2 12:15:14 2007
From: annaliu at us.ibm.com (Anna Liu)
Date: Mon Apr 2 20:15:24 2007
Subject: [Nav-users] How to Edit Routers Graph View
Message-ID: OFD012375A.D2D1FDFC-ON882572B1.00626C41-882572B1.00644494@us.ibm.com
Our Cisco devices, i.e., 6509, 6513, 3550, couldn't collect the bandwidth
data in Routers bandwidth with OID defined in
~/cricket-config/routers/Defaults.
All the graph views for routers show 0. How can I edit the config
file so that NAV doesn't show the Bandwidth option in the page of
/routers/ path?
Thanks in adavance for any feedbacks.
Anna Liu - annaliu@us.ibm.com
(408)927-2846
From kaa at msu.net Tue Apr 3 12:48:07 2007
From: kaa at msu.net (Alexander Krapivin)
Date: Tue Apr 3 09:48:01 2007
Subject: [Nav-users] How to Edit Routers Graph View
In-Reply-To: OF41C811D7.05261423-ON882572B1.006FAE94-882572B1.00712B62@us.ibm.com
References: OF41C811D7.05261423-ON882572B1.006FAE94-882572B1.00712B62@us.ibm.com
Message-ID: 461206B7.4080606@msu.net
Anna Liu wrote:
The NAV Version is 3.2.1. and installed on RHEL 4 Update 4, kernel
2.6.9-42.0.10.ELsmp.
Anna Liu wrote:
Our Cisco devices, i.e., 6509, 6513, 3550, couldn't collect the
bandwidth
data in Routers bandwidth with OID defined in
~/cricket-config/routers/Defaults.
All the graph views for routers show 0. How can I edit the config
This OID value actually equals 0, at lease for 6509, 3550, 3750, 3560
switches. I think it's deprecated OID from old Catalyst 5000.
file so that NAV doesn't show the Bandwidth option in the page of
/routers/ path?
I've edited /usr/local/nav/cricket/cricket-config/routers/Defaults file
in following manner:
First occurrence of line
view = "bandwidth:c5000Bandwidth c5000BandwidthMax, cpu:cpu1min
cpu5min, memory:mem5minUsed mem5minFree, sysuptime:sysUpTime,
temp:tempInlet tempOutlet"
was changed to
view = "cpu:cpu1min cpu5min, memory:mem5minUsed mem5minFree,
sysuptime:sysUpTime, temp:tempInlet tempOutlet"
and after that i've run as user navcron
~/bin/makecricketconfig.pl
~/cricket/cricket/compile
--
With best regards,
Alexander Krapivin mailto:kaa@msu.net
NOC MSUNET ICQ UIN:3967345
MSU, Moscow, Russia
>From kaa at msu.net Tue Apr 3 12:57:18 2007
From: kaa at msu.net (Alexander Krapivin)
Date: Tue Apr 3 09:57:06 2007
Subject: [Nav-users] How to Edit Routers Graph View
In-Reply-To:
461206B7.4080606@msu.net
References:
OF41C811D7.05261423-ON882572B1.006FAE94-882572B1.00712B62@us.ibm.com
461206B7.4080606@msu.net
Message-ID:
461208DE.7040003@msu.net
Alexander Krapivin wrote:
> Anna Liu wrote:
>>
>> The NAV Version is 3.2.1. and installed on RHEL 4 Update 4, kernel
>> 2.6.9-42.0.10.ELsmp.
>> Anna Liu wrote:
>> > Our Cisco devices, i.e., 6509, 6513, 3550, couldn't collect the
>> bandwidth
>> > data in Routers bandwidth with OID defined in
>> > ~/cricket-config/routers/Defaults.
>> > All the graph views for routers show 0. How can I edit the config
> This OID value actually equals 0, at lease for 6509, 3550, 3750, 3560
> switches. I think it's deprecated OID from old Catalyst 5000.
>
>> > file so that NAV doesn't show the Bandwidth option in the page of
>> > /routers/ path?
> I've edited /usr/local/nav/cricket/cricket-config/routers/Defaults file
> in following manner:
>
> First occurrence of line
> view = "bandwidth:c5000Bandwidth c5000BandwidthMax, cpu:cpu1min
> cpu5min, memory:mem5minUsed mem5minFree, sysuptime:sysUpTime,
> temp:tempInlet tempOutlet"
>
> was changed to
> view = "cpu:cpu1min cpu5min, memory:mem5minUsed mem5minFree,
> sysuptime:sysUpTime, temp:tempInlet tempOutlet"
>
> and after that i've run as user navcron
>
> ~/bin/makecricketconfig.pl
> ~/cricket/cricket/compile
>
>
However, you have to delete and recreate all rrd files under
cricket/cricket-data/routers directory.
--
With best regards,
Alexander Krapivin mailto:kaa@msu.net
NOC MSUNET ICQ UIN:3967345
MSU, Moscow, Russia
>From annaliu at us.ibm.com Tue Apr 3 09:50:21 2007
From: annaliu at us.ibm.com (Anna Liu)
Date: Tue Apr 3 17:50:50 2007
Subject: [Nav-users] How to Edit Routers Graph View
In-Reply-To:
461208DE.7040003@msu.net
Message-ID:
OFBFA8AA8F.6592EF83-ON882572B2.00561FC8-882572B2.0057010C@us.ibm.com
Thank you Alexander,
Do I have to remove bandwidth strings also in the DS lines? The view
line seems apply to all targets in the Routers. Do I need to remove
bandwidth contents each time when a new router is added?
Regards,
Anna Liu - annaliu@us.ibm.com
(408)927-2846 Tie: 457-2846
Alexander Krapivin
kaa@msu.net
Sent by: nav-users-bounces@itea.ntnu.no
04/03/2007 12:57 AM
To
nav-users@itea.ntnu.no
cc
Subject
Re: [Nav-users] How to Edit Routers Graph View
Alexander Krapivin wrote:
> Anna Liu wrote:
>>
>> The NAV Version is 3.2.1. and installed on RHEL 4 Update 4, kernel
>> 2.6.9-42.0.10.ELsmp.
>> Anna Liu wrote:
>> > Our Cisco devices, i.e., 6509, 6513, 3550, couldn't collect the
>> bandwidth
>> > data in Routers bandwidth with OID defined in
>> > ~/cricket-config/routers/Defaults.
>> > All the graph views for routers show 0. How can I edit the
config
> This OID value actually equals 0, at lease for 6509, 3550, 3750, 3560
> switches. I think it's deprecated OID from old Catalyst 5000.
>
>> > file so that NAV doesn't show the Bandwidth option in the page of
>> > /routers/ path?
> I've edited /usr/local/nav/cricket/cricket-config/routers/Defaults file
> in following manner:
>
> First occurrence of line
> view = "bandwidth:c5000Bandwidth c5000BandwidthMax, cpu:cpu1min
> cpu5min, memory:mem5minUsed mem5minFree, sysuptime:sysUpTime,
> temp:tempInlet tempOutlet"
>
> was changed to
> view = "cpu:cpu1min cpu5min, memory:mem5minUsed mem5minFree,
> sysuptime:sysUpTime, temp:tempInlet tempOutlet"
>
> and after that i've run as user navcron
>
> ~/bin/makecricketconfig.pl
> ~/cricket/cricket/compile
>
>
However, you have to delete and recreate all rrd files under
cricket/cricket-data/routers directory.
--
With best regards,
Alexander Krapivin mailto:kaa@msu.net
NOC MSUNET ICQ UIN:3967345
MSU, Moscow, Russia
_______________________________________________
nav-users mailing list
nav-users@itea.ntnu.no
http://mailman.itea.ntnu.no/mailman/listinfo/nav-users