Scheduled Reports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matson-itops
Posts: 133
Joined: Wed Nov 18, 2015 11:19 pm

Scheduled Reports

Post by matson-itops »

We run scheduled reports.

We seem to have a ton of old tmp report data under
/usr/local/nagiosxi/tmp/exportreport-nagiosadmin-59e24292d3487

This "tmp" report data dates back to 2016.
a) How far back do we need to keep these?
b) How do we automatically purge this tmp folder to keep it's size under control?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled Reports

Post by lmiltchev »

What is the Nagios XI version that you are currently using?
The old "exportreport*" temp files *should* be deleted... It's possible that there is a bug with an older versions of Nagios XI. In any case, it should be safe to delete these files. You could run the following command from the command line:

Code: Select all

rm -rf /usr/local/nagiosxi/tmp/exportreport*
If you don't want to delete temp files manually, you could set up a cron job, using the above command.
Be sure to check out our Knowledgebase for helpful articles and solutions!
matson-itops
Posts: 133
Joined: Wed Nov 18, 2015 11:19 pm

Re: Scheduled Reports

Post by matson-itops »

we are running nagios xi 5.4.2
dwasswa

Re: Scheduled Reports

Post by dwasswa »

Thanks @lmiltchev,

@ matson-itops thats an olad version, did you try what @lmiltchev proposed?
Locked