[mrtg] Re: mrtg log file with bunches of 0's

Paul C. Williamson pwilliamson at mandtbank.com
Sun Feb 24 23:38:38 MET 2002


Gauge has nothing to do with getting reset.  It has 
more to do with the value not changing on each read.  
Sort of like cpu utilization...

Either that or your MaxBytes value is too low.

Paul

>>> "Wupsje" <mrtg at wps.tmfweb.nl> 02/24/02 17:31 PM >>>

actually no.
The value i'm reading does not get reset everytime I read it.
Meanwhile i've narrowed it down a bit more..
Still could use some help though :)

I've written a simple test program that inputs random values to MRTG.
Same way my other program inputs values into MRTG.
Now my test program i can see MRTG proces the data from in it's .log file
The other one i don't.

Output is as follows :

Value1
Value2
uptime
desc

PS both last values are plain text as you see them here...


Someone that has in insight for me?

Wouter


-----Oorspronkelijk bericht-----
Van: mrtg-bounce at list.ee.ethz.ch
[mailto:mrtg-bounce at list.ee.ethz.ch]Namens Paul C. Williamson
Verzonden: zondag 24 februari 2002 23:17
Aan: mrtg at list.ee.ethz.ch; mrtg at wps.tmfweb.nl
Onderwerp: [mrtg] Re: mrtg log file with bunches of 0's



I'm betting you need the gauge option.

Paul

>>> "Wupsje" <mrtg at wps.tmfweb.nl> 02/24/02 16:00 PM >>>

Hi,

Running the latest version (2.9.18pre1) on a windows 2000 machine..
Everything working well, until a tried adding a new counter.
I've managed to write my own console application that parses a CSV text file
outputted by the windows performance counter.
Now the problem is that the final .log file that mrtg creates is basically
filled with 0's.
Except the top line, which shows the right value eg

1014484123 0 43493
1014484123 0 0 0 0
1014482919 0 0 0 0
1014482700 0 0 0 0
1014482400 0 0 0 0
101442100 0 0 0 0
1014481800 0 0 0 0
1014481500 0 0 0 0

Just in case you might ask for it i've also included my .cfg file

Workdir: c:\mrtg\victor

Title[files]: Test
Pagetop[files]: <H1>Test Page</H1>
MaxBytes[files]: 10000000
Options[files]: growright, noinfo
Target[files]: `getvalue2 c:\perflogs\test.csv "\\TESTWEB\Web
Service(Test)\Total Files Received" "\\TEST\Web Service(Test)\Total Files
Sent"`

Now i've obviously overlooked something, just can't figure out what :(
Can someone help me?

Wouter


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



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


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



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