Hello,
I've check my logs on ipdevpoll and I found this :
2019-01-28 17:37:28,698 [ERROR jobs.jobhandler] [statuscheck
PAL-SW-R1-13.res.iogs] Caught exception during save. Last manager =
DefaultManager(<class 'nav.ipdevpoll.shadows.POEPort'>,
'ContainerRepository'(...)). Last model = <class
'nav.ipdevpoll.shadows.POEPort'>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/jobs.py", line
442, in _perform_save
manager.save()
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/storage.py",
line 87, in save
obj.save(self.containers)
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/storage.py",
line 476, in save
obj.save()
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 589, in save
force_update=force_update, update_fields=update_fields)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 617, in save_base
updated = self._save_table(raw, cls, force_insert, force_update,
using, update_fields)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 698, in _save_table
result = self._do_insert(cls._base_manager, using, fields,
update_pk, raw)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 731, in _do_insert
using=using, raw=raw)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py",
line 92, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py",
line 921, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File
"/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py",
line 921, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 94,
in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params)
IntegrityError: ERREUR: une valeur NULL viole la contrainte NOT NULL de
la colonne « classification »
DETAIL: La ligne en échec contient (599034, 49, 66, null, 34, t, 2, 4,
null)
2019-01-28 17:37:28,701 [ERROR jobs.jobhandler] [statuscheck
PAL-SW-R1-13.res.iogs] Job 'statuscheck' for PAL-SW-R1-13.res.iogs
aborted: Job aborted due to save failure (cause=IntegrityError('ERREUR:
une valeur NULL viole la contrainte NOT NULL de la colonne \xc2\xab
classification \xc2\xbb\nDETAIL: La ligne en \xc3\xa9chec contient
(599034, 49, 66, null, 34, t, 2, 4, null)\n',))
2019-01-28 17:37:28,703 [INFO schedule.netboxjobscheduler] [statuscheck
PAL-SW-R1-13.res.iogs] statuscheck for PAL-SW-R1-13.res.iogs failed in
0:00:14.603465. next run in 0:04:59.999955.
It seems it doesn't like the PoE on my Dell N2048P because of a NULL
value in "classification" column.
Do you have an idea ?
Regards
--
Cordialement,
IOGS Logo <https://www.institutoptique.fr>
*Ludovic Vinsonnaud * - Ingénieur Réseau
basé à Bordeaux, bureau F108 (IOA, Rue François Mitterrand, 33400 Talence)
*Institut Optique Graduate School*
2 Avenue Augustin Fresnel - 91127 PALAISEAU Cedex
Tel. +33 5 57 01 71 52 - Mob. +33 6 08 08 41 05
Hi,
we have a 3850 Stack with 3x ES-C3850-48T-S and 5x WS-C3850-12X48U. When
we try to PortAdmin and edit a Port we get (see also attached Jpg):
„IP device found but has no type“
Any ideas?
Cheers,
Mischa
--
Mischa Diehm | Network Team (NINS)
UniBasel | IT-Services (ITS)
Klingebergstr. 70 | CH-4056 Basel
Tel. +41 61 267 1574 | https://its.unibas.ch
Hi
I recently stumbled on your product while I was searching for a good network monitoring tool.
So I started a POC with Debian package but got some problems with Graphite, and had to reverted to the appliance.
Now that its running, I’m impressed over functions built in, especially the network auto mapping.
But there is one thing I don’t know how to handle.
We are mainly using Juniper EX4200, EX 3200 and EX2200 switches.
Our Juniper EX4200 switches are set up as virtual chassis (stacked switches), and they all have the same ip address.
The problem is that the switches, although they are in the same chassis, they are placed in different “rooms” a ring around our campus acting as distribution switches.
Se config:
dgc@MMACOR01> show virtual-chassis
Virtual Chassis ID: b0c6.9a6f.7500
Virtual Chassis Mode: Enabled
Mstr Mixed Neighbor List
Member ID Status Serial No Model prio Role Mode ID Interface
0 (FPC 0) Prsnt BM0209493141 ex4200-24t 250 Master* N 1 vcp-0
7 vcp-255/1/1
1 vcp-1
1 (FPC 1) Prsnt BM0209505602 ex4200-24t 140 Linecard N 0 vcp-0
4 vcp-255/1/1
0 vcp-1
2 (FPC 2) Prsnt BR0218490227 ex4200-24f 130 Linecard N 3 vcp-0
5 vcp-255/1/2
3 vcp-1
3 (FPC 3) Prsnt BR0218490131 ex4200-24f 120 Linecard N 2 vcp-0
9 vcp-255/1/2
2 vcp-1
4 (FPC 4) Prsnt BM0209493198 ex4200-24t 210 Backup N 5 vcp-0
1 vcp-255/1/1
5 vcp-1
5 (FPC 5) Prsnt BM0209485774 ex4200-24t 200 Linecard N 4 vcp-0
2 vcp-255/1/1
4 vcp-1
6 (FPC 6) Prsnt BR0209485019 ex4200-24f 190 Linecard N 7 vcp-0
8 vcp-255/1/1
7 vcp-1
7 (FPC 7) Prsnt BR0209484982 ex4200-24f 180 Linecard N 6 vcp-0
0 vcp-255/1/1
6 vcp-1
8 (FPC 8) Prsnt BR0213155003 ex4200-24f 170 Linecard N 9 vcp-0
6 vcp-255/1/1
9 vcp-1
9 (FPC 9) Prsnt BR0214421949 ex4200-24f 160 Linecard N 8 vcp-0
3 vcp-255/1/1
8 vcp-1
Member ID for next new member: None
{master:0}
dgc@MMACOR01>
And picture
[cid:image002.png@01D52A71.D4537D10]
It looks like I only can add a ip address once
Is there a way to add the other MMACOR01 switches so I can see them, even if they have the same IP?
Vänliga hälsningar / Best regards
Djuro Garvanovic
IT Infrastruktur
Nätverk och kommunikation
+46 40 323710
djuro.garvanovic(a)pagen.se<mailto:dgc@pagen.se>
http://www.linkedin.com/in/djuro
Pågen AB, Box 8143, SE-200 41 Malmö
Besöksadress: Kopparbergsgatan 19, Grind G5
www.pagen.se<http://www.pagen.se/>
www.facebook.com/pagensverige<http://www.facebook.com/pagensverige>
[cid:image001.png@01D0B4AF.B24D9610]
The seventh maintenance release of the 4.9 series of NAV is now out!
The source code is available for download at GitHub [1].
New packages for Debian 8/9 (Jessie/Stretch) are available in our APT
repository [2] as usual. Please be advised that the Debian 8 package
will be discontinued soon
The Debian packages for NAV 4.9 have been rebuilt using dh-virtualenv,
which means that most of the Python dependencies are now embedded into
the packages themselves. If you have previously added a priority apt pin
for packages from apt.uninett.no, you may now remove it, as there are no
longer any other packages needed from that repository to run NAV.
Please also be extra aware of config file changes. Look out for
`*.dpkg-dist` files in /etc/nav and make sure to update your running
config.
The virtual appliance is currently being updated at the time of this
writing, and will be uploaded soon.
Changes
=======
Fixed GitHub issues in this release:
* #1882 (Invalid VLANs are generated from Juniper switches)
* #1920 (Provide a hook for adding extra information in the What-If
tab in the IP Device Info page)
* #1946 (Vlans are categorized as linknets on Cisco Nexus with HSRP)
* #1953 (Adding new public filter in Alert Profiles fails)
* #1958 (NAV creates Graphite metrics with illegal characters in name)
* #1960 (Add option to control user administrator privileges from
LDAP)
Please see the release notes [3] for more details. Happy NAVing
everyone!
Links
=====
[1] https://github.com/UNINETT/nav/releases
[2] https://nav.uninett.no/install-instructions/#debian
[3] https://nav.uninett.no/doc/latest/release-notes.html#nav-4-9
--
mvh
Morten Brekkevold
Uninett