Export CSV from performance chart

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Export CSV from performance chart

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Export CSV from performance chart

Post by avandemore »

Are you sure it says tmp and not temp? A screenshot would be definitive.
Previous Nagios employee
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Export CSV from performance chart

Post by CameronWP »

That message was copy and pasted but sure, here is a screenshot:
nagiostmp.JPG
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

Post by avandemore »

What is the output of:

Code: Select all

ls -la /usr/local/nagiosxi/html/includes/components/pchart/
Previous Nagios employee
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Export CSV from performance chart

Post by CameronWP »

Here is the listing:
NagiosTmp2.JPG
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

Post by avandemore »

What about:

Code: Select all

ls -la /tmp
Previous Nagios employee
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Export CSV from performance chart

Post by CameronWP »

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

Post 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
Previous Nagios employee
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Export CSV from performance chart

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Export CSV from performance chart

Post 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.
Previous Nagios employee
Locked