Pine A64+ issue with nagios engine not starting

Having issues? Post them here, and help other users.
Locked
czer0
Junior Member
Posts: 4
Joined: Wed Sep 30, 2020 10:54 am

Pine A64+ issue with nagios engine not starting

Post by czer0 »

Platform: A64+
NEMS Linux version: 1.5.2
NEMS Build number: Build 1

Is there a newer devel build for Pine a64+?

I ask as on a clean install the nagios engine seems to not be running.

I am able to build and deploy a config from nconf but from Adagios produces 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."
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

Re: Pine A64+ issue with nagios engine not starting

Post by Robbie Ferguson »

Looks like duplicate of viewtopic.php?p=3351
Locked