Post by RoykeHi,
I try to connect between routers and switches within our network so I
can view it in Netmap view on the toolbox.
I've read the guides in
http://metanav.uninett.no/subnetsandvlans#guide_lines_for_configuring_router_interface_descriptions.
I've create the vlan and change the description on the routers and
switches to match the requirement based on the guidelines.
However, I'm unable to connect the routers and switches on the netmap.
The devices on the netmap are not connected and seems like "flying" on
it's own and hard to capture to view all devices at the same time.
Hi,
Correction, the connection view in netmap is established now. But I
think I found a bugs (or is it a feature ?). My Prefix definition is
dissapear , but my Vlan seems automagically filled with lot of Nettypes
definition namely : core, elink, vlan. I think it is a normal
behaviour, is it or not ?
Also I found many error from ipdevpoll.log like below (cannot paste all
but I paste the most important parts I think) :
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 243, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 312, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py",
line 328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/local/nav/lib/python/nav/ipdevpoll/schedule.py", line 236,
in reset
self.netbox_reload_loop.call.reset(1)
exceptions.AttributeError: 'NoneType' object has no attribute 'reset'
2011-03-21 04:21:05,205 [ERROR jobs.jobhandler] [profiling
cyber-7600.cbn.net.id] Caught exception during save. Last object =
NetboxSnmpOid(netbox=Netbox(id=1, up_to_date=True), frequency=3600).
Last model: None
....
....
....
IntegrityError: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:05,583 [ERROR jobs.jobhandler] [profiling
cyber-7600.cbn.net.id] The last query was: {'time': '0.001', 'sql':
'INSERT INTO "netboxsnmpoid" ("netboxid", "snmpoidid", "frequency")
VALUES (1, 24, 3600)'}
2011-03-21 04:21:06,038 [ERROR jobs.jobhandler] [profiling
cyber-7600.cbn.net.id] Save stage failed with unhandled error
Traceback (most recent call last):
....
....
....
psycopg2.IntegrityError: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:06,039 [ERROR jobs.jobhandler] [profiling
cyber-7600.cbn.net.id] Job 'profiling' for cyber-7600.cbn.net.id
aborted: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:09,333 [ERROR jobs.jobhandler] [profiling
cyber-iix-7200.cbn.net.id] Caught exception during save. Last object =
NetboxSnmpOid(netbox=Netbox(id=2, up_to_date=True), frequency=3600).
Last model: None
...
...
IntegrityError: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:09,333 [ERROR jobs.jobhandler] [profiling
cyber-iix-7200.cbn.net.id] The last query was: {'time': '0.023', 'sql':
'INSERT INTO "netboxsnmpoid" ("netboxid", "snmpoidid", "frequency")
VALUES (2, 129, 3600)'}
2011-03-21 04:21:09,529 [ERROR jobs.jobhandler] [profiling
cyber-iix-7200.cbn.net.id] Save stage failed with unhandled error
psycopg2.IntegrityError: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:09,543 [ERROR jobs.jobhandler] [profiling
cyber-iix-7200.cbn.net.id] Job 'profiling' for cyber-iix-7200.cbn.net.id
aborted: duplicate key value violates unique constraint
"netboxsnmpoid_netboxid_key"
2011-03-21 04:21:09,578 [ERROR jobs.jobhandler] [profiling
cyber-6500.cbn.net.id] Caught exception during save. Last object =
NetboxSnmpOid(netbox=Netbox(id=3, up_to_date=True), frequency=3600).
Last model: None
...
...
return self.cursor.execute(sql, params)
psycopg2.IntegrityError: duplicate key value violates unique constraint
"prefix_netaddr_key"
2011-03-21 04:21:13,687 [ERROR jobs.jobhandler] [inventory
cyber-7600.cbn.net.id] Job 'inventory' for cyber-7600.cbn.net.id
aborted: duplicate key value violates unique constraint "prefix_netaddr_key"
Thanks.
Regards
Royke