[mrtg] Use of uninitialized value in pattern match (m..MRTG_lib.pm line 537
Rob Kudyba
rkudyba at raeinternet.com
Sat Jan 22 17:16:46 MET 2005
This is on a RH8 box.
./bin/indexmaker /var/www/html/index.html
Use of uninitialized value in pattern match (m//) at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 537.
ERROR: "WorkDir" not specified in mrtg config file
from line 537:
#check the last input line
if ($first =~ m/^([^*]+)\*(.+)$/) {
$userules = ($1 eq $extprefix ? $extrules : '');
} else {
$userules = \%mrtgrules;
And from the mrtg cf file:
EnableIPv6: no
WorkDir: /var/www/html
Options[_]: integer,growright
As you can see the WorkDir is in the cfg file. What could I have done
wrong? I recreated the file w/ cfgmaker and same exact error occurs
Thanks,
Rob
http://www.messagepartners.com
--
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