Export CSV from performance chart
Export CSV from performance chart
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.
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.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Export CSV from performance chart
Are you sure it says tmp and not temp? A screenshot would be definitive.
Previous Nagios employee
Re: Export CSV from performance chart
That message was copy and pasted but sure, here is a screenshot:
Thanks!
Thanks!
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: Export CSV from performance chart
What is the output of:
Code: Select all
ls -la /usr/local/nagiosxi/html/includes/components/pchart/Previous Nagios employee
Re: Export CSV from performance chart
Here is the listing:
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: Export CSV from performance chart
What about:
Code: Select all
ls -la /tmpPrevious Nagios employee
Re: Export CSV from performance chart
I have attached a listing. Thanks!
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: Export CSV from performance chart
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
/var/log/httpd/*error_log
Previous Nagios employee
Re: Export CSV from performance chart
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
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Export CSV from performance chart
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.
Previous Nagios employee