Help with Nagios Graph Explorer fix after upgrade to 2.8c
Posted: Fri May 09, 2014 12:06 pm
System Info
Linux Distribution and version?
*Linux fwapp003.wvus.org 2.6.18-371.4.1.el5PAE #1 SMP Thu Jan 30 06:51:58 EST 2014 i686 i686 i386 GNU/Linux
CentOS release 5.10 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
Forced SSL on NagiosXi login web screen
Nagios Xi version: Nagios XI 2012R2.8
Issue:
I'm trying to fix the issue with Nagios Graph Explorer not working after the upgrade to 2.8c.
Per lmiltchev on another post, he recommended the following fix:
However, my line 20 does not look like the one suggested: Please help.
Thank you,
Eddie
Linux Distribution and version?
*Linux fwapp003.wvus.org 2.6.18-371.4.1.el5PAE #1 SMP Thu Jan 30 06:51:58 EST 2014 i686 i686 i386 GNU/Linux
CentOS release 5.10 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
Forced SSL on NagiosXi login web screen
Nagios Xi version: Nagios XI 2012R2.8
Issue:
I'm trying to fix the issue with Nagios Graph Explorer not working after the upgrade to 2.8c.
Per lmiltchev on another post, he recommended the following fix:
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:
cd /usr/local/nagiosxi/html/includes/components/graphexplorer
cp -p dashlet.inc.php dashlet.inc.php.backup
Open the "dashlet.inc.php" in a text editor, and file the following line (around line 20):
$url = get_base_url().$url;
Change it, so it is going to look like this:
if (strpos($url,"://") ===false){
$url = get_base_url().$url;
}
Save and exit. Let me know if this brings your old dashlets to life.
However, my line 20 does not look like the one suggested: Please help.
Thank you,
Eddie