Host & Service Monitors Not Reflecting in Status Pages
-
veeravamsi
- Posts: 145
- Joined: Wed Jan 23, 2019 3:35 am
Host & Service Monitors Not Reflecting in Status Pages
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
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
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.
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!
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
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
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).
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Make sure this line is commented:
Then start the nagios service:
Let me know if you have any questions. Benjamin
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
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfgCode: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfgCode: Select all
systemctl start nagiosAs 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!
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
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
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
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.
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!
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
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
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
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
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!
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
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
Great!veeravamsi wrote:This is resolved after 5.7.2 upgrade. So you can close this thread. Thank you !
Locking thread