Exporting Server not Working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Exporting Server not Working

Post by lb2cons »

Hello everyone. I'm having some problems with Highcharts export server.

We've just deployed Nagios XI and tried to download graphs:
Screen Shot 2014-12-09 at 15.06.12.png
After that I was redirected to a not found page:
Screen Shot 2014-12-09 at 15.06.20.png
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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Exporting Server not Working

Post by tmcdonald »

What version of Nagios XI are you running?
Former Nagios employee
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Exporting Server not Working

Post by lb2cons »

Hello, the latest: Nagios XI 2014R2.0
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Exporting Server not Working

Post by cmerchant »

How is it that you are creating a custom size for the graph?
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Exporting Server not Working

Post by lb2cons »

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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Exporting Server not Working

Post by lmiltchev »

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!
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Exporting Server not Working

Post by lb2cons »

Thank you. Please contact me when this issue were corrected
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Exporting Server not Working

Post by jomann »

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.
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.
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Exporting Server not Working

Post by lb2cons »

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.
Screen%20Shot%202014-12-11%20at%2017.27.36.png
You do not have the required permissions to view the files attached to this post.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Exporting Server not Working

Post by jomann »

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:

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.
Locked