Page 1 of 1

NDOUtils unable to connect to livestatus

Posted: Mon Mar 08, 2021 8:44 am
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 :)

Re: NDOUtils unable to connect to livestatus

Posted: Tue Mar 09, 2021 7:32 am
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!