Gauge Dashlet in 2014 - no hosts selectable

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: Gauge Dashlet in 2014 - no hosts selectable

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Gauge Dashlet in 2014 - no hosts selectable

Post 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/"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: Gauge Dashlet in 2014 - no hosts selectable

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Gauge Dashlet in 2014 - no hosts selectable

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked