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
Dnia pi?tek, 11 lutego 2005 13:40, Vidar Faltinsen napisa?:
Also - in beta9:
- IP scope is not working,
You need to add your address scope using the edit database add prefix feature. Choose network type scope and enter the prefix. Have you done this?
yes, I did.
Dnia pi?tek, 11 lutego 2005 13:40, Vidar Faltinsen napisa?:
Also - in beta9:
- IP scope is not working,
You need to add your address scope using the edit database add prefix feature. Choose network type scope and enter the prefix. Have you done this?
what else can I check to see why ip-address-scope is not working? Maybe some logs, or database tables?
regards
Dnia ?roda, 9 lutego 2005 16:02, Wojciech Kozicki napisa?:
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) <--
[cut]
Ok, it is solved. NAV gets from Cisco 2900XL serial number, but default for 2900 is 0x10. After setting different serials on other 2900s it worked.
The command on cisco switch for do this is: "snmp-server chassis-id NUMBER"
regards