Hi again, I''m trying to configure puppetview (http://www.devco.net/pubwiki/Puppet/PuppetView) cause is one interesting thing I''d like to evaluate before moving to puppet. I''m following the above link but now I have some problems when sending reports from client to server. It says that I must modify puppetmaster behaviour with: [puppetmasterd] reports = rrdgraph,store,true reportdir = /tmp/puppet/ rrddir = /var/www/html/rdd/ rrdinterval = 60 rrdgraph = true in /etc/puppet/puppet.conf (I don''t have that file, but I have puppetd.conf, is it a typo?) Then, I must send rdd logs from client to server, for that, I''m following http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting I''ve modified my client''s /etc/puppet/puppetd.conf with: [puppetd] report = true so now looks like: [root@td234 ~]# grep . /etc/puppet/puppetd.conf |grep -v "#" [puppet] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [puppetd] classfile = $vardir/classes.txt localconfig = $vardir/localconfig report = true and I''ve tried to run puppetd in client side like: [root@td234 puppet]# puppetd --server gridinstall01.pic.es --waitforcert 60 --test notice: Ignoring cache info: Caching configuration at /var/lib/puppet/localconfig.yaml notice: Starting configuration run notice: //default/repos/Exec[/usr/bin/yum -y update]/returns: executed successfully info: Sent transaction report in 0.07 seconds notice: Finished configuration run in 1.55 seconds [root@td234 puppet]# puppetd --server gridinstall01.pic.es --waitforcert 60 --test --report notice: Ignoring cache info: Caching configuration at /var/lib/puppet/localconfig.yaml notice: Starting configuration run notice: //default/repos/Exec[/usr/bin/yum -y update]/returns: executed successfully info: Sent transaction report in 0.07 seconds notice: Finished configuration run in 1.55 seconds or just: [root@td234 ~]# puppetd --server gridinstall01.pic.es or [root@td234 ~]# puppetd --server gridinstall01.pic.es --report And puppet configs the node: Nov 5 14:53:20 td234 puppetd[23578]: Starting Puppet client version 0.22.4 Nov 5 14:53:21 td234 puppetd[23578]: Starting configuration run Nov 5 14:53:21 td234 puppetd[23578]: Finished configuration run in 0.31 seconds But server sees nothing under /tmp/report/ and client neither under /var/log/puppet/ [root@td234 ~]# ls /var/log/puppet/ [root@td234 ~]# So, what am I missing in the conf? Reports and Reporting seems quiet easy to config! TIA, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 Wed, 5 Nov 2008 14:58:49 +0100 Arnau Bria wrote: Hi, I solved some reporting problems: [...] bad:> [puppetmasterd] > reports = rrdgraph,store,true > reportdir = /tmp/puppet/ > rrddir = /var/www/html/rdd/ > rrdinterval = 60 > rrdgraph = trueMy conf should look like: reports = rrdgraph,store,log reportdir = $vardir/reports rrddir = $vardir/rrd rrdinterval = 60 rrdgraph = true fine:> [puppetd] > report = truethen I have: # ls /var/lib/puppet/reports/td234.pic.es/ 200811061507.yaml 200811061510.yaml rdd dir is still empty: # ls /var/lib/puppet/rrd/td234.pic.es/ # I''m following: http://reductivelabs.com/trac/puppet/wiki/ReportReference#rrdgraph logs say nothing about rrd or something similar, where may I find some info about what''s happening? It says I need ruby-rrd which I already have: rrdtool-1.2.28-1.el5.rf ruby-rrdtool-1.2.28-1.el5.rf Anyone knows if there''s any problem with this version and ]# cat /etc/redhat-release CentOS release 5.2 (Final) Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> logs say nothing about rrd or something similar, where may I find some > info about what''s happening?I got the error when debbuging: err: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - Bignum, expected T_STRING or T_FIXNUM on index 2 anyone faced it before? Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 Thu, 6 Nov 2008 16:43:31 +0100 Arnau Bria wrote:> err: Report rrdgraph failed: Could not create RRD > file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - > Bignum, expected T_STRING or T_FIXNUM on index 2 >I''ve installed http://rubyforge.org/projects/rubyrrdtool/ (.gem) # gem list --local *** LOCAL GEMS *** hoe (1.8.2) rake (0.8.3) rubyforge (1.0.1) RubyRRDtool (0.6.0) But got other error: warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics err: Report rrdgraph failed: Could not find graphs for daily also, read: http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5 [root@gridinstall01 ~]# ruby -rRRDtool -e ''puts :yep'' ruby: no such file to load -- RRDtool (LoadError) [root@gridinstall01 ~]# ln -s /usr/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0/RRDtool.so /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so [root@gridinstall01 ~]# ruby -rRRDtool -e ''puts :yep'' yep So now, test works for me. but did not solve the problem... warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics err: Report rrdgraph failed: Could not find graphs for daily Any ruby expert could help me? TIA, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2008-Nov-07 11:46 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
Hi all, well, I think I have some things clear now. I still have same error: warning: RRD library is missing; cannot store metrics But I think I have the source of the problem, maybe it''s a development issue. My scenario: # cat /etc/redhat-release CentOS release 5.2 (Final) # rpm -qa|grep puppet puppet-0.22.4-1.el5.rf puppet-server-0.22.4-1.el5.rf If I use rpmforge ruby-rrdtool (yum install ruby-rrdtool) #ruby-rrdtool-1.2.28-1.el5.rf That version creates: /usr/lib/ruby/site_ruby/1.8/i386-linux/RRD.so which puppet likes, cause it find it and is able to call it. But I get the error: err: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - Bignum, expected T_STRING or T_FIXNUM on index 2 which seems that is complaining about library version. I''ve downloadded rubyrrdtool-0.5.1.tgz and comparing README files I deduce that yum is installing version 0.51 !!!!! So, in Centos 5.2 puppet is not solving all its dependencies correctly. So, that version is not compatible with my puppet version. So, I must install 0.6 version I do it with gem, but I could build a rpm with the spec in http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5. that version creates: /root/RubyRRDtool-0.6.0/RRDtool.so ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Notice that now it''s called RRDtool.so instead of RRD.so. So now, my error makes sense. Puppet is looking for RRD.so and not RRDtool.so. /usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb # Load the library as a feature, so we can test its presence. Puppet.features.add :rrd, :libs => ''RRD'' Linking has no sense because of Init_RRDtool, so library should be rebuild with the other name. Someone knows how to do that ? May I open a bug? I also send it to devel list. Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Evan Hisey
2008-Nov-07 15:09 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, Nov 7, 2008 at 5:46 AM, Arnau Bria <arnaubria@pic.es> wrote:> > Hi all, > > > well, I think I have some things clear now. > I still have same error: > warning: RRD library is missing; cannot store metrics > > But I think I have the source of the problem, maybe it''s a development > issue. > > My scenario: > # cat /etc/redhat-release > CentOS release 5.2 (Final) > > # rpm -qa|grep puppet > puppet-0.22.4-1.el5.rf > puppet-server-0.22.4-1.el5.rf > > > If I use rpmforge ruby-rrdtool (yum install ruby-rrdtool) > #ruby-rrdtool-1.2.28-1.el5.rf > > That version creates: > /usr/lib/ruby/site_ruby/1.8/i386-linux/RRD.so which puppet likes, cause > it find it and is able to call it. > > But I get the error: > > err: Report rrdgraph failed: Could not create RRD > file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - > Bignum, expected T_STRING or T_FIXNUM on index 2 > > which seems that is complaining about library version. > > I''ve downloadded rubyrrdtool-0.5.1.tgz and comparing README files I > deduce that yum is installing version 0.51 !!!!! > So, in Centos 5.2 puppet is not solving all its dependencies correctly. > > > So, that version is not compatible with my puppet version. So, I must > install 0.6 version > I do it with gem, but I could build a rpm with the spec in > http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5. > > that version creates: > > /root/RubyRRDtool-0.6.0/RRDtool.so > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Notice that now it''s called RRDtool.so instead of RRD.so. > > So now, my error makes sense. Puppet is looking for RRD.so and not > RRDtool.so. > > /usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb > > # Load the library as a feature, so we can test its presence. > Puppet.features.add :rrd, :libs => ''RRD'' > > > Linking has no sense because of Init_RRDtool, so library > should be rebuild with the other name. > > > Someone knows how to do that ? May I open a bug? > I also send it to devel list. >I already did a rebuild. I ran in to this a while ago setting up puppetview. Here is the package I built for Centos and Puppet: http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm I would have to go and look back ad the Spec file to see what I did, but I do not think I did much beyond rebuild the package. Evan --~--~---------~--~----~------------~-------~--~----~ 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 Thu, Nov 6, 2008 at 10:33 AM, Arnau Bria <arnaubria@pic.es> wrote:> > On Thu, 6 Nov 2008 16:43:31 +0100 > Arnau Bria wrote: > >> err: Report rrdgraph failed: Could not create RRD >> file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - >> Bignum, expected T_STRING or T_FIXNUM on index 2 >> > I''ve installed http://rubyforge.org/projects/rubyrrdtool/ (.gem) > # gem list --local > > *** LOCAL GEMS *** > > hoe (1.8.2) > rake (0.8.3) > rubyforge (1.0.1) > RubyRRDtool (0.6.0) > > > But got other error: > > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > err: Report rrdgraph failed: Could not find graphs for daily > > also, read: > http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5 > > [root@gridinstall01 ~]# ruby -rRRDtool -e ''puts :yep'' > ruby: no such file to load -- RRDtool (LoadError) > [root@gridinstall01 ~]# ln -s /usr/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0/RRDtool.so /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so > [root@gridinstall01 ~]# ruby -rRRDtool -e ''puts :yep'' > yep > > > So now, test works for me. > > but did not solve the problem... > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > err: Report rrdgraph failed: Could not find graphs for daily > > > Any ruby expert could help me? >I suggest you look a the puppetview module I have up on the puppetview site and get the rrdtool I built for Centos form there also it should solve the last of your problems. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2008-Nov-07 15:21 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, 7 Nov 2008 09:09:02 -0600 Evan Hisey wrote: Hi Evan,> I already did a rebuild. I ran in to this a while ago setting up > puppetview. Here is the package I built for Centos and Puppet: > http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpmYep, I followed your treat:> > http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5.but the problem persists:> > that version creates: > > > > /root/RubyRRDtool-0.6.0/RRDtool.so > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > Notice that now it''s called RRDtool.so instead of RRD.so. > > > > So now, my error makes sense. Puppet is looking for RRD.so and not > > RRDtool.so. > > > > /usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb > > > > # Load the library as a feature, so we can test its presence. > > Puppet.features.add :rrd, :libs => ''RRD'' > > > > > > Linking has no sense because of Init_RRDtool, so library > > should be rebuild with the other name. > > > > > > Someone knows how to do that ? May I open a bug? > > I also send it to devel list. > >Installing your rpm points to same problem: [root@gridinstall01 ~]# wget -c http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm --16:18:41-- http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm Resolving unix.eng.ua.edu... 130.160.20.13 Connecting to unix.eng.ua.edu|130.160.20.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 15020 (15K) [application/x-rpm] --16:18:42-- (try: 2) http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm Reusing existing connection to unix.eng.ua.edu:80. HTTP request sent, awaiting response... 200 OK Length: 15020 (15K) [application/x-rpm] Saving to: `RubyRRDtool-0.6.0-1.i386.rpm'' 100%[======================================================================================================================================>] 15,020 45.5K/s in 0.3s 16:18:43 (45.5 KB/s) - `RubyRRDtool-0.6.0-1.i386.rpm'' saved [15020/15020] [root@gridinstall01 ~]# rpm - [root@gridinstall01 ~]# rpm -Uhv RubyRRDtool-0.6.0-1.i386.rpm Preparing... ########################################### [100%] 1:RubyRRDtool ########################################### [100%] [root@gridinstall01 ~]# rpm -ql RubyRRDtool /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so [...] info: Processing reports rrdgraph, store, log for td234.pic.es warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics warning: RRD library is missing; cannot store metrics warning: RRD library is missing; cannot graph metrics err: Report rrdgraph failed: Could not find graphs for daily> I would have to go and look back ad the Spec file to see what I did, > but I do not think I did much beyond rebuild the package.I understand you created: /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so but puppet looks for RDD.so, not RRDtool.so> EvanThansk for your reply, at least someone reads me :-) Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Evan Hisey
2008-Nov-07 15:56 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, Nov 7, 2008 at 9:21 AM, Arnau Bria <arnaubria@pic.es> wrote:> > On Fri, 7 Nov 2008 09:09:02 -0600>> > > > Installing your rpm points to same problem: > > [root@gridinstall01 ~]# wget -c http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm > --16:18:41-- http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm > Resolving unix.eng.ua.edu... 130.160.20.13 > Connecting to unix.eng.ua.edu|130.160.20.13|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 15020 (15K) [application/x-rpm] > --16:18:42-- (try: 2) http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm > Reusing existing connection to unix.eng.ua.edu:80. > HTTP request sent, awaiting response... 200 OK > Length: 15020 (15K) [application/x-rpm] > Saving to: `RubyRRDtool-0.6.0-1.i386.rpm'' > > 100%[======================================================================================================================================>] 15,020 45.5K/s in 0.3s > > 16:18:43 (45.5 KB/s) - `RubyRRDtool-0.6.0-1.i386.rpm'' saved [15020/15020] > > [root@gridinstall01 ~]# rpm - > [root@gridinstall01 ~]# rpm -Uhv RubyRRDtool-0.6.0-1.i386.rpm > Preparing... ########################################### [100%] > 1:RubyRRDtool ########################################### [100%] > > [root@gridinstall01 ~]# rpm -ql RubyRRDtool > /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so > [...] > info: Processing reports rrdgraph, store, log for td234.pic.es > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > warning: RRD library is missing; cannot store metrics > warning: RRD library is missing; cannot graph metrics > err: Report rrdgraph failed: Could not find graphs for daily > > > I understand you created: > /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so > > but puppet looks for RDD.so, not RRDtool.so > >> Evan > Thansk for your reply, at least someone reads me :-) >Okay, I''ll have to go see what I did to solve that. or where I solved that. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Evan Hisey
2008-Nov-07 16:06 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, Nov 7, 2008 at 9:56 AM, Evan Hisey <ehisey@gmail.com> wrote:> On Fri, Nov 7, 2008 at 9:21 AM, Arnau Bria <arnaubria@pic.es> wrote: >> >> On Fri, 7 Nov 2008 09:09:02 -0600 > >>> > >> >> Installing your rpm points to same problem: >> >> [root@gridinstall01 ~]# wget -c http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm >> --16:18:41-- http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm >> Resolving unix.eng.ua.edu... 130.160.20.13 >> Connecting to unix.eng.ua.edu|130.160.20.13|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 15020 (15K) [application/x-rpm] >> --16:18:42-- (try: 2) http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm >> Reusing existing connection to unix.eng.ua.edu:80. >> HTTP request sent, awaiting response... 200 OK >> Length: 15020 (15K) [application/x-rpm] >> Saving to: `RubyRRDtool-0.6.0-1.i386.rpm'' >> >> 100%[======================================================================================================================================>] 15,020 45.5K/s in 0.3s >> >> 16:18:43 (45.5 KB/s) - `RubyRRDtool-0.6.0-1.i386.rpm'' saved [15020/15020] >> >> [root@gridinstall01 ~]# rpm - >> [root@gridinstall01 ~]# rpm -Uhv RubyRRDtool-0.6.0-1.i386.rpm >> Preparing... ########################################### [100%] >> 1:RubyRRDtool ########################################### [100%] >> >> [root@gridinstall01 ~]# rpm -ql RubyRRDtool >> /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so >> [...] >> info: Processing reports rrdgraph, store, log for td234.pic.es >> warning: RRD library is missing; cannot store metrics >> warning: RRD library is missing; cannot graph metrics >> warning: RRD library is missing; cannot store metrics >> warning: RRD library is missing; cannot graph metrics >> warning: RRD library is missing; cannot store metrics >> warning: RRD library is missing; cannot graph metrics >> err: Report rrdgraph failed: Could not find graphs for daily >> >> >> I understand you created: >> /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so >> >> but puppet looks for RDD.so, not RRDtool.so >> >>> Evan >> Thansk for your reply, at least someone reads me :-) >> > Okay, I''ll have to go see what I did to solve that. or where I solved that. >Okay simple check, as you did not install by Yum, do you rrdtool installed? I would think you do but wanted to check. Also the current version of puppet for Centos/RHEL is 0.24.5, not 0.22. I really suggest you upgrade. I suspect that may also be part of the problem you are having. It is available at the EPEL repositories. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2008-Nov-07 16:21 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, 7 Nov 2008 10:06:17 -0600 Evan Hisey wrote: [...]> Okay simple check, as you did not install by Yum, do you rrdtool > installed? I would think you do but wanted to check. > Also the current > version of puppet for Centos/RHEL is 0.24.5, not 0.22. I really > suggest you upgrade. I suspect that may also be part of the problem > you are having. It is available at the EPEL repositories.That''s great! I added epel repos, updated, and now works! (with your rpm, mut try with gem or default ruby-rrdtool) ]# ls /var/lib/puppet/rrd/td234.pic.es/ changes-daily.png changes-weekly.png monthly.html resources.rrd time.html time-yearly.png changes.html changes-yearly.png resources-daily.png resources-weekly.png time-monthly.png weekly.html changes-monthly.png daily.html resources.html resources-yearly.png time.rrd yearly.html changes.rrd index.html resources-monthly.png time-daily.png time-weekly.png Just one question, why now debug send the process to background? [root@gridinstall01 ~]# /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --logdest=/var/log/puppet/puppetmaster.log --debug [root@gridinstall01 ~]# also with --no-daemonize: [root@gridinstall01 ~]# /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --logdest=/var/log/puppet/puppetmaster.log --no-daemonize --debug [root@gridinstall01 ~]#> EvanMany thanks Evan! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Evan Hisey
2008-Nov-07 17:37 UTC
[Puppet Users] Re: RRDtool.so vs RRD.so was [Reports and Reporting]
On Fri, Nov 7, 2008 at 10:21 AM, Arnau Bria <arnaubria@pic.es> wrote:> > On Fri, 7 Nov 2008 10:06:17 -0600 > Evan Hisey wrote: > > [...] >> Okay simple check, as you did not install by Yum, do you rrdtool >> installed? I would think you do but wanted to check. >> Also the current >> version of puppet for Centos/RHEL is 0.24.5, not 0.22. I really >> suggest you upgrade. I suspect that may also be part of the problem >> you are having. It is available at the EPEL repositories. > That''s great! > > I added epel repos, updated, and now works! (with your rpm, mut try > with gem or default ruby-rrdtool) > > ]# ls /var/lib/puppet/rrd/td234.pic.es/ > changes-daily.png changes-weekly.png monthly.html resources.rrd time.html time-yearly.png > changes.html changes-yearly.png resources-daily.png resources-weekly.png time-monthly.png weekly.html > changes-monthly.png daily.html resources.html resources-yearly.png time.rrd yearly.html > changes.rrd index.html resources-monthly.png time-daily.png time-weekly.png > > Just one question, why now debug send the process to background? > [root@gridinstall01 ~]# /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --logdest=/var/log/puppet/puppetmaster.log --debug > [root@gridinstall01 ~]# > also with --no-daemonize: > > [root@gridinstall01 ~]# /usr/bin/ruby /usr/sbin/puppetmasterd --manifest=/etc/puppet/manifests/site.pp --logdest=/var/log/puppet/puppetmaster.log --no-daemonize --debug > [root@gridinstall01 ~]# > >> Evan > Many thanks Evan! >No idea why the debug is getting backgrounded. Some one else will need to take this one on. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---