Project

General

Profile

Actions

Bug #13214

closed

AttributeError: 'NoneType' object has no attribute 'text'

Added by Ian Grindley over 2 years ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
node_exporter
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.11
Affected Version:
2.6.0
Affected Plus Version:
Affected Architecture:

Description

After installing Prometheus node_exporter error messages appeared containing the following:

Arpwatch Notification : Cron <root@pfsense> /usr/bin/nice -n20 /usr/local/share/pfSense-pkg-node_exporter/interface-collector.py -

X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

Traceback (most recent call last):
File "/usr/local/share/pfSense-pkg-node_exporter/interface-collector.py", line 29, in <module>
descr = elem.find('descr').text
AttributeError: 'NoneType' object has no attribute 'text'

Actions

Also available in: Atom PDF