Pine A64+ issue with monitoring engine not running
Posted: Thu Oct 01, 2020 1:51 pm
I apologize for cross-posting this issue as Help and Support may have not been the correct place as this seems more of a bug than anything else.
Platform: A64+
NEMS Linux version: 1.5.2
NEMS Build number: Build 1
This occurs on a clean install.
Have verified that the checksum is correct for the image to avoid possible corruption being cause.
Have swapped sdcards to rule out storage being the issue.
I am able to build and deploy a config from nconf but logging into Adagios I am presented with the following error:
Oh no, something went wrong ☹
Is our monitoring engine even running ? If so we cant detect it.
Don't worry you can still configure stuff but you might want to start it so you can start monitoring stuff.
Please verify your settings and check all paths are valid.
check that nagios is in fact running and sudoers.d is correctly configured.
Try starting it by clicking here and see if you are getting some sort of errors
ParserError: "[Errno 2] No such file or directory while connecting to '/usr/local/nagios/var/rw/live.sock'. Make sure nagios is running and mk_livestatus loaded."
Show debug Information produces additional insights:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper
result = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 650, in status_index
c = adagios.status.utils.get_statistics(request)
File "/usr/local/lib/python2.7/dist-packages/adagios/status/utils.py", line 460, in get_statistics
*arguments
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 1116, in get_services
return self.query('GET services', *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/multisite.py", line 80, in query
query_result = backend_instance.query(query, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 973, in query
livestatus_response = self.write(livestatus_query.get_query())
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 820, in write
livestatus_socket = self._get_socket()
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 804, in _get_socket
raise ParserError(msg % (e, self.livestatus_socket_path))
ParserError: "[Errno 2] No such file or directory while connecting to '/usr/local/nagios/var/rw/live.sock'. Make sure nagios is running and mk_livestatus loaded."
Platform: A64+
NEMS Linux version: 1.5.2
NEMS Build number: Build 1
This occurs on a clean install.
Have verified that the checksum is correct for the image to avoid possible corruption being cause.
Have swapped sdcards to rule out storage being the issue.
I am able to build and deploy a config from nconf but logging into Adagios I am presented with the following error:
Oh no, something went wrong ☹
Is our monitoring engine even running ? If so we cant detect it.
Don't worry you can still configure stuff but you might want to start it so you can start monitoring stuff.
Please verify your settings and check all paths are valid.
check that nagios is in fact running and sudoers.d is correctly configured.
Try starting it by clicking here and see if you are getting some sort of errors
ParserError: "[Errno 2] No such file or directory while connecting to '/usr/local/nagios/var/rw/live.sock'. Make sure nagios is running and mk_livestatus loaded."
Show debug Information produces additional insights:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper
result = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/adagios/status/views.py", line 650, in status_index
c = adagios.status.utils.get_statistics(request)
File "/usr/local/lib/python2.7/dist-packages/adagios/status/utils.py", line 460, in get_statistics
*arguments
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 1116, in get_services
return self.query('GET services', *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/multisite.py", line 80, in query
query_result = backend_instance.query(query, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 973, in query
livestatus_response = self.write(livestatus_query.get_query())
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 820, in write
livestatus_socket = self._get_socket()
File "/usr/local/lib/python2.7/dist-packages/pynag/Parsers/livestatus.py", line 804, in _get_socket
raise ParserError(msg % (e, self.livestatus_socket_path))
ParserError: "[Errno 2] No such file or directory while connecting to '/usr/local/nagios/var/rw/live.sock'. Make sure nagios is running and mk_livestatus loaded."