Hello, I am facing a little problem(?) with foreman. I have enabled "reports=foreman,rrdgraph,store" on the puppetmaster. And, I can see the reports in foreman as well, except for the RRD Graphs. However, I can see "/var/puppet/rrd" being populated every time any client runs the configuration, I can see various HTML and PNG files under each hosts subdirectory. But, when I click on "RRDReport" on foreman''s web interface. I don''t see any graphs but rather broken image links. I am not sure what is missing here. PS: ruby-rrdtool is already installed from fedora project''s EPEL repository. OS is RHEL5. Thanks in advance. LOhit -- 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, I''m guessing that you went through http://theforeman.org/wiki/foreman/Puppet_RRD_Graphs. how do you access your rrd graphs directly? did you notice the apache alias statement? the rrd_report_url: settings (in config/settings.yaml) should point to the relative url from your puppetmaster. cheers, Ohad On Wed, Dec 9, 2009 at 6:35 PM, LOhit <lohit.b@gmail.com> wrote:> Hello, > > I am facing a little problem(?) with foreman. I have enabled > "reports=foreman,rrdgraph,store" on the puppetmaster. And, I can see the > reports in foreman as well, except for the RRD Graphs. > > However, I can see "/var/puppet/rrd" being populated every time any client > runs the configuration, I can see various HTML and PNG files under each > hosts subdirectory. > > But, when I click on "RRDReport" on foreman''s web interface. I don''t see > any graphs but rather broken image links. I am not sure what is missing > here. > > PS: ruby-rrdtool is already installed from fedora project''s EPEL > repository. OS is RHEL5. > > Thanks in advance. > LOhit > > -- > 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.
On 09.12.2009 12:35, LOhit wrote:> Hello, > > I am facing a little problem(?) with foreman. I have enabled > "reports=foreman,rrdgraph,store" on the puppetmaster. And, I can see > the reports in foreman as well, except for the RRD Graphs. > > However, I can see "/var/puppet/rrd" being populated every time any > client runs the configuration, I can see various HTML and PNG files > under each hosts subdirectory. > > But, when I click on "RRDReport" on foreman''s web interface. I don''t > see any graphs but rather broken image links. I am not sure what is > missing here. > > PS: ruby-rrdtool is already installed from fedora project''s EPEL > repository. OS is RHEL5.Check the html output. This is a bug in foreman as far as I can see (http://theforeman.org/issues/show/90). I use firefox+firebug for that. For me it didn''t detect the puppet master path right and I''ve hard coded it in app/views/hosts/_rrdreport.rhtml ie changed in there the line from <% url = "http://#{host.pm_fqdn}/#{$settings[:rrd_report_url]}/#{host.name}" -%> to <% url = "http://hostnameForRRDReports/#{$settings[:rrd_report_url]}/#{host.name}" -%> but this is an ugly ugly ugly hack and I suggest using the latest git version. Silviu> > Thanks in advance. > LOhit > > -- > > 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.
Hi Silviu, Well, that did the magic. :) Thanks a bunch. Best regards, -LOhit On Wed, Dec 9, 2009 at 5:48 PM, Silviu Paragina <silviu@paragina.ro> wrote:> On 09.12.2009 12:35, LOhit wrote: > > Hello, > > > > I am facing a little problem(?) with foreman. I have enabled > > "reports=foreman,rrdgraph,store" on the puppetmaster. And, I can see > > the reports in foreman as well, except for the RRD Graphs. > > > > However, I can see "/var/puppet/rrd" being populated every time any > > client runs the configuration, I can see various HTML and PNG files > > under each hosts subdirectory. > > > > But, when I click on "RRDReport" on foreman''s web interface. I don''t > > see any graphs but rather broken image links. I am not sure what is > > missing here. > > > > PS: ruby-rrdtool is already installed from fedora project''s EPEL > > repository. OS is RHEL5. > Check the html output. This is a bug in foreman as far as I can see > (http://theforeman.org/issues/show/90). I use firefox+firebug for that. > For me it didn''t detect the puppet master path right and I''ve hard coded > it in app/views/hosts/_rrdreport.rhtml > ie changed in there the line from > <% url > "http://#{host.pm_fqdn}/#{$settings[:rrd_report_url]}/#{host.name}" -%> > to > <% url > "http://hostnameForRRDReports/#{$settings[:rrd_report_url]}/#{host.name}" > -%> > > but this is an ugly ugly ugly hack and I suggest using the latest git > version. > > > Silviu > > > > > Thanks in advance. > > LOhit > > > > -- > > > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > >-- LOhit -- 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.