Discussion:
[mrtg] NT 4 MRTG Install
Hendricks, Mark D.
1999-07-27 20:32:41 UTC
Permalink
I am attempting to initially configure MRTG on an Alpha running NT4.

As per the NT instructions, I downloaded MRTG (2.8.6) and changed the main::
OS to = NT.

I downloaded the latest version of Active Perl for the Alpha from Active
State, Checked
to verify that the path to Perl was in the System "environment".

I placed Rateup.exe in the MRTG-28.6 directory, and attempted to create the
mrtg.cfg file by typing perl cfgmaker ***@my device ip >mrtg.cfg.

C:\MRTG\MRTG-28.6>perl cfgmaker ***@xxx.xxx.xxx.xxx >mrtg.cfg
Can't open perl script "cfgmaker": No such file or directory

I noticed that there is no "cfgmaker" file in the mrtg-28.6 directory, but
that there is a "cfgmaker" file in the run directory.

C:\MRTG\MRTG-28.6>c:\perl\bin\perl c:\mrtg\mrtg-28.6\run\cfgmaker
***@xxx.xxx.xxx.xxx>c:\mrtg\mrtg-2
8.6\mrtg.cfg
ERROR: Can't find location of cfgmaker executable
BEGIN failed--compilation aborted at c:\mrtg\mrtg-28.6\run\cfgmaker line
52.

There is a "cfgmaker.pl" file in the mrtg-28.6/contrib/cfgmaker/
directory, so I tried that.

C:\MRTG\MRTG-28.6>c:\perl\bin\perl
c:\mrtg\mrtg-28.6\contrib\cfgmaker\cfgmaker.pl ***@xxx.xxx.xxx.
xxx >mrtg.cfg
Can't locate SNMP_Session.pm in @INC (@INC contains: c:/Perl/lib
c:/Perl/site/lib .) at

c:\mrtg\mrtg-28.6\contrib\cfgmaker\cfgmaker.pl line 15.
BEGIN failed--compilation aborted at
c:\mrtg\mrtg-28.6\contrib\cfgmaker\cfgmaker.pl line 15.

The perl path statement has forward, not back slashes, but I am at a loss
here.

I followed the directions exactly as printed in the Windows NT Guide to
MRTG.

Any ideas would be greatly appreciated. MRTG would be an awesome tool for
my organization.

Thanks
c***@daimlerchrysler.com
1999-07-27 22:42:34 UTC
Permalink
I've also noticed when I first installed MRTG for NT that the
documentation is a little bit off, but overall it was very good.

Most of the stuff IS in the run directory, including the
SNMP_session.pm and SNMP_util.pm. Move these two to the lib
subdirectory for perl. You should be able to run the cfgmaker in the
run directory, even though it has no .pl extension. Personally I don't
know why it wouldn't run, it works for me, and I'm not a programmer.
Maybe someone else knows. I guess you could rename it to cfgmaker.pl

Hope it works,
Chris


<199907272130.oaa0962-@axe.humboldt.edu> wrote:
original article:http://www.egroups.com/group/mrtg/?start=6737
Post by Hendricks, Mark D.
I am attempting to initially configure MRTG on an Alpha running NT4.
As per the NT instructions, I downloaded MRTG (2.8.6) and changed the
OS to = NT.
I noticed that there is no "cfgmaker" file in the mrtg-28.6
directory, but
Post by Hendricks, Mark D.
that there is a "cfgmaker" file in the run directory.
C:\MRTG\MRTG-28.6>c:\perl\bin\perl c:\mrtg\mrtg-28.6\run\cfgmaker
8.6\mrtg.cfg
ERROR: Can't find location of cfgmaker executable
BEGIN failed--compilation aborted at c:\mrtg\mrtg-28.6\run\cfgmaker
line
Post by Hendricks, Mark D.
52.
There is a "cfgmaker.pl" file in the mrtg-28.6/contrib/cfgmaker/
directory, so I tried that.
C:\MRTG\MRTG-28.6>c:\perl\bin\perl
xxx >mrtg.cfg
c:/Perl/site/lib .) at
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-***@list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
Loading...