[mrtg] Bug with --logging under windows NT

Davey.Rance at sungard.com Davey.Rance at sungard.com
Thu Nov 21 12:43:52 MET 2002


Hi all I noticed that a while ago the --logging=eventlog seemed to brake
This was working 2.9.17.

This is still broken in 2.9.26

Problem.

When MRTG is started with --logging=eventlog the following errors are
displayed.  It seems to still log the event to log.

Config.
Perl 5.6.1.633
MRTG 2.9.26
rrdtool 1.0.38
Windows 2000 SP3

Header of MRTG cfg file.
#*****************************************

WorkDir: \\target\mrtg$\
LogFormat: rrdtool
pathadd: c:\mrtg\rrdtool\
libadd: c:\mrtg\rrdtool\

#*****************************************

Command line.
C:\mrtg\bin>perl mrtg c:\mrtg\cfg\target.cfg --logging=eventlog

errors.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72.
Argument "Started mrtg\n" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 46.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199.

and if i try to run mrtg with a invalid config file this is the output.

C:\mrtg\bin>perl mrtg c:\mrtg\cfg\target --logging=eventlog
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72.
Argument "Started mrtg\n" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 46.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 72, <LOCK> line 1.
Use of uninitialized value in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.
Argument "WARN" isn't numeric in subroutine entry at
D:/Perl/site/lib/Win32/EventLog.pm line 199, <LOCK> line 1.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list