Host & Service Monitors Not Reflecting in Status Pages

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
veeravamsi
Posts: 145
Joined: Wed Jan 23, 2019 3:35 am

Host & Service Monitors Not Reflecting in Status Pages

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
veeravamsi
Posts: 145
Joined: Wed Jan 23, 2019 3:35 am

Re: Host & Service Monitors Not Reflecting in Status Pages

Post by veeravamsi »

Thanks Benjamin. Server where this is running is fresh installation so any quick fix or workaround till i get 5.7.2 ?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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:

Code: Select all

systemctl start nagios
Let me know if you have any questions. Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
veeravamsi
Posts: 145
Joined: Wed Jan 23, 2019 3:35 am

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
veeravamsi
Posts: 145
Joined: Wed Jan 23, 2019 3:35 am

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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 ?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Host & Service Monitors Not Reflecting in Status Pages

Post 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)?

Code: Select all

yum list installed
Lastly, please PM your system profile when you have a chance. Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
veeravamsi
Posts: 145
Joined: Wed Jan 23, 2019 3:35 am

Re: Host & Service Monitors Not Reflecting in Status Pages

Post by veeravamsi »

This is resolved after 5.7.2 upgrade. So you can close this thread. Thank you !
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host & Service Monitors Not Reflecting in Status Pages

Post by scottwilkerson »

veeravamsi wrote:This is resolved after 5.7.2 upgrade. So you can close this thread. Thank you !
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked