NDOUtils unable to connect to livestatus

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
daniel.donath
Posts: 2
Joined: Sat Sep 26, 2020 8:00 am

NDOUtils unable to connect to livestatus

Post by daniel.donath »

Hi,

I have the following configuration:
- Nagios 4.4.5
- Nagvis: 1.9.23
- NDOUtils: 2.1.3

"grep ndo /usr/local/nagios/var/nagios.log" shows no errors.
"echo 'select * from nagios.nagios_logentries;' | mysql -u ndoutils -p'ndoutils_password'" shows about 5000 entries
"service ndo2db status" shows that ndo2db is running

However, Nagvis shows "Problem (Backend: live_1) Unable to connect to livestatus socket. The socket /usr/local/nagios/var/rw/live in backend live_1 does not exist. Maybe Nagios is not running or restarting".

"event_broker_options=-1" is set in nagios.cfg.

Any idea why this is happening?

Thank you :)
daniel.donath
Posts: 2
Joined: Sat Sep 26, 2020 8:00 am

Re: NDOUtils unable to connect to livestatus

Post by daniel.donath »

The error seem to be related to the wrong backend definition.
I use ndoutils, tried to set the default backend to "ndomy" (dbhost, dbport, dbname, dbuser, dbpass, dbprefix), but it still doesn't work.

What have I missed?

Thank you!
Locked