Couldn't create temporary file. Check that the directory per

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
s.wiki
Posts: 82
Joined: Sat Mar 04, 2017 11:02 am

Couldn't create temporary file. Check that the directory per

Post by s.wiki »

host Performance Graph cannot download CSV files but only for Disk Usage as error below

Couldn't create temporary file. Check that the directory permissions for the /tmp directory are set to 777.

Already do command
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/temp

Any other solution can try?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Couldn't create temporary file. Check that the directory

Post by scottwilkerson »

Lets make sure apache is part of the nagios group
grep nag /etc/groups

Also, can you show the permissions of these commands

Code: Select all

ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts
ls -ld /usr/local/nagiosxi/html/includes/components
ls -ld /usr/local/nagiosxi/html/includes
ls -ld /usr/local/nagiosxi/html
Finally lets make sure selinux is disabled

Code: Select all

getenforce
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked