[rrd-users] 14all.cgi, RRDTOOL and Windows 2000

gbrandt at pcibuf.com gbrandt at pcibuf.com
Wed Dec 5 21:23:41 MET 2001


Hello,

I am having a problem with running 14all.cgi with RRD and Windows 2000.  I
am getting an error in running line 14, which is:
use lib "C:\rrdtool\perl-shared";

I will then get another error in line 30, which is
use MRTG_lib "2.090003";

Any help with this would be appreciated.



# 14all.cgi
#
# create html pages and graphics with rrdtool for mrtg + rrdtool
#
# (c) 1999,2000 Rainer.Bawidamann at informatik.uni-ulm.de
# http://www.uni-ulm.de/~rbawidam/mrtg-rrd/14all-1.1.cgi
#
# use freely, but: NO WARRANTY - USE AT YOUR OWN RISK!

# if RRDs (rrdtool perl module) is not in the module search path (@INC)
# uncomment the following line and change the path appropriatly:
use lib "C:\rrdtool\perl-shared";

# RCS History - removed as it's available on the web

my $rcsid = '$Id: 14all.cgi,v 2.15 2000/11/22 10:02:27 rb1 Exp $';
my $subversion = (split(/ /,$rcsid))[2];
$subversion =~ m/^\d+\.(\d+)$/;
my $version = "14all.cgi 1.1p$1";

# my $DEBUG = 0; has gone - use config "14all*GraphErrorsToBrowser: 1"

use strict;
use CGI;
BEGIN { eval { require CGI::Carp; import CGI::Carp qw/fatalsToBrowser/ }
     if $^O !~ m/Win/i };
use RRDs 1.000011;
use MRTG_lib "2.090003";


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list