check_rrd_data.pl
Jean-Jacques.siquet
Jean-Jacques.siquet at experian.fr
Wed Jan 14 17:04:23 CET 2004
i have :
[root at treize libexec]# locate RRD
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/RRDs.bs
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/RRDs.so
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RRDp.pm
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RRDs.pm
/usr/share/doc/rrdtool-1.0.45/doc/RRDp.html
/usr/share/doc/rrdtool-1.0.45/doc/RRDp.txt
/usr/share/doc/rrdtool-1.0.45/doc/RRDs.html
/usr/share/doc/rrdtool-1.0.45/doc/RRDs.txt
/usr/share/man/man1/RRDp.1.gz
/usr/share/man/man1/RRDs.1.gz
i try :
use lib '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/';
but i have already:
Can't locate RRD/File.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RRDs/
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at
./check_rrd_data.pl line 46.
BEGIN failed--compilation aborted at ./check_rrd_data.pl line 46.
thanks
-----Message d'origine-----
De : nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]De la part de Marc
Powell
Envoye : mercredi 14 janvier 2004 16:05
A : Jean-Jacques.siquet; Marcio Queiroz; Francois JEANMOUGIN;
nagios-users at lists.sourceforge.net
Cc : Subhendu Ghosh
Objet : RE: [Nagios-users] check_rrd_data.pl
> -----Original Message-----
> From: Jean-Jacques.siquet [mailto:Jean-Jacques.siquet at experian.fr]
> Sent: Wednesday, January 14, 2004 9:01 AM
> To: Marcio Queiroz; 'Francois JEANMOUGIN'; nagios-
> users at lists.sourceforge.net
> Cc: Subhendu Ghosh
> Subject: [Nagios-users] check_rrd_data.pl
> Importance: High
>
> hi,
>
>
> i can't use this plugin :
>
> [root at treize libexec]# ./check_rrd_data.pl
> Can't locate RRD/File.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at
> ./check_rrd_data.pl line 45.
> BEGIN failed--compilation aborted at ./check_rrd_data.pl line 45.
>
>
> i have changed the line :
> require '/usr/local/nagios/libexec/utils.pm';
>
> could you explain me the good procedure?
You need to have rrdtool and the rrdtool perl modules installed --
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list