Command applying but not showing in GUI
Command applying but not showing in GUI
Good morning team,
I need some help figuring out why when I disable Notifications in the GUI of my backup XI server, it shows the command submitted successfully but it does not show that notifications are disabled. I have to reboot the server to get the green check mark to change to a red X.
This has been happening since we updated to 5.7.3 a couple weeks ago.
It's not an emergency, because I can confirm the notifications actually do disable but it would be nice for the visual confirmation to occur like normal.
Thank you!
I need some help figuring out why when I disable Notifications in the GUI of my backup XI server, it shows the command submitted successfully but it does not show that notifications are disabled. I have to reboot the server to get the green check mark to change to a red X.
This has been happening since we updated to 5.7.3 a couple weeks ago.
It's not an emergency, because I can confirm the notifications actually do disable but it would be nice for the visual confirmation to occur like normal.
Thank you!
Re: Command applying but not showing in GUI
Yes, this is a known issue in Nagios XI. Enabling or disabling systems from the Monitoring Engine Status page successfully sets the engine state, but doesn't update the UI right away.
Good news, however: There's no need to restart Nagios XI. All you need to do is re-navigate to the page by clicking on Monitoring Engine Status (left nav) and it should show the updated engine status.
Good news, however: There's no need to restart Nagios XI. All you need to do is re-navigate to the page by clicking on Monitoring Engine Status (left nav) and it should show the updated engine status.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Command applying but not showing in GUI
Yes, that's typically what I do, but reloading the Monitoring Engine Status page does not produce the expected result. The Notifications still appear as enabled.
So, something else is going on.
So, something else is going on.
Re: Command applying but not showing in GUI
I'm wondering what the logs say is happening.
Can you upload your System Profile zip? You can get one by going to Admin (top menu), then going to System Profile (left nav) and clicking the big blue button.
Can you upload your System Profile zip? You can get one by going to Admin (top menu), then going to System Profile (left nav) and clicking the big blue button.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Command applying but not showing in GUI
System Profile received.
I'm noticing that there's an error in the nagios_commenthistory table inside the nagios database. the MySQL database - one of the tables is corrupt. It might be a good idea to run the database repair script.
I'm noticing that there's an error in the nagios_commenthistory table inside the nagios database. the MySQL database - one of the tables is corrupt. It might be a good idea to run the database repair script.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Command applying but not showing in GUI
That did the trick! I could've swore I ran a repair, but it must have been on a different host.
You can lock this as resolved. Thank you!
You can lock this as resolved. Thank you!
Re: Command applying but not showing in GUI
Hello team, unfortunately this issue is not yet resolved. Everyday we perform a failover restore from our Production XI server to our backup XI server to ensure if anything ever happens to the Production host, we have an up to date backup available immediately. It seems that something related to the profile restore process is causing the DB files to "lockup?" and when I login to the backup XI server to set the notifications from enabled to disabled, it shows the command successfully applied but the Green circle never changes to Red.
This began after we updated to 5.7.3.
Let me know what you need from me in order to identify the problem. Thank you.
This began after we updated to 5.7.3.
Let me know what you need from me in order to identify the problem. Thank you.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Command applying but not showing in GUI
Hi @ rferebee
I tested this out on my 5.7.4 system and did not have any issues. What value do you have set for the dashlet? By default it will refresh every 30 seconds, you can check this by going to Admin > Performance Settings > Dashlets. Try setting it to a low number like 5 or 10 seconds.
If that doesn't work, run the following tail command and disable notifications from the GUI and we'll see if there any errors we can capture.
I tested this out on my 5.7.4 system and did not have any issues. What value do you have set for the dashlet? By default it will refresh every 30 seconds, you can check this by going to Admin > Performance Settings > Dashlets. Try setting it to a low number like 5 or 10 seconds.
If that doesn't work, run the following tail command and disable notifications from the GUI and we'll see if there any errors we can capture.
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosxi/var/cmdsubsys.log /usr/local/nagiosxi/var/eventman.log
You do not have the required permissions to view the files attached to this post.
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!
Re: Command applying but not showing in GUI
This is all I get from tailing the logs:
No errors I can see. It's weird because like I said it shows the command is submitting successfully, but the Green dot doesn't switch to Red unless I reboot the box. Even refreshing the page doesn't update the status to Red.
Code: Select all
==> /usr/local/nagiosxi/var/cmdsubsys.log <==
PROCESSING COMMAND ID 48020...
PROCESS COMMAND: CMD=16, DATA={"cmd":11}
COMMAND DATA: {"cmd":11}
CMDARR:
Array
(
[cmd] => 11
)
CORE CMD: DISABLE_NOTIFICATIONS;0
SUBMITTING A NAGIOSCORE COMMAND...
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Command applying but not showing in GUI
Hi @referebee,
Thanks for the logs, that does look alright, this is odd. There must be an issue on this system with front scripts as it works and it just doesn't update the page like it's supposed to.
If your using Chrome ( or Firefox) hover over the Notifications element and select the inspect tools, then pull up the Network tab to verify that the scripts are loading correctly. If you see any errors, please take a screenshot and post it to the thread.
Regards,
Benjamin
Thanks for the logs, that does look alright, this is odd. There must be an issue on this system with front scripts as it works and it just doesn't update the page like it's supposed to.
If your using Chrome ( or Firefox) hover over the Notifications element and select the inspect tools, then pull up the Network tab to verify that the scripts are loading correctly. If you see any errors, please take a screenshot and post it to the thread.
Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
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!