Nagios Graph Explorer not working after upgrade to 2.8c
Nagios Graph Explorer not working after upgrade to 2.8c
Hello,
All my created dashboards no longer work since I upgraded to 2.8c. They seems to still exist on the dasboard, but they are blank... Also when I go to Graph Explorer, Top Alerts, Host Health and Service Health seems to work, but Scalable Performance graph, Time Stacked Performance Graph and Multistacked Performance Graph is loading eternally and does not show any graphs.
Please advice.
Willem
All my created dashboards no longer work since I upgraded to 2.8c. They seems to still exist on the dasboard, but they are blank... Also when I go to Graph Explorer, Top Alerts, Host Health and Service Health seems to work, but Scalable Performance graph, Time Stacked Performance Graph and Multistacked Performance Graph is loading eternally and does not show any graphs.
Please advice.
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
When I tail /var/log/httpd/error_log, it get the following errors after opening a dashboard with Grap Explorer dashlets on it:
I tried
and shift reload web page, but still same problem..
This isue is quite urgent as we have several endusers who have no dashlets on their created dashboards anymore.
http does not exist apparently...
Code: Select all
[Mon Jan 27 11:26:05 2014] [error] [client xx.xx.xx.xx] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi//dashboards/dashboard.php?id=trl0bgfpCode: Select all
service npcd restartThis isue is quite urgent as we have several endusers who have no dashlets on their created dashboards anymore.
http does not exist apparently...
Code: Select all
[root@nagios nagiosxi]# cd /usr/local/nagiosxi/html/
[root@nagios html]# ls -l
total 304
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 about
drwxr-x---. 2 nagios nagios 4096 Feb 14 2013 account
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 addons
drwxr-x---. 2 nagios nagios 4096 Aug 22 2012 admin
-rwxr-x---. 1 nagios nagios 20197 Jan 27 11:10 ajaxhelper.php
-rwxr-x---. 1 nagios nagios 1533 Jan 27 11:10 ajaxproxy.php
drwxr-x---. 3 nagios nagios 4096 Jun 6 2012 backend
drwxr-x---. 3 nagios nagios 4096 Jun 6 2012 config
-rwxr-x--- 1 nagios nagios 8150 Jan 27 11:10 config.inc.dist
-rwxr-x---. 1 nagios nagios 7815 Jan 27 11:10 config.inc.php
-rwxr-x--- 1 nagios nagios 7815 Jan 27 11:10 config.inc.saved
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 dashboards
drwxr-x---. 4 nagios nagios 4096 Jun 6 2012 db
drwxr-x---. 3 nagios nagios 4096 Jun 6 2012 downloads
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 help
drwxr-x---. 4 nagios nagios 4096 Jan 27 11:10 images
drwxr-x---. 12 nagios nagios 4096 Jan 27 11:10 includes
-rwxr-x---. 1 nagios nagios 993 Jan 27 11:10 index.php
-rwxr-x---. 1 nagios nagios 8147 Jan 27 11:10 install.php
-rwxr-x---. 1 nagios nagios 139924 Jan 27 11:10 login.php
-rw-r----- 1 nagios nagios 2212 Jan 27 11:10 loginsplash.inc.dist
-rw-r----- 1 nagios nagios 2212 Jan 27 11:10 loginsplash.inc.php
-rw-r----- 1 nagios nagios 2212 Jan 27 11:10 loginsplash.inc.saved
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 perfgraphs
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 reports
-rw-r-----. 1 nagios nagios 15520 Jan 27 11:10 rr.php
-rwxr-x---. 1 nagios nagios 6355 Jan 27 11:10 suggest.php
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 tools
-rwxr-x---. 1 nagios nagios 1983 Jan 27 11:10 upgrade.php
drwxr-x---. 2 nagios nagios 4096 Jun 6 2012 viewsNagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
It seem I have two problems.
1) The Grap Explorer does not work on Internet Explorer 11 and Firefox 26.0, but it does seem to load on Chrome
2) Our dashboards are not working on any browser and the httpd errorlog shows
when browsing to a dashboard with highcharts on it.
1) The Grap Explorer does not work on Internet Explorer 11 and Firefox 26.0, but it does seem to load on Chrome
2) Our dashboards are not working on any browser and the httpd errorlog shows
Code: Select all
[Mon Jan 27 11:26:05 2014] [error] [client xx.xx.xx.xx] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi//dashboards/dashboard.php?id=trl0bgfpNagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
Ok problem 1) can be solved by emptying temporay Internet Files.
I've been testing for problem 2) When I add a new dashlet to a dashboard it does seem to show. Does this mean I will have to add all my dashlets again from scratch?
Please say no.....
I've been testing for problem 2) When I add a new dashlet to a dashboard it does seem to show. Does this mean I will have to add all my dashlets again from scratch?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
Just wanted to say the new dashlet system and graph explorer system is very nice, I did found a minor issue with the order of services added to a multistacked graph. made a usability issue for it: http://tracker.nagios.com/view.php?id=494
So any news on the blank dashlets on my dashboards and the missing file /usr/local/nagiosxi/html/http?
So any news on the blank dashlets on my dashboards and the missing file /usr/local/nagiosxi/html/http?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
You upgraded from 2012R2.7, correct? Did you install from source or used one of our VMs? 32- or 64-bit? We are having difficulties recreating the issue in house, so the more info we get, the getter. What kind a dashlets did you create? Anything specific?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Graph Explorer not working after upgrade to 2.8c
Hello,
Yes I upgraded from 2012R2.7. I installed following the documentation competely (latest tar). The created dashlets are normal CPU, memory, SQL related perf data, pings rta and pl etc.
There is not one dashlet working from before the 2.8c update. They are all still there, but completely blank. The only thing I can do is delete them, pin and unpin and move them or change size, but they stay blank.
The only thing non default I changed in the past was changeing the default width and height, seehttp://support.nagios.com/forum/viewtop ... lit=+graph for information.
As I said when I add new graphs they are displayed nicely. The multistacked graphs are just perfect. Very nice work on that.
Willem
Yes I upgraded from 2012R2.7. I installed following the documentation competely (latest tar). The created dashlets are normal CPU, memory, SQL related perf data, pings rta and pl etc.
There is not one dashlet working from before the 2.8c update. They are all still there, but completely blank. The only thing I can do is delete them, pin and unpin and move them or change size, but they stay blank.
The only thing non default I changed in the past was changeing the default width and height, seehttp://support.nagios.com/forum/viewtop ... lit=+graph for information.
As I said when I add new graphs they are displayed nicely. The multistacked graphs are just perfect. Very nice work on that.
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
Did some new tests. When I go to a dashboard with 'the old dashlets' on I get the
When I go to a dashboard with new (multistacked) dashlets on, I get:
But I guess these errors are some other bug.
Willem
Code: Select all
[Tue Jan 28 20:09:54 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=j0ugjv
[Tue Jan 28 20:09:54 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=j0ugjv
[Tue Jan 28 20:09:54 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=j0ugjv
[Tue Jan 28 20:09:54 2014] [error] [client ip] File does not exist: /usr/local/nagiosxi/html/http:, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=j0ugjv
Code: Select all
[Tue Jan 28 20:06:33 2014] [error] [client ip] PHP Notice: Undefined variable: filterString in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/multistack.inc.php on line 23, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=khr0i28e
[Tue Jan 28 20:06:33 2014] [error] [client ip] PHP Notice: Undefined variable: filterString in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/multistack.inc.php on line 23, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=khr0i28e
[Tue Jan 28 20:06:33 2014] [error] [client ip] PHP Notice: Undefined variable: filterString in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/multistack.inc.php on line 23, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=khr0i28e
[Tue Jan 28 20:06:33 2014] [error] [client ip] PHP Notice: Undefined variable: filterString in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/multistack.inc.php on line 23, referer: http://nagios/nagiosxi/dashboards/dashboard.php?id=khr0i28e
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Nagios Graph Explorer not working after upgrade to 2.8c
I was able to recreate the issue on one of my test boxes. It is a bug, which should be fixed in the next release. Meanwhile, you can try the following patch (workaround). Make a backup of your "dashlet.inc.php" file:
Open the "dashlet.inc.php" in a text editor, and file the following line (around line 20):
Change it, so it is going to look like this:
Save and exit. Let me know if this brings your old dashlets to life.
Code: Select all
cd /usr/local/nagiosxi/html/includes/components/graphexplorer
cp -p dashlet.inc.php dashlet.inc.php.backupCode: Select all
$url = get_base_url().$url;Code: Select all
if (strpos($url,"://") ===false){
$url = get_base_url().$url;
}Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Graph Explorer not working after upgrade to 2.8c
Yes! They are all back. I checked the httpd error log and no errors reported for the 'old' dashlets. Thanks you.
Thread can be closed.
Thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net