Hello,

I'm a MRTG newbie, and I do not know much about perl.

On NW6.5.3 MRTG runns very nice. Now I tried it on several NW6.0.5 Servers, at
all of them I get the same error:

------------------------------------------------------------
Loading module PERL.NLM
Perl 5.8.0 - Script interpreter for NetWare
Version 3.20.02 19 March 2004
Copyright (C) 2000-01, 2003 Novell, Inc. All Rights Reserved.
Auto-Loading Module NWSEC.NLM
Auto-loading module NWSEC.NLM
Scripting - Security Library
Version 1.00.02 13 January 2004
Copyright (C) 2001-03 Novell, Inc. All Rights Reserved.
Module NWSEC.NLM load status OK
Module PERL.NLM load status OK
Loading module CWD.NLM
Perl 5.8.0 - Cwd Extension XS_VERSION: 2.06
Version 3.20.02 14 January 2004

Module CWD.NLM load status OK
Can't locate MRTG_lib.pm in @INC (@INC contains: BM/SYS:/perl/scripts/../lib/mrt
g2 BM/SYS:/perl/scripts sys:\perl\lib .) at sys:\mrtg\bin\cfgmaker.pl line 49.
BEGIN failed--compilation aborted at sys:\mrtg\bin\cfgmaker.pl line 49.
-----------------------------------------------------------------


The lines in cfgmaker.pl is that one from mrtg-2.13.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
#! /usr/bin/perl
# -*- mode: Perl -*-
################################################## ################
# MRTG 2.13.2 -- Config file creator
################################################## ################
# Created by Tobias Oetiker <oetiker@ee.ethz.ch>
# this produces an mrtg config file for one router or more routers
# by pulling info off the router via snmp
################################################## ################
# Distributed under the GNU copyleft
# Copyright 2000 by Tobias Oetiker
################################################## ################

# DEBUG TARGETS
# base - basic program flow
# snpo - SNMP Polling
# snpd - SNMP Detail
#@main::DEBUG=qw(base snpo coca);
@main::DEBUG=qw();

require 5.005;
use strict;

BEGIN {
# Automatic OS detection ... do NOT touch
if ( $^O =~ /^(?:(ms)?(dos|win(32|nt)?))/i ) {
$main::OS = 'NT';
$main::SL = '\\';
$main::PS = ';';
} elsif ( $^O =~ /^NetWare$/i ) {
$main::OS = 'NW';
$main::SL = '/';
$main::PS = ';';
} elsif ( $^O =~ /^VMS$/i ) {
$main::OS = 'VMS';
$main::SL = '.';
$main::PS = ':';
} else {
$main::OS = 'UNIX';
$main::SL = '/';
$main::PS = ':';
}
}

use FindBin;
use lib "${FindBin::Bin}";
use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main: :SL}mrtg2";

use MRTG_lib "2.100015";
<<<< ---- next one is Line 49---- >>>
use Getopt::Long;
use Pod::Usage;
use Socket;

[snip]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

Perl is 5.8.x, as stated to be required in the readme. As there are several
postings telling about successful use of MRTG even on NW5.1, I expect it *CAN*
run on NW6.0.x as well.

What do I miss?

Thanks for any suggestions,


Rudi.

--
IT-Beratung Rudolf Thilo
Schweinfurter Str. 131
97464 Niederwerrn
t: +49 (0)9721/6464840
f: +49 (0)9721/6464841
m: +49(0)171/685 9 685