Scheduled Reports tmp directory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
andyb4u
Posts: 114
Joined: Tue Aug 15, 2017 1:58 am

Scheduled Reports tmp directory

Post by andyb4u »

Hi,

If I schedule a page to be run as a scheduled report with a pdf attachment, I notice that it creates that pdf in the /usr/local/nagiosxi/tmp/ directory. The pdf file does not get automatically deleted. However, a scheduled report with a pdf attachment, created for an availability report does not leave behind a pdf in this directory. Is this normal behaviour?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Scheduled Reports tmp directory

Post by benjaminsmith »

Hi Andy,

Which version of Nagiso XI are you currently using. I tested this out and did not see that some behavior.

There is a log file for scheduled reports, so let's check that for any errors.

Code: Select all

tail -n 100 /usr/local/nagiosxi/var/scheduledreporting.log
Also, the reports run on cron jobs, so let's check the cron log as well.

Code: Select all

tail -n 50 /var/log/cron
Please post those to the thread. Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
andyb4u
Posts: 114
Joined: Tue Aug 15, 2017 1:58 am

Re: Scheduled Reports tmp directory

Post by andyb4u »

Hi Benjamin,

We are using XI 5.8.7.

I've attached the outputs of the commands.

Thanks,
Andy
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Scheduled Reports tmp directory

Post by benjaminsmith »

Hi Andy,

Thanks for reaching out to us on this issue. I was able to re-create this on a Ubuntu system but not on my Cent system for some reason. I'm working with QA to get a bug report filed. In the meantime, I would clear out the temp directory so this directory is not using excess space.

Let me know if you have any questions.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked