Nagvis: error adding host into map [SOLVED]

nagvis
(Dario) #1

Hello to all,
my environment:
CentOS 7.7 (minimal - updated - selinux disabled)
Apache httpd-2.4.6-90.el7.centos.x86_64
PHP 5.4.16
Browser Chrome 77.0.3865.90, Firefox 69.0.1
No JavaScript errors in the browser
No recent errors in /var/etc/httpd/error_log
Nagios 4.4.5 (core edition)
Nagvis 1.9.14

Nagios works fine and I just finished to install Nagvis, I uploaded a background image of my campus (a .gif file) and now I would like to show in Nagvis the hosts monitored by Nagios but when I try to add each one of them I receive the following message:
“Failed to get objects: 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.”
Can someone please help me?
Best regards
Dario

#2

It seems that the MKLivestatus module is missing. Please take a look at the NagVis documentation.

(Dario) #3

Hi Wolfang
thank u for replay but MKLivestatus (check-mk-raw-1.6.0p2-el7-38.x86_64.rpm) was been installed before install nagvis
any other suggestion?
Best regards
Dario

#4

“installed” but not enabled in nagios.cfg (although I’m not sure if that’s the right place to do that in Nagios 4).

(Dario) #5

Hello Wolfang,
I solved by correctly writing the broker_module path in nagios.cfg
Best regards
Dario