nagios_logentries causing problems
Re: nagios_logentries causing problems
Sorry for the delay,
I am in the process of doing the upgrade for Nagios Core and NDOUtils. Will let you know the results after it is completed and give it some time to test.
I am in the process of doing the upgrade for Nagios Core and NDOUtils. Will let you know the results after it is completed and give it some time to test.
Re: nagios_logentries causing problems
After installing the Nagios Core and Ndoutils on a non-production system. The Sysem Status shows the Database Backend is not running, but I have checked the process list, database, and logs and ndo2db is runnning and processing. Is this false alarm suppose to happen?
Code: Select all
ps -ef f | grep ndo2db
root 89302 45389 0 14:53 pts/0 S+ 0:00 | \_ grep --color=auto ndo2db
nagios 90673 1 0 13:57 ? Ss 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 91119 90673 0 13:57 ? S 0:05 \_ /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 91120 91119 2 13:57 ? S 1:36 \_ /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
You do not have the required permissions to view the files attached to this post.
Re: nagios_logentries causing problems
I can see from the ps output that the ndo2db is running, but can you run the following command, and show the output anyway?
Code: Select all
service ndo2db statusBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagios_logentries causing problems
Code: Select all
service ndo2db status
ndo2db is not running but subsystem locked
Re: nagios_logentries causing problems
I was able to recreate the issue some time ago - just wanted to make sure you were getting the same output. Our developers have been made aware of the problem. I already filed an internal bug report (task_id=9434) on the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagios_logentries causing problems
Is this only a cosmetic impact or does it also have other impacts to the Nagios XI system?
Re: nagios_logentries causing problems
It does look like a "cosmetic" issue only, but I am pretty sure you could fix it by reinstalling NDO using the "--with-init-type=sysv" argument.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagios_logentries causing problems
did a re-install with the option, but I am still getting the same results. Will work to deploy this out to the production server and will let you know if that helps the original problem.
Re: nagios_logentries causing problems
Let us know how it went.Will work to deploy this out to the production server and will let you know if that helps the original problem.
FYI, the following steps worked for me:
Code: Select all
service nagios stop
service ndo2db stop
rm -rf /usr/local/nagios/var/nagios.lock /usr/local/nagios/var/ndo.sock
cd /tmp
rm -rf *
wget https://github.com/NagiosEnterprises/ndoutils/archive/maint.zip
unzip maint.zip
cd ndoutils-maint
./configure --with-init-type=sysv
make all
make install
make install-init
cd db
./upgradedb -d nagios -h localhost -u ndoutils -pn@gweb
service nagios stop
service ndo2db restart
service nagios start
[root@localhost db]# ps -ef | grep ndo | grep -v grep
nagios 20659 1 0 13:16 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 20697 20659 0 13:16 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 20698 20697 0 13:16 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
[root@localhost db]# service ndo2db status
Checking for ndo2db daemon...ndo2db (pid 20698 20697 20659) is running...
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagios_logentries causing problems
FYI. After installing ndoutils-main or ndotils-2.1.1 on CentOS Linux release 7.2.1511 (Core). The service ndo2db stop, does not stop the service. I need to do a kill on the pid to get it to stop.
Still in the process of doing the upgrade of the production system.
Still in the process of doing the upgrade of the production system.