Hello everyone. I'm having some problems with Highcharts export server.
We've just deployed Nagios XI and tried to download graphs:
After that I was redirected to a not found page:
I know that highcharts has two methods of exporting server, the first one is use export.highcharts.com, the other is setup your own exporting-server using batik-rasterizer/php or Java/PhantonJS.
I've noticed that exporting has only this problem when the image has custom size, like in the first attachment, when this happen the requisition goes to my NagiosXI server, but, if I don't change the image size the requisition goes OK and the file is downloaded.
Am i doing something wrong? I didn't modify any configuration of NagiosXI .ova.
Another information, I've got this message in Apache error_log:
[Tue Dec 09 15:26:57 2014] [error] [client 10.20.20.2] File does not exist: /var/www/html/includes, referer: http://10.200.0.113/nagiosxi/dashboards ... d=d7mccig7
Server informations:
Linux Distribution and version? - CentOS 6.6
32 or 64bit? 64bit
VMware Image or Manual Install of XI? VMware Image on VMware Vsphere
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? No
Exporting Server not Working
Exporting Server not Working
You do not have the required permissions to view the files attached to this post.
Re: Exporting Server not Working
Hello, the latest: Nagios XI 2014R2.0
Re: Exporting Server not Working
How is it that you are creating a custom size for the graph?
Re: Exporting Server not Working
For custom size I mean the dashlet size inside a dashboard.
I've figured out that the size ins't the problem.
Actually, the problem it's only when the graph it's a capacity planning graph and when the graph is inside a dashboard.
Apache errors related:
[Wed Dec 10 21:40:20 2014] [error] [client 192.168.46.22] PHP Notice: Undefined offset: 3 in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/perfdata.inc.php on line 201, referer: http://svmonitora/nagiosxi/perfgraphs/
One more information. When I click to download the graph, I'm able to see the upload going on but when it's complete and Nagios has to redirect the download for me the error occurs.
Thanks in advance.
I've figured out that the size ins't the problem.
Actually, the problem it's only when the graph it's a capacity planning graph and when the graph is inside a dashboard.
Apache errors related:
[Wed Dec 10 21:40:20 2014] [error] [client 192.168.46.22] PHP Notice: Undefined offset: 3 in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/perfdata.inc.php on line 201, referer: http://svmonitora/nagiosxi/perfgraphs/
One more information. When I click to download the graph, I'm able to see the upload going on but when it's complete and Nagios has to redirect the download for me the error occurs.
Thanks in advance.
Re: Exporting Server not Working
I was able to recreate the issue and filed an internal bug report (TASK ID 4678).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Exporting Server not Working
Thank you. Please contact me when this issue were corrected
Re: Exporting Server not Working
I've fixed it and it will be in the next release.
Since this is an encrypted component, you'll have to reinstall the whole component using the zip file attached to get the updates now if you don't want to wait.
Since this is an encrypted component, you'll have to reinstall the whole component using the zip file attached to get the updates now if you don't want to wait.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Exporting Server not Working
Thanks for your quick response jomann, but as you can see in the image below, the component couldn't be installed.
Am I doing something wrong? I've removed Capacity Planning Report component and after that uploaded your zip file.
Am I doing something wrong? I've removed Capacity Planning Report component and after that uploaded your zip file.
You do not have the required permissions to view the files attached to this post.
Re: Exporting Server not Working
It looks like because the inc.php file is encrypted it won't upload via the Manage Component section.
You can unzip the folder into /usr/local/nagiosxi/html/includes/components/ but you'll need to do the following after:
You can unzip the folder into /usr/local/nagiosxi/html/includes/components/ but you'll need to do the following after:
Code: Select all
chown nagios:nagios -R /usr/local/nagiosxi/html/includes/components/capacityplanning/
chmod +x -R /usr/local/nagiosxi/html/includes/components/capacityplanning/backend/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.