Consulta Nagvis
Re: Consulta Nagvis
Reviewing the installation I have come to perform the installation following the following sequence:
root@linux# wget 'http://www.mathias-kettner.de/download/ ... 2.8.tar.gz'
root@linux# tar xzf mk-livestatus-1.2.8.tar.gz
root@linux# cd mk-livestatus-1.2.8
user@host:~$ ./configure
root@linux# make install
and the following error message appears:
[root@localhost mk-livestatus-1.2.8]# make install
Making install in src
make[1]: se ingresa al directorio `/home/nagios/Descargas/mk-livestatus-1.2.8/src'
source='AndingFilter.cc' object='livestatus_so-AndingFilter.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I.. -std=c++11 -fPIC -c -o livestatus_so-AndingFilter.o `test -f 'AndingFilter.cc' || echo './'`AndingFilter.cc
../depcomp: línea 772: exec: g++: no se encontró
make[1]: *** [livestatus_so-AndingFilter.o] Error 127
make[1]: se sale del directorio `/home/nagios/Descargas/mk-livestatus-1.2.8/src'
make: *** [install-recursive] Error 1
[root@localhost mk-livestatus-1.2.8]#
I would be related to the problem that arises ... I have not found how to solve it, could you guide me how to continue
root@linux# wget 'http://www.mathias-kettner.de/download/ ... 2.8.tar.gz'
root@linux# tar xzf mk-livestatus-1.2.8.tar.gz
root@linux# cd mk-livestatus-1.2.8
user@host:~$ ./configure
root@linux# make install
and the following error message appears:
[root@localhost mk-livestatus-1.2.8]# make install
Making install in src
make[1]: se ingresa al directorio `/home/nagios/Descargas/mk-livestatus-1.2.8/src'
source='AndingFilter.cc' object='livestatus_so-AndingFilter.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I.. -std=c++11 -fPIC -c -o livestatus_so-AndingFilter.o `test -f 'AndingFilter.cc' || echo './'`AndingFilter.cc
../depcomp: línea 772: exec: g++: no se encontró
make[1]: *** [livestatus_so-AndingFilter.o] Error 127
make[1]: se sale del directorio `/home/nagios/Descargas/mk-livestatus-1.2.8/src'
make: *** [install-recursive] Error 1
[root@localhost mk-livestatus-1.2.8]#
I would be related to the problem that arises ... I have not found how to solve it, could you guide me how to continue
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
Sorry we do not produce livestatus, so I'm not familiar with the error you are getting, did you follow all the steps, one by one?
You may need to reach out to the developers of that project.
You may need to reach out to the developers of that project.
Re: Consulta Nagvis
Ok ... a query, could you tell me if instead of installing livestatus I install ndoutils I would have later problems with my implementation or maybe you have a link or link to install the ndoutils in centos 7 to end with nagvis.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
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
https://support.nagios.com/kb/article.php?id=406
Then in the Nagvis UI you would change the backend to ndo
Re: Consulta Nagvis
Can you confirm if I have to use this link to make the change?
http://docs.nagvis.org/1.4/en_US/backends.html
section ndo2db MySQL backend (ndomy)
http://docs.nagvis.org/1.4/en_US/backends.html
section ndo2db MySQL backend (ndomy)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
Yes that is the backend you would use the ndo2dbalex3105 wrote:Can you confirm if I have to use this link to make the change?
http://docs.nagvis.org/1.4/en_US/backends.html
section ndo2db MySQL backend (ndomy)
Re: Consulta Nagvis
Dear, get to execute the next command
echo 'select * from nagios.nagios_logentries;' | mysql -u ndoutils -p'ndoutils_password'
but it does not show me records, previously the command
sysctl -e -p /etc/sysctl.conf
did not show the first 6 lines
Could you tell me some way to solve it?
echo 'select * from nagios.nagios_logentries;' | mysql -u ndoutils -p'ndoutils_password'
but it does not show me records, previously the command
sysctl -e -p /etc/sysctl.conf
did not show the first 6 lines
Could you tell me some way to solve it?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
Can you run this again to verify you have ndo2db setup correctly
also, are you getting errors for ndo2db in the in the syslog?
Code: Select all
grep broker /usr/local/nagios/etc/nagios.cfg
Re: Consulta Nagvis
Attached the result of the command:
#Controls what (if any) data gets sent to the event broker
#This directive is used to specify an event broker module that should
#broker_module=<modulepath>[moduleargs]
# broker_module =/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
In the file: /var/log/messages I see status alerts of my computers monitored in this case switches
#Controls what (if any) data gets sent to the event broker
#This directive is used to specify an event broker module that should
#broker_module=<modulepath>[moduleargs]
# broker_module =/somewhere/module1.o
#broker_module=/somewhere/module2.o arg1 arg2=3 debug=0
# 64 = Event broker
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
In the file: /var/log/messages I see status alerts of my computers monitored in this case switches
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Consulta Nagvis
and did you start the ndo2db service?
Code: Select all
service ndo2db start