[mrtg] puzzling RRDs::tune error
Greg Cunningham
gregc at harrisgroup.com.au
Wed Jun 28 02:33:35 MEST 2006
Hello
I have had MRTG & RRD running for about a year, Then I discovered that it
had stopped working about 2 months previous. The root mailbox had a few k
of the following cron error:
Undefined subroutine &RRDs::tune called at /usr/bin/mrtg line 682.
code snippet from /usr/bin/mrtg:
} else {
# update the minimum/maximum according to maxbytes/absmax
# and (re)set the data-source-type to reflect cfg changes
# cost: 1 read/write cycle, but update will reuse the buffered
data
my @args = ($dotrrd, '-a', "ds0:$absi", '-a', "ds1:$abso",
'-d', "ds0:$up_abs", '-d', "ds1:$up_abs");
------> RRDs::tune(@args);
my $e = RRDs::error();
warn "ERROR: Cannot tune logfile: $e\n" if $e;
debug('log', "Called: RRDs::tune(@args)");
}
The puzzling thing is that my RRDs, which I snarfed with 'perl -MCPAN -e
shell' is found at:
/usr/lib/perl5/site_perl/5.8.5/Log/Log4perl/Appender/RRDs.pm
MRTG finds it with
LibAdd: /usr/lib/perl5/site_perl/5.8.5/Log/Log4perl/Appender/
... But RRDs.pm ___doesn't__have__a__tune()__subroutine___.
More puzzling, my problem appears unique as I haven't discovered a single
reference to RRDs::tune after several hours surfing.
This is a Fedora Core 3 install.
--
Greg Cunningham BAppComp, RHCE ph +61 3 6440 7453
Systems Analyst fx +61 3 6440 6455
Harris & Company Pty. Ltd. mo 0407 056 788
mailto:greg.cunningham at harrisgroup.com.au
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
--
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