[mrtg] Eventlog.pm error

Scott Neader scott.neader at CenturyTel.com
Wed Mar 29 21:33:28 MEST 2006


Hi all.  OK, now my turn to ask a question. :-)

When I start MRTG without the --logging attribute, it works fine (except
for SNMP error):

C:\mrtg\bin>C:\Perl\bin\perl.exe mrtg \configs\mrtg.cfg
Name "SNMP_util::Debug" used only once: possible typo at mrtg line 166.
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die


However, when adding the --logging=eventlog attribute, I get all sorts
of errors relating to EventLog.pm:

C:\mrtg\bin>C:\Perl\bin\perl.exe mrtg --logging=eventlog
\configs\mrtg.cfg
Name "SNMP_util::Debug" used only once: possible typo at mrtg line 166.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 73.
Argument "Started mrtg with config '\\configs\\mrtg.cfg'\n" isn't
numeric in subroutine entry at C:/Perl/site/lib/Win32/EventLog.pm line
46.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 73.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 73.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 73.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 73.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.
Argument "WARN" isn't numeric in subroutine entry at
C:/Perl/site/lib/Win32/EventLog.pm line 199.


Probably a dumb mistake, but can someone tell me what I'm doing wrong?

Also, any ideas on the "Name "SNMP_util::Debug" used only once: possible
typo at mrtg line 166." error would be appreciated, too, but it doesn't
seem to be causing me any problems at the moment.

Thanks!

- Scott

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



More information about the mrtg mailing list