On Thu, 18 Oct 2018 12:33:40 +0200 Ingeborg Hellemo ingeborg.hellemo@uit.no wrote:
Another box, another error:
[snip]
File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/modules.py", line 97, in _module_from_entity module.description = ent['entPhysicalDescr'].strip() exceptions.AttributeError: 'NoneType' object has no attribute 'strip'
Is this due to an error in the database og faulty snmp implementation on the box (Type C9410R (Catalyst 9400 Series 10 Slot Chassis from cisco))?
I'd say it's a combination of poor SNMP implementation and a bug in NAV. This would happen your C9410R reports modules that have no description value at all - although, the NAV code should have expected something like this could happen and safeguarded against it.