Hi Silviu,

Well, that did the magic. :)  Thanks a bunch.

Best regards,
-LOhit

On Wed, Dec 9, 2009 at 5:48 PM, Silviu Paragina <[email protected]> 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<puppet-users%[email protected]>
> .
> > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-users%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to