Page 1 of 1
Host & Service Monitors Not Reflecting in Status Pages
Posted: Wed Jul 01, 2020 10:09 am
by veeravamsi
Hi Team,
I have configured two Servers using Wizard on fresh installation of 5.7 Nagios XI. And Monitors are not reflecting on Status Pages ( Host Summary / Service Group Summary , etc ). When i manually run these from CCM and i GOOD Response.
Anything i could check to find out whats causing this behaviour.
--Vamsi
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Wed Jul 01, 2020 1:45 pm
by benjaminsmith
Hi Vamsi,
This is a known issue right now impacting certain systems, however, we are making good progress on correcting this and we should have new maintenance release out soon.
If possible it would best to wait for 5.7.2, otherwise, we can provide steps to revert the backend database utility to the previous version.
Let me know how you would like to proceed. Thanks, Benjamin
Also, it would be helpful to review your system profile as well for any other errors.
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Thu Jul 02, 2020 2:03 am
by veeravamsi
Thanks Benjamin. Server where this is running is fresh installation so any quick fix or workaround till i get 5.7.2 ?
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Thu Jul 02, 2020 1:57 pm
by benjaminsmith
HI,
Yes, if it's affecting your monitoring and are unable to wait until 5.7.2, then I would recommend downgrading the backend database daemon to the previous versions ( see instructions below).
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
Let me know if you have any questions. Benjamin
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Fri Jul 03, 2020 5:48 am
by veeravamsi
Im getting some DB related errors :
db.c: In function ‘ndo2db_db_init’:
db.c:169:29: error: ‘ndo2db_dbconninfo’ has no member named ‘mysql_conn’
if(!mysql_init(&idi->dbinfo.mysql_conn)){
^
db.c: In function ‘ndo2db_db_connect’:
db.c:211:16: error: ‘ndo2db_dbconninfo’ has no member named ‘mysql_conn’
&idi->dbinfo.mysql_conn,
^
db.c:218:4: error: ‘CLIENT_REMEMBER_OPTIONS’ undeclared (first use in this function)
CLIENT_REMEMBER_OPTIONS
^
make[2]: *** [db.o] Error 1
make[2]: Leaving directory `/tmp/nagiosxi_patch/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.3/src'
make[1]: *** [ndo2db] Error 2
make[1]: Leaving directory `/tmp/nagiosxi_patch/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.3/src'
make: *** [all] Error 2
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Mon Jul 06, 2020 12:53 pm
by benjaminsmith
Hi,
That error message suggests it could not initialize a database connection. Do you have the MySQL service running and have you changed any of the default passwords? Also, is the database offloaded?
Can you PM your system profile, so I can check the ndo and Nagios configuration files. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Tue Jul 07, 2020 8:05 am
by veeravamsi
Yes we have changed default Password . While i get the system profile , any other steps i can do to update/bypass with changed password ?
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Wed Jul 08, 2020 10:07 am
by benjaminsmith
Hi,
After further review it looks like the mysql-devel package is missing from the system, and that might be why it cannot compile the old version.
What operating system are you using? And what is the output of the following command ( post the full output to the thread)?
Lastly, please PM your system profile when you have a chance. Thanks, Benjamin
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Mon Aug 17, 2020 9:11 am
by veeravamsi
This is resolved after 5.7.2 upgrade. So you can close this thread. Thank you !
Re: Host & Service Monitors Not Reflecting in Status Pages
Posted: Mon Aug 17, 2020 9:58 am
by scottwilkerson
veeravamsi wrote:This is resolved after 5.7.2 upgrade. So you can close this thread. Thank you !
Great!
Locking thread