Something on my NAV dashboard triggers errors in the apache error log:
[wsgi:error] [WARNING] [pid=15075 nav.models.event] alert subid 5691 points to non-existant <class 'nav.models.manage.PowerSupplyOrFan'>
[wsgi:error] [WARNING] [pid=15075 nav.models.event] alert subid 251536 points to non-existant <class 'nav.models.manage.NetboxEntity'>
(I have omitted date and remote IP from the log lines)
How can I debug this?
--Ingeborg
On Tue, 01 Dec 2020 08:50:40 +0100 Ingeborg Hellemo ingeborg.hellemo@uit.no wrote:
[wsgi:error] [WARNING] [pid=15075 nav.models.event] alert subid 5691 points to non-existant <class 'nav.models.manage.PowerSupplyOrFan'>
[wsgi:error] [WARNING] [pid=15075 nav.models.event] alert subid 251536 points to non-existant <class 'nav.models.manage.NetboxEntity'>
(I have omitted date and remote IP from the log lines)
How can I debug this?
This likely just means you have some unresolved alerts about things that don't exist in NAV any more. These are being displayed in a status widget somewhere, but NAV is unable to find the netbox internal entity or the powersupply/fan these are referring to.
You should be able to spot alerts that have incomplete information and close them manually from the status tool.