When attempting to download PDF for graphs we get the following error:
"Couldn't create temporary file. Check that the directory permissions for the /temp directory are set to 777."
Do we need to manually create /temp folder on the nagios server? Is there a config somewhere we can change the /temp folder to point to another location such as /tmp.
Thanks.
Couldn't create temporary file error
Couldn't create temporary file error
Last edited by dwhitfield on Wed Jan 25, 2017 2:15 pm, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Couldn't create temporary file error
Are you using Cacti?
What is the output of these commands:
What is the output of these commands:
Code: Select all
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
ls -l /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Re: Couldn't create temporary file error
I guess that was it. Permissions were set to 755. I changed to 777 and now i can download charts.
Thanks!
Thanks!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Couldn't create temporary file error
You're welcome!
I'm going to go ahead and lock the thread.
I'm going to go ahead and lock the thread.