Page 2 of 2

Re: Gauge Dashlet in 2014 - no hosts selectable

Posted: Thu Jun 05, 2014 1:41 pm
by tecnalb
When I hit a host's performance graph page the https error log shows only this:

Code: Select all

[Thu Jun 05 14:37:36 2014] [error] [client 172.16.157.29] PHP Notice:  Array to string conversion in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 268, referer: https://nagios.sio/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=X.X.X.1&service=vlan57+IIT+Bandwidth&dest=auto
[Thu Jun 05 14:37:36 2014] [error] [client 172.16.157.29] PHP Notice:  Array to string conversion in /usr/local/nagiosxi/html/includes/dashlets/gauges/gauges.inc.php on line 268, referer: https://nagios.sio/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=X.X.X.1&service=vlan57+IIT+Bandwidth&dest=auto
If I change the Graph Timeframe, I see the same two errors show up. That's it....

Mod note: I wrapped your error output in [­code][­/code] tags so the URL will not become a link

Re: Gauge Dashlet in 2014 - no hosts selectable

Posted: Fri Jun 06, 2014 9:47 am
by scottwilkerson
Quick question, do you force SSL on your server? there was a bug related to this that was fixed in 2014R1.1

Code: Select all

- Fix bug where backend calls were forcing to connect to http://localhost even if forcing ssl -SW
Also, does the server respond to localhost?

Code: Select all

curl --insecure "https://localhost/"

Re: Gauge Dashlet in 2014 - no hosts selectable

Posted: Thu Aug 28, 2014 5:49 pm
by tecnalb
Hello,

I thought I would follow up. I'm on the latest version of XI and still cannot get this dash let to work. Even connecting to plain http://


And yes, curl --insecure "https://localhost/" does produce output.

Re: Gauge Dashlet in 2014 - no hosts selectable

Posted: Fri Aug 29, 2014 1:03 pm
by sreinhardt
Thanks for checking back! Just to 100% clarify, you removed forced http via apache, did a service restart, then attempted accessing the gauges and they still did not work?