RRDTOOL on Solaris 11 to install nagiosgraph
Hi all,
Plese could someone help me? I need to install nagiosgraph, but I cant do this, I am trying this for about 1 month. Actually I am trying to do the libary works, rrdtool. It is installed when i put on my server: rrdtool -v I can see it. root@nagios:/opt# rrdtool -v RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch> Compiled Jun 20 2014 10:05:43 Usage: rrdtool [options] command command_options Valid commands: create, update, updatev, graph, graphv, dump, restore, last, lastupdate, first, info, fetch, tune, resize, xport, flushcached RRDtool is distributed under the Terms of the GNU General Public License Version 2. (www.gnu.org/copyleft/gpl.html) For more information read the RRD manpages But I dont know to do it work. Look: root@nagios:/opt# rrdtool create temperature.rrd --step 300 \ > DS:temp:GAUGE:600:-273:5000 \ > RRA:AVERAGE:0.5:1:1200 \ > RRA:MIN:0.5:12:2400 \ > RRA:MAX:0.5:12:2400 \ > RRA:AVERAGE:0.5:12:2400 Bus Error (core dumped) I dont know now what to do. Some idea? I am actually workink on a Solaris 11 on a Sun SPARC T3. Thanks |
It seems you aren't using the Solaris rrdtool package but a custom built one.
I have no problem with the regular one: Code:
$ cat /etc/release |
Hi,
Now I am actualy trying to test this. perl -e 'use RRDs; print "OK\n";' Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. But I got a error and I try to fix this copying the archive that it wants for the folder in the INC, but it still doesnt work. Any idea? |
root@nagios:/opt/rrdtool-1.4.7/lib/perl/5.8.4# cp -r /usr/perl5/5.8.4/lib/sun4-solaris-64int/RRDs /usr/perl5/5.8.4/lib/sun4-solaris-64int
cp: /usr/perl5/5.8.4/lib/sun4-solaris-64int/RRDs and /usr/perl5/5.8.4/lib/sun4-solaris-64int/RRDs are identical root@nagios:/opt/rrdtool-1.4.7/lib/perl/5.8.4# perl -e 'use RRDs; print "OK\n";' Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/pe5/vendor_perl .) at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. I already tried to do this: root@nagios:/opt/rrdtool-1.4.7/lib/perl/5.8.4# perl -e 'use lib qw(/opt/rrdtool-1.4.7/lib/perl/5.8.4); use RRDs; print "OK\n";' Can't locate loadable object for module RRDs in @INC (@INC contains: /opt/rrdtool-1.4.7/lib/perl/5.8.4/sun4-solaris-64int /opt/rrdtool-1.4.7/lib/perl/5.8.4 /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. and copy the folder that it is asking about, but still the same error. Please, someone help me ;( |
All times are GMT -5. The time now is 03:07 PM. |