Page 1 of 7
Consulta Nagvis
Posted: Sun Aug 12, 2018 7:29 pm
by alex3105
Dear..
I have implemented Nagios Core 4.4.1 in Centos 7, with PNP4 and Nagvis .. in the latter I have errors and I would be grateful if you could guide me since I am not very expert in Centos .. and although it is true there is a Nagvis forum because the truth that I have not even found the solution ... I would appreciate if you could guide me if necessary to reinstall it.
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.
This last file does not exist and I followed the guide to recreate it but it is not created and the problem persists.
Best regards.
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 7:45 am
by scottwilkerson
NagVis required you have a backend installed which is either ndoutils or live status
For ndoutils you can follow this guide
https://support.nagios.com/kb/article.php?id=406
Then in the Nagvis UI you would change the backend to ndo
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 12:29 pm
by alex3105
I have installed live status following this link
http://blog.kevintijssen.eu/how-to-inst ... -centos-7/
since I seemed more updated,but I have mistakes, could you guide me to see how to correct
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 12:55 pm
by scottwilkerson
We can try. Livestatus isn't our project, so you would have to describe the error you are seeing
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 2:23 pm
by alex3105
The error message that I have is the following:
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.
Please.. Could you tell me if you have steps to reinstall it in Centos 7
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 2:50 pm
by scottwilkerson
You said you followed the guide above but this guide has nothing to do with livestatus, it is for installing Check_MK.
Same author, different tool.
Re: Consulta Nagvis
Posted: Mon Aug 13, 2018 10:54 pm
by alex3105
I'm sorry .. this is the link used ..
https://mathias-kettner.com/checkmk_livestatus.html
and this is the error that comes out when I use nagvis .. I would appreciate the support to solve it:
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.
Re: Consulta Nagvis
Posted: Tue Aug 14, 2018 7:47 am
by scottwilkerson
can you run this against your nagios.cfg and show the results
Code: Select all
grep broker /usr/local/nagios/etc/nagios.cfg
Re: Consulta Nagvis
Posted: Tue Aug 14, 2018 10:52 am
by alex3105
The result is attached:
#Controls what (if any) data gets sent to the event broker
#This directive is used to specify an event broker module that should
# broker_mopdule =/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
Re: Consulta Nagvis
Posted: Tue Aug 14, 2018 12:27 pm
by scottwilkerson
According to the document you linked, you are supposed to add the following to your nagios.cfg
Code: Select all
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
event_broker_options=-1
then restart nagios