Page 1 of 2

Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 11:15 am
by bbackstrom
We created a dashboard with several different gauge dashlets to measure response for certain pages of a web site. Some of the gauges (not all) suddenly stopped appearing, even though the placeholder is there when you hover in the area. What could have happened?

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 11:52 am
by npolovenko
Hello, @bbackstrom. Have you updated XI recently? What version of XI is that? If you have google chrome right click on the placeholder, choose the Developers Console and look for the errors.

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 12:27 pm
by bbackstrom
We have not updated recently, no (though we plan to). This is version Nagios XI 5.4.13. I logged in with Chrome but when I right click on any of the placeholders I do not get a menu option for developers console.

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 12:37 pm
by bbackstrom
I think I found the console by selecting 'inspect element'. Will see what information is there.

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 12:38 pm
by npolovenko
@bbackstrom, Here's how to access it.
Untitled.png
Could you also send in your Nagios XI System Profile so I can review it?
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 send it in a private message.
After you send the profile please post something in this thread to bring it back up in the support queue.

Profile recieved and shared with the support team.

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 12:54 pm
by bbackstrom
Also this from console:

VM4608:15 Uncaught ReferenceError: myShinyGauge_gauges_inner_sdXN2n is not defined
at Object.success (eval at <anonymous> (VM4545 jquery-1.12.4.min.js:2), <anonymous>:15:25)
at i (VM4545 jquery-1.12.4.min.js:2)
at Object.fireWith [as resolveWith] (VM4545 jquery-1.12.4.min.js:2)
at y (VM4545 jquery-1.12.4.min.js:4)
at XMLHttpRequest.c (VM4545 jquery-1.12.4.min.js:4)

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 1:26 pm
by npolovenko
@bbackstrom, How long have you had the Mod Security on this server? Is this something you implemented just recently?
[Thu Nov 08 17:00:39.230422 2018] [:error] [pid 15139] [client 127.0.0.1] ModSecurity: Access allowed (phase 1). Pattern match "^127\\\\.0\\\\.0\\\\.1$" at REMOTE_ADDR. [file "/etc/httpd/conf.d/mod_security.conf"] [line "11"] [id "9999931"] [hostname "localhost"] [uri "/nagiosxi/backend/"] [unique_id "W@RrtwVPHb2dPtnUw1U0gAAAAAc"]
Perhaps its blocking JQuery acess to the CDN repo?

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 2:43 pm
by bbackstrom
I am not sure on that. Will ask internally. Thank you.

Re: Gauge dashlets disappeared

Posted: Thu Nov 08, 2018 4:18 pm
by npolovenko
@bbackstrom, Sounds good. Basically, I'd like to know if that or anything else on the network could be blocking the access to jquery CDN. And what kind of changes were done to this XI server during the past few days before these dashlets broke? Thank you!

Re: Gauge dashlets disappeared

Posted: Mon Nov 12, 2018 10:01 am
by bbackstrom
We discovered a change was made to a script workflow which caused a rename. We suspect this is the root cause and will have to add back the gauges. Thanks for the help!