> C:\mrtg-2.15.2\bin>perl mrtg --logging=eventlog mrtg.cfg
> Use of uninitialized value in subroutine entry at
> C:/Perl/lib/Win32/EventLog.pm line 73.
> Argument "Started mrtg with config 'mrtg.cfg'\n" isn't numeric in
> subroutine entry at C:/Perl/lib/Win32/EventLog.pm line 46.
> Use of uninitialized value in subroutine entry at
> C:/Perl/lib/Win32/EventLog.pm line 199.
> Argument "WARN" isn't numeric in subroutine entry at
> C:/Perl/lib/Win32/EventLog.pm line 199.

Check that you have the latest versions of both MRTG (you don't -- version 2.17 
is available now) and the Win32::Eventlog module (use PPM to check for 
updates).  Which version of Perl are you using?  5.8, 5.10 and 5.12 had some 
differences that could cause problems in earlier versions of MRTG.

This error looks like a difference in the way MRTG is calling the function to 
the way the library has the function defined, probably due to their being 
difference major version numbers?

* Upgrade MRTG to latest version and try
* If this doesn’t work, try with a different version of Perl -- 5.10 or 5.8

Steve


Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: [email protected]
 Please consider the environment before printing this e-mail 


_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to