Same here… After daily.sh this night poller stoped working, everything else works OK.
$ /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
Cronic detected failure or error output for the command:
/opt/librenms/poller-wrapper.py 16
RESULT CODE: 1
ERROR OUTPUT:
Traceback (most recent call last):
File "/opt/librenms/poller-wrapper.py", line 28, in <module>
import LibreNMS.library as LNMS
File "/opt/librenms/LibreNMS/__init__.py", line 12, in <module>
from .service import Service, ServiceConfig
File "/opt/librenms/LibreNMS/service.py", line 6, in <module>
import pymysql
ModuleNotFoundError: No module named 'pymysql'
STANDARD OUTPUT:
and also after apt install python3-pymysql…
$ /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
Cronic detected failure or error output for the command:
/opt/librenms/poller-wrapper.py 16
RESULT CODE: 1
ERROR OUTPUT:
Traceback (most recent call last):
File "/opt/librenms/poller-wrapper.py", line 181, in <module>
config = json.loads(LNMS.get_config_data(install_dir))
File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
STANDARD OUTPUT:
$
Validate info…
$ /opt/librenms/validate.php
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
====================================
Component | Version
--------- | -------
LibreNMS | 1.69-56-g305f97161
DB Schema | 2020_10_12_095504_mempools_add_oids (191)
PHP | 7.4.3
Python | 3.8.5
MySQL | 10.3.25-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | NET-SNMP 5.8
OpenSSL |
====================================
[OK] Composer Version: 2.0.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
$ uname -a
Linux librenms 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$
FYI, till todays daily.sh poller was working (dont know why now it needs pymysql and before not).
If I start poller via GUI/capture, it will poll the device without problem.
All other cron scripts are running OK (like discovery, alerts, etc).
FYI, to git checkout 4bdcb7d88e0d92ad507ca39215e2fc04231bffea (before “Python log mysql connection errors and harden config retrieval” commit) and it will work again. And disable daily.sh so it wont broke again till it’s fixed