On Tue, Jun 2, 2009 at 5:56 PM, Sheldon Hearn <sheld...@starjuice.net>wrote:
> > > Well I'd love to see what you're doing if you're inclined to > share. :-) > I am more than happy to share, but for now I'm not allowed :-\ nevertheless, I'm working hard on releasing our full blown web interface.... > > Do you modify puppet, or have you written a sideline cron job that > punts reports over? you can do it in a few ways, one simple way is to use a cron job, another way is to write a customized puppet report (which update the database once a report comes in). if you go for the first approach, its not a bad idea to keep a local hash of the last report updated to the database, this will reduce a lot of overhead for querying the last report (we use memcache to store the last compile/report vs. the file mtime). cheers, Ohad > > > On Jun 2, 11:44 am, Ohad Levy <ohadl...@gmail.com> wrote: > > ah, we extend the schema... :) > > > > On Tue, Jun 2, 2009 at 5:31 PM, Sheldon Hearn <sheld...@starjuice.net > >wrote: > > > > > > > > > Huh? Where in the database are the reports? Or maybe this only > > > happens on a very recent version of puppet? We're using 0.24.8. > > > > > Thanks, > > > Sheldon. > > > > > On Jun 2, 11:05 am, Ohad Levy <ohadl...@gmail.com> wrote: > > > > Yes, we are reading the yaml file and processing and feeding them > into > > > the > > > > database as a puppet report. > > > > > > than you can display it in a web interface or send customized emails > etc. > > > > > > but if all you need is graphs, maybe use puppetview or just plain rrd > > > files? > > > > > > cheers, > > > > Ohad > > > > > > On Tue, Jun 2, 2009 at 3:10 PM, Sheldon Hearn < > sheld...@starjuice.net > > > >wrote: > > > > > > > When I got involved in our Puppet deployment, someone had already > done > > > > > some work getting the puppet client talking to one puppetmaster and > > > > > having puppetshow run on the puppetmaster. > > > > > > > We're using multiple puppetmasters, whcih have storeconfigs > enabled. > > > > > They all write to a centralized database. We were hoping to draw > > > > > reports on the kinds of stuff you get from Puppet::Util::Metric. > > > > > > > But I think there's been a misunderstanding. I think storeconfigs > > > > > doesn't store Puppet::Util::Metric values to the database, and so > > > > > we'll need to write some code to fish values out of /var/lib/ > > > > > puppetmaster/reports and punt them into new tables in the database, > if > > > > > we want to report out of a central database. > > > > > > > Can someone confirm? I'm just nervous that I've overlooked > something > > > > > obvious and am about to take on unnecessary work. > > > > > > > Thanks, > > > > > Sheldon. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---