Page 1 of 1
Export CSV from performance chart
Posted: Wed Mar 29, 2017 9:43 am
by CameronWP
This may be an easy one but I am running into an issue exporting a performance chart into a CSV. When I attempt it I am seeing the message:
Couldn't create temporary file. Check that the directory permissions for the /tmp directory are set to 777.
When I check the /tmp directory it is set to 777 and testing shows that the Nagios user has full permission. I can't find anything in the forums of a similar issue and my Google is failing me. I am thinking I am missing something simple but any help would be appreciated.
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 9:54 am
by avandemore
Are you sure it says tmp and not temp? A screenshot would be definitive.
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 10:14 am
by CameronWP
That message was copy and pasted but sure, here is a screenshot:
nagiostmp.JPG
Thanks!
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 11:07 am
by avandemore
What is the output of:
Code: Select all
ls -la /usr/local/nagiosxi/html/includes/components/pchart/
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 11:17 am
by CameronWP
Here is the listing:
NagiosTmp2.JPG
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 11:22 am
by avandemore
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 11:55 am
by CameronWP
I have attached a listing. Thanks!
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 3:32 pm
by avandemore
Hm, all that looks good in terms of permissions. Why you have all those check results in there seems suspect. Can you please upload the file(s):
/var/log/httpd/*error_log
Re: Export CSV from performance chart
Posted: Wed Mar 29, 2017 7:51 pm
by CameronWP
I am sorry to have wasted your time, I finally got a maintenance window to upgrade and the issue was resolved. Thank you for your time! 5.3.2 -> 5.4.3
Re: Export CSV from performance chart
Posted: Thu Mar 30, 2017 8:53 am
by avandemore
Good to hear your issue is resolved one way or the other. Thanks for using Nagios! If you have further issues, please open a new thread or ticket.