[mrtg] Log File all 0-values

Brian A. Seklecki lavalamp at spiritual-machines.org
Tue Mar 20 20:43:50 CET 2007


It was calling rateup with:

--log: Called /usr/local/bin/rateup /var/www/htdocs/mrtg/pgsql/ 
slon.db00.events.mn 1174406129 -Z u 51884 51884 100000000 c #00cc00 
#0000ff #006600 #ff00ff l [events] k 1000 i 
/var/www/htdocs/mrtg/pgsql/slon.db00.events.mn-day.png -100000000 
-100000000 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0

--log: Called /usr/local/bin/rateup /var/www/htdocs/mrtg/pgsql/ 
slon.db00.events.mn 1174406108 -Z u 51874 51874 100000000 c #00cc00 
#0000ff #006600 #ff00ff l [events] k 1000 i 
/var/www/htdocs/mrtg/pgsql/slon.db00.events.mn-day.png -100000000 
-100000000 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0

The value was clearly increasing.

I was troubleshooting it for a while and changed too many independant 
variables to figure out why it was disqualifying data...

BUT IT SHOULD WARN ME if it's going that; and at least try to speculate 
why (or I can infer from where the error comes from)

This has happened to be before and it drives me mad because --debug is 
beign w/o an intimate knowledge or RRD tool.

~BAS

  On Tue, 20 Mar 2007, Alex van den Bogaerdt wrote:

> On Tue, Mar 20, 2007 at 11:37:15AM -0400, Brian A. Seklecki wrote:
>
>> They refuse to graph however.  The .log file is filled with 0 despite the
>> number most definately incrimenting over time.
>>
>> 1174404603 51242 51242
>> 1174404603 0 0 0 0
>> 1174404303 0 0 0 0
>> 1174404300 0 0 0 0
>> 1174404000 0 0 0 0
>
> So, data is coming in, but is ignored.  I immediately have to
> think about maxbytes.
>
> Write down a couple of these numbers (1st line, 1st line 5 minutes later)
> and compute the difference in both value and time.  Divide them to get a
> rate, and compare against the maximum allowed rate.
>
> HTH
> Alex
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>

l8*
 	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
 	       http://www.spiritual-machines.org/

"...from back in the heady days when "helpdesk" meant nothing, "diskquota"
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were."



More information about the mrtg mailing list