xicore_eventqueue_chart not loading over https

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

xicore_eventqueue_chart not loading over https

Post by Mitchell »

Eversince we moved to HTTPS, we could not use the "xicore_eventqueue_chart" on Admin page becasue it has hardcoded URL in "ajaxhelpers-monitoringengine.inc.php" which loads this chart directly from google.

Code: Select all

$chart_url="http://chart.apis.google.com/chart?
I tried modifying the hardcoded URL to HTTPS but seems google has a bad cert for it.
Is there a way to load this image in background and not directly by browser? I looked at a similar post here... http://support.nagios.com/forum/viewtop ... 735#p41303
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: xicore_eventqueue_chart not loading over https

Post by scottwilkerson »

lets change

Code: Select all

$chart_url="http://chart.apis.google.com/chart?
to

Code: Select all

$chart_url="https://chart.googleapis.com/chart?
I've made the change for future versions in SVN
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: xicore_eventqueue_chart not loading over https

Post by Mitchell »

Thanks. The new URL works great.
Locked