Ask Your Question

Puppet Enterprise 3.1 Limit the Number of Reports

asked 2013-11-25 11:57:02 -0600

louis gravatar image


Is there a way to limit the # of reports per node. We have a number of nodes that run reports every 30 minutes and certainly don't want to look back 3 months back to see dashboards.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-09 16:19:17 -0600

llowder gravatar image

You cannot change it on a per-node basis, but you can set the value for all reports.

You'll want to run, and then set a cron job to run, the following command on the console.

sudo /opt/puppet/bin/rake \
-f /opt/puppet/share/puppet-dashboard/Rakefile \
RAILS_ENV=production \
reports:prune upto=1 unit=mon

unit can be set to: yr,mon, wk, day, hr or min.

This will clear up the reports that show up in the Console, and only leave those that are newer than the specified time period.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-11-25 11:57:02 -0600

Seen: 251 times

Last updated: Dec 09 '13