Couldn't create temporary file error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ksafa
Posts: 91
Joined: Wed Jan 15, 2014 3:05 pm

Couldn't create temporary file error

Post by ksafa »

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.
Last edited by dwhitfield on Wed Jan 25, 2017 2:15 pm, edited 1 time in total.
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

Post by dwhitfield »

Are you using Cacti?

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
ksafa
Posts: 91
Joined: Wed Jan 15, 2014 3:05 pm

Re: Couldn't create temporary file error

Post by ksafa »

I guess that was it. Permissions were set to 755. I changed to 777 and now i can download charts.

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

Post by dwhitfield »

You're welcome!

I'm going to go ahead and lock the thread.
Locked