Dear Nagios Support Team,
Im facing an issue with GUI after we did upgrade from 5.6.12 to 5.7.1. The nagios monitoring itself its working i can see that checks are being performed we are getting alerts etc. But nothing is reflected in GUI. Things which are not working in GUI are:
- Last check and check content is not updated in GUI page
- If i add new host in Core Config Manager and apply configuration its not showing up in GUI at all
- Performance graphs are working fine
Can you advise what can be an issue and what information would you like me to attach to the topic to help you find the root cause?
GUI issues after 5.6.12 -> 5.7.1 upgrade
-
- Posts: 111
- Joined: Thu Dec 11, 2014 8:06 am
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
We did upgrade to 5.7.2 same issue
On System Information Tab ive noticed (attached) status of services - any idea how to trouybleshoot "monitoring engine process" ?
On System Information Tab ive noticed (attached) status of services - any idea how to trouybleshoot "monitoring engine process" ?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi Sib,
Let's do a full restart of the Nagios XI stack, this should get your monitoring engine running again. If not, let me know. Open up a shell on the XI server as root and run the following commands:
If you are still having trouble with check results coming in, please send over your system profile and we'll review the logs for you.
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.
Let's do a full restart of the Nagios XI stack, this should get your monitoring engine running again. If not, let me know. Open up a shell on the XI server as root and run the following commands:
Code: Select all
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
pkill -9 -u nagios
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
systemctl restart mysqld || systemctl restart mariadb
systemctl start nagios
systemctl start npcd
systemctl start crond
systemctl restart httpd
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!
-
- Posts: 111
- Joined: Thu Dec 11, 2014 8:06 am
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi i followed the steps but didnt help still GUI dont work as expected. Nagios profile file sent via PM to you
benjaminsmith wrote:Hi Sib,
Let's do a full restart of the Nagios XI stack, this should get your monitoring engine running again. If not, let me know. Open up a shell on the XI server as root and run the following commands:If you are still having trouble with check results coming in, please send over your system profile and we'll review the logs for you.Code: Select all
systemctl stop crond systemctl stop npcd systemctl stop nagios pkill -9 -u nagios rm -rf /usr/local/nagiosxi/var/dbmaint.lock rm -rf /usr/local/nagiosxi/var/event_handler.lock rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock systemctl restart mysqld || systemctl restart mariadb systemctl start nagios systemctl start npcd systemctl start crond systemctl restart httpd
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.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi @Sib,
It looks like you have enabled SELinux on this system and Nagios XI is not compatible with that configuration.
Nagios XI Restart
See: 5.4.2. DISABLING SELINUX
It looks like you have enabled SELinux on this system and Nagios XI is not compatible with that configuration.
Can you disabled SELinux on this server, and then do a full restart and let me know if the issue is resolved.[core:notice] [pid 13868] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
Nagios XI Restart
Code: Select all
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
pkill -9 -u nagios
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
systemctl restart mysqld || systemctl restart mariadb
systemctl start nagios
systemctl start npcd
systemctl start crond
systemctl restart httpd
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!
-
- Posts: 111
- Joined: Thu Dec 11, 2014 8:06 am
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi,
SeLinux has now been set to permissive mode but issue still persists...
SeLinux has now been set to permissive mode but issue still persists...
benjaminsmith wrote:Hi @Sib,
It looks like you have enabled SELinux on this system and Nagios XI is not compatible with that configuration.Can you disabled SELinux on this server, and then do a full restart and let me know if the issue is resolved.[core:notice] [pid 13868] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
Nagios XI RestartSee: 5.4.2. DISABLING SELINUXCode: Select all
systemctl stop crond systemctl stop npcd systemctl stop nagios pkill -9 -u nagios rm -rf /usr/local/nagiosxi/var/dbmaint.lock rm -rf /usr/local/nagiosxi/var/event_handler.lock rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock systemctl restart mysqld || systemctl restart mariadb systemctl start nagios systemctl start npcd systemctl start crond systemctl restart httpd
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi @Sib,
I noticed in the database log that the MySQL had recently run out of memory.
Can you post the MySQL configuration file.
Let me know if you notice any improvement after running the db repair script. If you're still having issues with check results not updating, it maybe necessary to downgrade the backend database to the previous version.
Just to clarify this particular issue, when you add the new host, are you able to find the host in the CCM? Also, what operating system are you using?If i add new host in Core Config Manager and apply configuration its not showing up in GUI at all
I noticed in the database log that the MySQL had recently run out of memory.
Please log in as root and run the following check and repair command.200807 10:48:29 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
Code: Select all
mysqlcheck -f -r -u root -pnagiosxi --all-databases --use_frm
Code: Select all
cat /etc/my.cnf
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!
-
- Posts: 111
- Joined: Thu Dec 11, 2014 8:06 am
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
I've run mysqlcheck -f -r -u root -pnagiosxi --all-databases --use_frm - still same issue with GUI
in CCM i can see newly configured host but its not visible outside CCM in GUI - but for instance alerts are being generated for new host so its active. MariaDB config sent via PM.
in CCM i can see newly configured host but its not visible outside CCM in GUI - but for instance alerts are being generated for new host so its active. MariaDB config sent via PM.
benjaminsmith wrote:Hi @Sib,Just to clarify this particular issue, when you add the new host, are you able to find the host in the CCM? Also, what operating system are you using?If i add new host in Core Config Manager and apply configuration its not showing up in GUI at all
I noticed in the database log that the MySQL had recently run out of memory.Please log in as root and run the following check and repair command.200807 10:48:29 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)Can you post the MySQL configuration file.Code: Select all
mysqlcheck -f -r -u root -pnagiosxi --all-databases --use_frm
Let me know if you notice any improvement after running the db repair script. If you're still having issues with check results not updating, it maybe necessary to downgrade the backend database to the previous version.Code: Select all
cat /etc/my.cnf
-
- Posts: 2
- Joined: Thu Oct 26, 2017 7:44 am
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
We too are facing this issue in multiple instances. The last couple of releases have been VERY rough.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Hi @cconkrig,
Sorry to hear your experiencing issues with the upgrade, let's get another thread going or support ticket open to directly assist you if you haven't done so already.
Thanks,
Benjamin
Sorry to hear your experiencing issues with the upgrade, let's get another thread going or support ticket open to directly assist you if you haven't done so already.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!