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-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.
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 <anm@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-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.
Yes, I configured reporting in Foreman: puppet.conf report = log,store,tagmail,rrdgraph,foreman Copy file foreman-report.rb into dir /usr/lib/ruby/site_ruby/1.8/ puppet/reports/foreman.rb and as edited $foreman_url = "http://mypuppethost" After this restart Apache - is the same result. RRDReports are not displayed in Foreman web page :( On 20 дек, 03:56, Ohad Levy <ohadl...@gmail.com> wrote:> 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-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.
reading your apache configs, i guess that foreman links to port 80 (and you are using 3000). you may switch to 80 or reformat the url statement yourself in app/views/hosts/_rrdreport.rhtml. cheers, Ohad On Sun, Dec 20, 2009 at 8:38 PM, koliama <anm@billing.ru> wrote:> Yes, I configured reporting in Foreman: > > puppet.conf > report = log,store,tagmail,rrdgraph,foreman > > Copy file foreman-report.rb into dir /usr/lib/ruby/site_ruby/1.8/ > puppet/reports/foreman.rb and as edited > $foreman_url = "http://mypuppethost" > After this restart Apache - is the same result. RRDReports are not > displayed in Foreman web page :( > > On 20 дек, 03:56, Ohad Levy <ohadl...@gmail.com> wrote: > > 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-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@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. > > >-- 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.
Q1: Ohad, I has not understood your assumption. You consider that in my options there is an error? Just in case I have edited options ServerName: ServerName puppet -> ServerName puppet:3000 And I see that Foreman listen only 3000 port. [user@puppet foreman]$ netstat -an | grep 80 udp 0 0 *:123 *:* unix 3 [ ] STREAM CONNECTED 3017806 unix 3 [ ] STREAM CONNECTED 3017805 unix 2 [ ] DGRAM 10806 [root@srv2-puppet foreman]# netstat -an | grep 3000 tcp 0 0 ::: 3000 :::* LISTEN tcp 0 0 ::ffff:192.168.1.68:3000 ::ffff: 192.168.1.106:1724 TIME_WAIT Socket on port 80 is not opened. P.S. In error_log I have seen the message: [Mon Dec 21 17:19:20 2009] [error] [client 192.168.1.106] File does not exist: /var/puppet/rrd/update_table, referer: http://srv2-puppet:3000/reports What can it mean? On 20 дек, 18:09, Ohad Levy <ohadl...@gmail.com> wrote:> reading your apache configs, i guess that foreman links to port 80 (and you > are using 3000). > > you may switch to 80 or reformat the url statement yourself in > app/views/hosts/_rrdreport.rhtml. > > cheers, > Ohad > > On Sun, Dec 20, 2009 at 8:38 PM, koliama <a...@billing.ru> wrote: > > Yes, I configured reporting in Foreman: > > > puppet.conf > > report = log,store,tagmail,rrdgraph,foreman > > > Copy file foreman-report.rb into dir /usr/lib/ruby/site_ruby/1.8/ > > puppet/reports/foreman.rb and as edited > > $foreman_url = "http://mypuppethost" > > After this restart Apache - is the same result. RRDReports are not > > displayed in Foreman web page :( > > > On 20 дек, 03:56, Ohad Levy <ohadl...@gmail.com> wrote: > > > 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-users@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@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. > >-- 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.
I try to edit file app/views/hosts/_rrdreport.rhtml <h3><%= host.name %> Last puppet report on <%host.last_report.getlocal %>, which is <%= time_ago_in_words (host.last_report) %> ago</h3> <center> <% url = "http://<b>srv2-puppet:3000</b>/#{SETTINGS [:rrd_report_url]}/#{host.name}" -%> <h4>Daily</h4> <img src = <%= "#{url}/time-daily.png"%>> <img src = <%= "#{url}/changes-daily.png"%>> <h4>weekly</h4> <img src = <%= "#{url}/time-weekly.png"%>> <img src = <%= "#{url}/changes-weekly.png"%>> </center> Restart apache. It has not helped :( On 21 дек, 22:37, koliama <a...@billing.ru> wrote:> Q1: Ohad, I has not understood your assumption. You consider that in > my options there is an error? > > Just in case I have edited options ServerName: > ServerName puppet -> ServerName puppet:3000 > And I see that Foreman listen only 3000 port. > [user@puppet foreman]$ netstat -an | grep 80 > udp 0 0 *:123 *:* > unix 3 [ ] STREAM CONNECTED 3017806 > unix 3 [ ] STREAM CONNECTED 3017805 > unix 2 [ ] DGRAM 10806 > [root@srv2-puppet foreman]# netstat -an | grep 3000 > tcp 0 0 ::: > 3000 :::* LISTEN > tcp 0 0 ::ffff:192.168.1.68:3000 ::ffff: > 192.168.1.106:1724 TIME_WAIT > > Socket on port 80 is not opened. > P.S. In error_log I have seen the message: > > [Mon Dec 21 17:19:20 2009] [error] [client 192.168.1.106] File does > not exist: /var/puppet/rrd/update_table, referer:http://srv2-puppet:3000/reports > > What can it mean? > > On 20 дек, 18:09, Ohad Levy <ohadl...@gmail.com> wrote: > > > reading your apache configs, i guess that foreman links to port 80 (and you > > are using 3000). > > > you may switch to 80 or reformat the url statement yourself in > > app/views/hosts/_rrdreport.rhtml. > > > cheers, > > Ohad > > > On Sun, Dec 20, 2009 at 8:38 PM, koliama <a...@billing.ru> wrote: > > > Yes, I configured reporting in Foreman: > > > > puppet.conf > > > report = log,store,tagmail,rrdgraph,foreman > > > > Copy file foreman-report.rb into dir /usr/lib/ruby/site_ruby/1.8/ > > > puppet/reports/foreman.rb and as edited > > > $foreman_url = "http://mypuppethost" > > > After this restart Apache - is the same result. RRDReports are not > > > displayed in Foreman web page :( > > > > On 20 дек, 03:56, Ohad Levy <ohadl...@gmail.com> wrote: > > > > 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-users@googlegroups.com. > > > > > To unsubscribe from this group, send email to > > > > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > > > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@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. > >-- 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.
Frank Sweetser
2009-Dec-24 12:11 UTC
Re: [Puppet Users] Re: Couldn''t see RRDReport in foreman
On 12/24/2009 5:16 AM, koliama wrote:> I try to edit file app/views/hosts/_rrdreport.rhtml > > <h3><%= host.name %> Last puppet report on<%> host.last_report.getlocal %>, which is<%= time_ago_in_words > (host.last_report) %> ago</h3> > <center> > <% url = "http://<b>srv2-puppet:3000</b>/#{SETTINGS > [:rrd_report_url]}/#{host.name}" -%>That''s not a valid url - you''re attempting to point it at a hostname of ''<b>srv2-puppet'' on a port of ''3000</b>''. Try taking the bold tags out. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC -- 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.
I wished to allocate with tag <b> change in URL. Probably it does not work in google groups. In a reality I certainly do not use this tag in URL. On 24 дек, 15:11, Frank Sweetser <f...@WPI.EDU> wrote:> On 12/24/2009 5:16 AM, koliama wrote: > > > I try to edit file app/views/hosts/_rrdreport.rhtml > > > <h3><%= host.name %> Last puppet report on<%> > host.last_report.getlocal %>, which is<%= time_ago_in_words > > (host.last_report) %> ago</h3> > > <center> > > <% url = "http://<b>srv2-puppet:3000</b>/#{SETTINGS > > [:rrd_report_url]}/#{host.name}" -%> > > That''s not a valid url - you''re attempting to point it at a hostname of > ''<b>srv2-puppet'' on a port of ''3000</b>''. Try taking the bold tags out. > > -- > Frank Sweetser fs at wpi.edu | For every problem, there is a solution that > WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken > GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC-- 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.
I wished to allocate with tag <b> change in URL. Probably it does not work in google groups. In a reality I certainly do not use this tag in URL. On 24 дек, 15:11, Frank Sweetser <f...@WPI.EDU> wrote:> On 12/24/2009 5:16 AM, koliama wrote: > > > I try to edit file app/views/hosts/_rrdreport.rhtml > > > <h3><%= host.name %> Last puppet report on<%> > host.last_report.getlocal %>, which is<%= time_ago_in_words > > (host.last_report) %> ago</h3> > > <center> > > <% url = "http://<b>srv2-puppet:3000</b>/#{SETTINGS > > [:rrd_report_url]}/#{host.name}" -%> > > That''s not a valid url - you''re attempting to point it at a hostname of > ''<b>srv2-puppet'' on a port of ''3000</b>''. Try taking the bold tags out. > > -- > Frank Sweetser fs at wpi.edu | For every problem, there is a solution that > WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken > GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC-- 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.
I wished to allocate with tag <b> change in URL. Probably it does not work in google groups. In a reality I certainly do not use this tag in URL. On 24 дек, 15:11, Frank Sweetser <f...@WPI.EDU> wrote:> On 12/24/2009 5:16 AM, koliama wrote: > > > I try to edit file app/views/hosts/_rrdreport.rhtml > > > <h3><%= host.name %> Last puppet report on<%> > host.last_report.getlocal %>, which is<%= time_ago_in_words > > (host.last_report) %> ago</h3> > > <center> > > <% url = "http://<b>srv2-puppet:3000</b>/#{SETTINGS > > [:rrd_report_url]}/#{host.name}" -%> > > That''s not a valid url - you''re attempting to point it at a hostname of > ''<b>srv2-puppet'' on a port of ''3000</b>''. Try taking the bold tags out. > > -- > Frank Sweetser fs at wpi.edu | For every problem, there is a solution that > WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken > GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC-- 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-26 12:01 UTC
Re: [Puppet Users] Re: Couldn''t see RRDReport in foreman
On 25.12.2009 13:11, koliama wrote:> I wished to allocate with tag<b> change in URL. Probably it does not > work in google groups. > In a reality I certainly do not use this tag in URL.Use firefox + firebug, inspect element there and check the output, it will probably point you in the right direction :) 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.
http://srv2-puppet:3000/hosts/rrdreport/2?_method=get - it''s link on which I try to go to RRDReport. In firebug I see next: <td class="inline-adapter-cell" colspan="99" style="background-image: none; background-color: transparent;"> <div class="rrdreport-view hosts-view view"> <a class="inline-adapter-close" title="Close" href="">Close</a> Sorry, no graphs for this host </div> </td Problem may be already solved? On 26 дек 2009, 15:01, Silviu Paragina <sil...@paragina.ro> wrote:> On 25.12.2009 13:11, koliama wrote:> I wished to allocate with tag<b> change in URL. Probably it does not > > work in google groups. > > In a reality I certainly do not use this tag in URL. > > Use firefox + firebug, inspect element there and check the output, it > will probably point you in the right direction :) > > 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.
Hi, Latest edge branch of foreman generates the graph in foreman (no need to rrd reports anymore). neverthelss the problem you indicated seems to be related to the fact the host never sent its reports to foreman (see http://theforeman.org/wiki/foreman/Puppet_Reports). cheers, Ohad On Sun, Jan 17, 2010 at 6:07 PM, koliama <anm@billing.ru> wrote:> http://srv2-puppet:3000/hosts/rrdreport/2?_method=get - it''s link on > which I try to go to RRDReport. > > In firebug I see next: > <td class="inline-adapter-cell" colspan="99" style="background-image: > none; background-color: transparent;"> > <div class="rrdreport-view hosts-view view"> > <a class="inline-adapter-close" title="Close" href="">Close</a> > Sorry, no graphs for this host > </div> > </td > > Problem may be already solved? > > On 26 дек 2009, 15:01, Silviu Paragina <sil...@paragina.ro> wrote: > > On 25.12.2009 13:11, koliama wrote:> I wished to allocate with tag<b> > change in URL. Probably it does not > > > work in google groups. > > > In a reality I certainly do not use this tag in URL. > > > > Use firefox + firebug, inspect element there and check the output, it > > will probably point you in the right direction :) > > > > 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.
Hi, Ohad Thanks for the answer. First - I''m a stupid idiot :( One parameter in settings.yaml prevented to see RRDreport in Foreman: :puppet_server: srv2-puppet - in my BAD config :puppet_server: srv2-puppet:3000 - in my WORK config Most likely because of this parametre it was incorrectly formed url to changes-daily.png e.t.c. Second - I use last "Daily snapshot", from 25 Jan., in it generation of graphs with the help foreman is realised? If yes - that how to configure? On 17 янв, 16:09, Ohad Levy <ohadl...@gmail.com> wrote:> Hi, > > Latest edge branch of foreman generates the graph in foreman (no need to rrd > reports anymore). > > neverthelss the problem you indicated seems to be related to the fact the > host never sent its reports to foreman (seehttp://theforeman.org/wiki/foreman/Puppet_Reports). > > cheers, > Ohad > > On Sun, Jan 17, 2010 at 6:07 PM, koliama <a...@billing.ru> wrote: > >http://srv2-puppet:3000/hosts/rrdreport/2?_method=get- it''s link on > > which I try to go to RRDReport. > > > In firebug I see next: > > <td class="inline-adapter-cell" colspan="99" style="background-image: > > none; background-color: transparent;"> > > <div class="rrdreport-view hosts-view view"> > > <a class="inline-adapter-close" title="Close" href="">Close</a> > > Sorry, no graphs for this host > > </div> > > </td > > > Problem may be already solved? > > > On 26 дек 2009, 15:01, Silviu Paragina <sil...@paragina.ro> wrote: > > > On 25.12.2009 13:11, koliama wrote:> I wished to allocate with tag<b> > > change in URL. Probably it does not > > > > work in google groups. > > > > In a reality I certainly do not use this tag in URL. > > > > Use firefox + firebug, inspect element there and check the output, it > > > will probably point you in the right direction :) > > > > 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.
On Tue, Jan 26, 2010 at 5:30 AM, koliama <anm@billing.ru> wrote:> > > Second - I use last "Daily snapshot", from 25 Jan., in it generation > of graphs with the help foreman is realised? > If yes - that how to configure? >Its currently available only under the git edge branch - you can use plain git or download it from github: http://github.com/ohadlevy/foreman/archives/edge I expect I''ll start merging it in the master branch soon, just too many things to do :) 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.