I am trying get puppet to write log data using rrdtool to be used by PuppetView. I have installed all the rrdtool packages including ruby- rrdtool. Here are by puppet configs: reports = rrdgraph, store reportdir = /var/www/html/_solutionset.com/app8.autodesk/current/ puppet/reports rrddir = /var/www/html/_solutionset.com/app8.autodesk/current/ puppet/html/rrd rrdinterval = $runinterval rrdgraph = true Here is the error I am getting on the puppet master: info: Found 132027-db2.bla.com in /etc/puppet/manifests/site.pp info: Found csp in /etc/puppet/manifests/site.pp notice: Compiled configuration for 132027-db2.bla.com in 0.01 seconds info: Processing reports rrdgraph, store for 132027-db2.bla.com err: Report rrdgraph failed: Could not create RRD file /var/www/html/ _bla.com/app8.autodesk/current/puppet/html/rrd/132027-db2.bla.com/ time.rrd: invalid argument --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Some more info: [root@acamp /]# rpm -qa | grep rrd perl-rrdtool-1.2.23-1.el4.rf ruby-rrdtool-1.2.23-1.el4.rf rrdtool-1.2.23-1.el4.rf [root@acamp /]# ruby -v ruby 1.8.1 (2003-12-25) [i386-linux-gnu] [root@acamp /]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 7) --~--~---------~--~----~------------~-------~--~----~ 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 Oct 1, 2008, at 6:15 PM, pavel wrote:> > I am trying get puppet to write log data using rrdtool to be used by > PuppetView. I have installed all the rrdtool packages including ruby- > rrdtool. > > Here are by puppet configs: > reports = rrdgraph, store > reportdir = /var/www/html/_solutionset.com/app8.autodesk/ > current/ > puppet/reports > rrddir = /var/www/html/_solutionset.com/app8.autodesk/ > current/ > puppet/html/rrd > rrdinterval = $runinterval > rrdgraph = true > > Here is the error I am getting on the puppet master: > > info: Found 132027-db2.bla.com in /etc/puppet/manifests/site.pp > info: Found csp in /etc/puppet/manifests/site.pp > notice: Compiled configuration for 132027-db2.bla.com in 0.01 seconds > info: Processing reports rrdgraph, store for 132027-db2.bla.com > err: Report rrdgraph failed: Could not create RRD file /var/www/html/ > _bla.com/app8.autodesk/current/puppet/html/rrd/132027-db2.bla.com/ > time.rrd: invalid argumentHmm. RRD is pretty obtuse in its errors. If the file already exists, try removing it and letting RRD recreate it. If it doesn''t, check permissions (although Puppet *should* manage those for you). Otherwise... I recognize the error, but I don''t really remember what caused it. When you do finally figure it out, please update the Errors page on the wiki, so others can share in your wisdom. -- It''s not that I''m afraid to die. I just don''t want to be there when it happens. -- Woody Allen --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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, Its not a permission issue i checked that. Looks like a big of some sort. Maybe the Version of puppet and the version of rrdtool? thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
This has info but nor sure what to make of it: http://thr3ads.net/puppet-users/2007/03/189581-rrdgraphs --~--~---------~--~----~------------~-------~--~----~ 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 Oct 2, 2008, at 3:25 PM, pavel wrote:> This has info but nor sure what to make of it: > http://thr3ads.net/puppet-users/2007/03/189581-rrdgraphsDid you use the ruby library[1] mentioned in the thread? http://rubyforge.org/projects/rubyrrdtool/ -- Those who speak most of progress measure it by quantity and not by quality. --George Santayana --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 am not sure if i had to install that. Since i installed the ruby- rrdtool rpm. I think its included in there. But i have tried to compile and install the RubyRRDtool 0.6.0 on the system as well and i am still getting the error. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---