Silviu Paragina
2009-Dec-04 18:14 UTC
[Puppet Users] Foreman reports - no pretty pictures :D
I''m playing around with foreman for the moment. I can''t seem to figure out how to make the dashboard look like in this screenshot http://theforeman.org/wiki/foreman/Screenshots#Dashboard In order for those statistics to work what should be done? I have activated the rrdgraph reports in puppetd, uncommented the line ":rrd_report_url: report/" in config/settings.yaml and added this Alias /report /var/lib/puppet/rrd/ <Directory /var/lib/puppet/rrd/> PassengerEnabled off Options Indexes Order deny,allow Allow from all </Directory> to the apache2 + passenger vhost definition. What have I missed? Or the screenshot is from trunk? Sidenote: I have also modified the metrics.rb to use the defualt rrd ruby bindings found in ubuntu 9.04. They seem to output the right stuff but :-?? this might be a cause :-?? Silviu -- 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.
Silviu Paragina
2009-Dec-04 19:12 UTC
Re: [Puppet Users] Foreman reports - no pretty pictures :D
On 04.12.2009 20:14, Silviu Paragina wrote:> I''m playing around with foreman for the moment. I can''t seem to figure > out how to make the dashboard look like in this screenshot > http://theforeman.org/wiki/foreman/Screenshots#Dashboard > > In order for those statistics to work what should be done? > I have activated the rrdgraph reports in puppetd, uncommented the line > ":rrd_report_url: report/" in config/settings.yaml and added this > Alias /report /var/lib/puppet/rrd/ > <Directory /var/lib/puppet/rrd/> > PassengerEnabled off > Options Indexes > Order deny,allow > Allow from all > </Directory> > to the apache2 + passenger vhost definition. > What have I missed? Or the screenshot is from trunk? > > > Sidenote: I have also modified the metrics.rb to use the defualt rrd > ruby bindings found in ubuntu 9.04. They seem to output the right stuff > but :-?? this might be a cause :-?? > > > > Silviu > > -- > > 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. > > >Never mind it work, but it is unable to find the hosts puppet master url. I''ll have to dig deeper into that Silviu -- 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.
Ohad Levy
2009-Dec-05 11:49 UTC
Re: [Puppet Users] Foreman reports - no pretty pictures :D
Hi, The rrd part is reusing the puppet old rrdgraph report, and I think that in the near future I''ll generate the graphs in foreman directly without having all of the problems with the current RRD graphs. nevertheless, in order to get the dashboard part of foreman going, you need to enable reports - thats not related to the rrd graphs generated by puppet - see http://theforeman.org/wiki/foreman/Puppet_Reports for more details. cheers, Ohad On Sat, Dec 5, 2009 at 2:14 AM, Silviu Paragina <silviu@paragina.ro> wrote:> I''m playing around with foreman for the moment. I can''t seem to figure > out how to make the dashboard look like in this screenshot > http://theforeman.org/wiki/foreman/Screenshots#Dashboard > > In order for those statistics to work what should be done? > I have activated the rrdgraph reports in puppetd, uncommented the line > ":rrd_report_url: report/" in config/settings.yaml and added this > Alias /report /var/lib/puppet/rrd/ > <Directory /var/lib/puppet/rrd/> > PassengerEnabled off > Options Indexes > Order deny,allow > Allow from all > </Directory> > to the apache2 + passenger vhost definition. > What have I missed? Or the screenshot is from trunk? > > > Sidenote: I have also modified the metrics.rb to use the defualt rrd > ruby bindings found in ubuntu 9.04. They seem to output the right stuff > but :-?? this might be a cause :-?? > > > > Silviu > > -- > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > >-- 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.
Silviu Paragina
2009-Dec-05 19:36 UTC
Re: [Puppet Users] Foreman reports - no pretty pictures :D
On 05.12.2009 13:49, Ohad Levy wrote:> Hi, > > The rrd part is reusing the puppet old rrdgraph report, and I think > that in the near future I''ll generate the graphs in foreman directly > without having all of the problems with the current RRD graphs. > > nevertheless, in order to get the dashboard part of foreman going, you > need to enable reports - thats not related to the rrd graphs generated > by puppet - see http://theforeman.org/wiki/foreman/Puppet_Reports for > more details.The reports were (are) on. The trunk version was also required, not 0.1.2 :-) Or I missed something in 0.1.2. I didn''t expect that the rrd should be on the puppet master, and above that the link to the puppet master was wrong. In the end I made some changes to the _rrdreport view :D One more question. I have the stored configs configuration, from what I figured every time I add a new host (or change the os/environment) I need to run rake puppet:migrate:populate_hosts RAILS_ENV=production is that right? Or I have misconfigured something. Thanks for the answer :) Silviu> > cheers, > Ohad > > > On Sat, Dec 5, 2009 at 2:14 AM, Silviu Paragina <silviu@paragina.ro > <mailto:silviu@paragina.ro>> wrote: > > I''m playing around with foreman for the moment. I can''t seem to figure > out how to make the dashboard look like in this screenshot > http://theforeman.org/wiki/foreman/Screenshots#Dashboard > > In order for those statistics to work what should be done? > I have activated the rrdgraph reports in puppetd, uncommented the line > ":rrd_report_url: report/" in config/settings.yaml and added this > Alias /report /var/lib/puppet/rrd/ > <Directory /var/lib/puppet/rrd/> > PassengerEnabled off > Options Indexes > Order deny,allow > Allow from all > </Directory> > to the apache2 + passenger vhost definition. > What have I missed? Or the screenshot is from trunk? > > > Sidenote: I have also modified the metrics.rb to use the defualt rrd > ruby bindings found in ubuntu 9.04. They seem to output the right > stuff > but :-?? this might be a cause :-?? > > > > Silviu > > -- > > 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 > <mailto:puppet-users@googlegroups.com>. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com > <mailto:puppet-users%2Bunsubscribe@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > > -- > > 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.-- 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.