Consulta Nagvis

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
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Consulta Nagvis

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Consulta Nagvis

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Consulta Nagvis

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Consulta Nagvis

Post by scottwilkerson »

We can try. Livestatus isn't our project, so you would have to describe the error you are seeing
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Consulta Nagvis

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Consulta Nagvis

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Consulta Nagvis

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Consulta Nagvis

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Re: Consulta Nagvis

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Consulta Nagvis

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked