[mrtg] Re: threshold monitoring and rrdtool problem

Antonio Querubin tony at lava.net
Wed Nov 29 14:08:30 MET 2000


On Tue, 28 Nov 2000, Rainer Bawidamann wrote:

> Date: Tue, 28 Nov 2000 11:16:48 +0100
> From: Rainer Bawidamann <Rainer.Bawidamann at rz.uni-ulm.de>
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: threshold monitoring and rrdtool problem
>
>
> In article <Pine.BSI.4.30.0011270000160.25904-100000 at malasada.lava.net>,
> 	tony at lava.net (Antonio Querubin) writes:
> >
> > I was wondering if anyone is aware of a problem with getting RRDtool and
> > threshold monitoring in MRTG to coexist.  I'm running MRTG 2.9.4 and
> > threshold monitoring by itself works.  But when I switch logformat to
> > rrdtool, it's as if the threshold checking mechanism sees only 0 values.
> >
> > Are these two features mutually exclusive?
>
> I thought I fixed this.
>
> Please try this: Edit the mrtg script and change the line (~18)
>
>    @main::DEBUG=qw();
>
> to look like
>
>    @main::DEBUG=qw(log);
>
> Run mrtg for 3 or 4 intervals. You should get some debugging output.
> Send it to the list.

Hmmm, I'm getting 'badly formed number' messages in the output:

--log: Called:
RRDs::tune(/var/www/share/htdocs/mrtg/test/apapane_serial2_1.rrd
-a ds0:789500 -a ds1:789500 -d ds0:COUNTER -d ds1:COUNTER)
--log: Called:
RRDs::update(/var/www/share/htdocs/mrtg/test/apapane_serial2_1.rr
d, '975503120:292308201:4056430702')
--log: Called: RRDs::last()
--log: Called:
RRDs::fetch(/var/www/share/htdocs/mrtg/test/apapane_serial2_1.rrd
,'AVERAGE','-s',975503120,'-e',975503120)
--log:   got: 215959.519341817/115365.613819102
@: Badly formed number.
@: Badly formed number.



--
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