Here is the error I’m getting when running snmp-scan.py:
Traceback (most recent call last):
File “./snmp-scan.py”, line 227, in
CONFIG = json.loads(
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)
Output from ./validate.php
librenms@nmsp-elsd:~$ ./validate.php
As a test I did a second install on a different server, same result. HOWEVER, I did get a little more information firing off some of the other tasks:
/opt/librenms/discovery-wrapper.py 1
ERROR: Could not execute command [[’/usr/bin/env’, ‘php’, ‘/opt/librenms/config_to_json.php’]]: Expecting value: line 1 column 1 (char 0)
Could not run discovery wrapper. Missing config