Did you enable reporting in Foreman? - e.g.
http://theforeman.org/wiki/foreman/Puppet_Reports

I'm planning to generate all of the graphs within Foreman (no need to use
RRD anymore) soon (that is when I'll come back from Xmas vacation ), so
hopefully this wont be required and will look much nicer.

Cheers,
Ohad

On Sun, Dec 20, 2009 at 6:15 AM, koliama <a...@billing.ru> wrote:

> Hello,
> I have configured puppet 0.25.1+passenger+foreman 0.1-3+ruby-rrdtools
> (into fedora EPEL repository).
> When I try to look RRDRoport link by host I see "Close Sorry, no
> graphs for this host"
> When I try to look Reports link I couldn't see anything. But when I
> enter in adress bar "http:// mypuppethost/reports/host_fqdn/" - I see
> rrd reports graph (Daily, Weekly, e.t.c)
> How to configure puppet+foreman+apache for correct display puppet rrd
> reports in foreman web interface?
>
> My conf:
> puppet.conf
> [main]
>    external_nodes = /etc/puppet/node.rb
>    node_terminus  = exec
>    vardir = /var/puppet
>    logdir = $vardir/log
>    rundir = $vardir/run
>    ssldir = $vardir/ssl
>
> [puppetmasterd]
>
>    reportdir = /var/puppet/reports
>    reports = log,store,tagmail,rrdgraph
>    tagmap = $confdir/tagmail.conf
>    rrddir = $vardir/rrd
>    rrdinternval = $runinterval
>    rrdgraph = true
>    ssl_client_header = SSL_CLIENT_S_DN
>    ssl_client_verify_header = SSL_CLIENT_VERIFY
>    autosign = /etc/puppet/autosign.conf
>    modulepath = /etc/puppet/modules
>
> apache.conf
> Listen 3000
> <VirtualHost *:3000>
>    ServerName puppet
>    DocumentRoot /var/rails/foreman/public/
>    ErrorLog /var/rails/foreman/log/error_log
>    LogLevel error
>
> # Grant access to puppet reports
>  Alias /reports/ /var/puppet/rrd/
>  <Directory /var/puppet/rrd/>
>    PassengerEnabled off
>    Options Indexes
>    Order deny,allow
>    Allow from all
>  </Directory>
> </VirtualHost>
>
> foreman settingc.yaml
> ---
> :modulepath: /etc/puppet/modules/
> :rrd_report_url: reports/
> :puppet_server: srv2-puppet
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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.


Reply via email to