Greetings,
My librenms have issue to show the graph and certain cron jobs not running as well.
I have validated the installation and it seem like no problem but getting python error (I guess) when trying to execute discovery-wrapper.py and poller_wrapper.py. Any suggestions on how to solve this problem?
Your suggestions would be greatly appreciated.
Thanks & regards,
root@librenms:/opt/librenms# su - librenms
$ git pull
Already up-to-date.
you have mail
$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
you have mail
$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.68-51-g3753e7047 |
DB Schema | 2020_10_03_1000_add_primary_key_transport_group_transport (186) |
PHP | 7.4.11 |
Python | 3.5.3 |
MySQL | 10.1.45-MariaDB-0+deb9u1 |
RRDTool | 1.6.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.10.15
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
you have mail
$
$ ./discovery-wrapper.py
Traceback (most recent call last):
File “./discovery-wrapper.py”, line 189, in
config = json.loads(LNMS.get_config_data(install_dir))
File “/usr/lib/python3.5/json/init.py”, line 319, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.5/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.5/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
$
$ ./poller-wrapper.py 16
Traceback (most recent call last):
File “./poller-wrapper.py”, line 181, in
config = json.loads(LNMS.get_config_data(install_dir))
File “/usr/lib/python3.5/json/init.py”, line 319, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.5/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.5/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
$