Hi, I run following commands to clean reports from mysql & filesystem.
I am still learning puppet, try this on your test setup. For my requirement dashboard reports for three days is enough. cd /usr/share/puppet-dashboard ; export RAILS_ENV=production ; rake reports:prune upto=3 unit=day cd /usr/share/puppet-dashboard ; export RAILS_ENV=production ; rake reports:prune:orphaned find /var/lib/puppet/reports/ -mmin +300 -type f -print0 | xargs -0 -r rm > /dev/null 2>&1 On 15 October 2014 9:41:36 pm IST, Mark Rosedale <[email protected]> wrote: >Hello, > >I'm running puppet with puppetdb and puppet-dashboard all on my >master. > >I want to make sure that I don't get overrun with disk usage by either >the >master (storing reports) or the dbs for puppetdb (I'm running postgres) >or >puppet-dashboard (mysql). > >I'm wondering what some people do to manage disk usage for each of >these? > >Thanks, >mjr > > >-- >You received this message because you are subscribed to the Google >Groups "Puppet Users" group. >To unsubscribe from this group and stop receiving emails from it, send >an email to [email protected]. >To view this discussion on the web visit >https://groups.google.com/d/msgid/puppet-users/2c331555-f033-4f57-becd-e84e123ef947%40googlegroups.com. >For more options, visit https://groups.google.com/d/optout. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/072FA17F-DB31-40D7-A43D-A8888294D9B3%40skillneted.com. For more options, visit https://groups.google.com/d/optout.
