Consulta Nagvis
Consulta Nagvis
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.
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
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
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
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
We can try. Livestatus isn't our project, so you would have to describe the error you are seeing
Re: Consulta Nagvis
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
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.
Same author, different tool.
Re: Consulta Nagvis
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.
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
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
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
#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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
According to the document you linked, you are supposed to add the following to your nagios.cfg
then restart nagios
Code: Select all
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
event_broker_options=-1