Gauge dashlets disappeared

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Gauge dashlets disappeared

Post 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?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Gauge dashlets disappeared

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Re: Gauge dashlets disappeared

Post 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.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Re: Gauge dashlets disappeared

Post by bbackstrom »

I think I found the console by selecting 'inspect element'. Will see what information is there.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Gauge dashlets disappeared

Post 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.
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.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Re: Gauge dashlets disappeared

Post 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)
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Gauge dashlets disappeared

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Re: Gauge dashlets disappeared

Post by bbackstrom »

I am not sure on that. Will ask internally. Thank you.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Gauge dashlets disappeared

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bbackstrom
Posts: 19
Joined: Tue Dec 22, 2015 12:07 pm

Re: Gauge dashlets disappeared

Post 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!
Locked