Hi Nagios,
when I want to download the graph to a PDF-file PNG and jpeg image , Nagios XI give me an alert like below :
Couldn't create temporary file. Check that the directory permissions for the /temp directory are set to 777.
Download pdf Couldn't create temporary file.
Download pdf Couldn't create temporary file.
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Download pdf Couldn't create temporary file.
What is the output of:
Code: Select all
ls -la /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/tempPrevious Nagios employee
Re: Download pdf Couldn't create temporary file.
When downloading a graph, it needs to create that graph in a temp folder and the permissions for that folder and not set correctly and the following procedure should fix that.
Login as root to the Nagios server and run the following.
Now, try and download a graph and see if this resolved the issue.
Login as root to the Nagios server and run the following.
Code: Select all
chown -R nagios.nagios /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
chmod -R ug+rwx /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/tempBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Download pdf Couldn't create temporary file.
Hi,
it was working fine now
thank you very much
it was working fine now
thank you very much
Re: Download pdf Couldn't create temporary file.
Thanks for the update! Are we okay closing the thread or did you have any more questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.