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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
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 <sheldonh@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
ah, we extend the schema... :) On Tue, Jun 2, 2009 at 5:31 PM, Sheldon Hearn <sheldonh@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Well I''d love to see what you''re doing if you''re inclined to share. :-) Do you modify puppet, or have you written a sideline cron job that punts reports over? 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 2, 2009 at 5:56 PM, Sheldon Hearn <sheldonh@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 2, 8:10 pm, Ohad Levy <ohadl...@gmail.com> wrote:> 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....Is that a full-blown web interface for Puppet, or just for reporting? I have a client who is asking about a GUI for configuration management of their Linux servers because they have very few Linux resources on site and would like a simple interface that their Windows folks can use from their desktops. I have a feeling they would pay money for a good web interface to all of Puppet. Paul --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Jun 5, 2009 at 7:38 AM, Paul Gear <paulgear@gmail.com> wrote:> > On Jun 2, 8:10 pm, Ohad Levy <ohadl...@gmail.com> wrote: > > 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.... > > Is that a full-blown web interface for Puppet, or just for reporting?it is a full blown web interface> > I have a client who is asking about a GUI for configuration management > of their Linux servers because they have very few Linux resources on > site and would like a simple interface that their Windows folks can > use from their desktops. I have a feeling they would pay money for a > good web interface to all of Puppet.hopefully, if they wait a while, they would get it for free, cheers, Ohad --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Ohad, --ah, we extend the schema... :) Can you say what the reporting schema looks like? And more importantly for me, are you combining logs and metrics in some way (if so how?) -thanks, Dan --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Dan, I wasn''t planning to include reporting so quickly, but you''ve inspired me to push it up a bit. you''ll find some basic info at http://ohadlevy.github.com/gni/ in the code, look in app/model/report.rb and db/migrate/*report* have fun Ohad On Wed, Jul 29, 2009 at 7:40 PM, Dan Bode <bodepd@gmail.com> wrote:> > Hi Ohad, > > --ah, we extend the schema... :) > > Can you say what the reporting schema looks like? And more importantly for > me, are you combining logs and metrics in some way (if so how?) > > -thanks, > > Dan > > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---