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

[EMAIL PROTECTED] ~]# ruby -rRRDtool -e 'puts :yep'
ruby: no such file to load -- RRDtool (LoadError)
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to