[mrtg] Re: No stats in my graphs
PAUL WILLIAMSON
pwilliamson at mandtbank.com
Wed Feb 16 22:05:35 MET 2005
Ah, you said that. D'oh!
Ok, with regular mrtg (without RRDTool), what do the log files look like?
Do you give MRTG chance to update at least 6 times before you
check the average? I can't remember, but other than current,
no other values will show up until those sections are populated completely.
OR
Do the legends not show up on the bottom, or do they show up
but the numbers just show 0?
Paul
>>> "Guillermo Hechem" <ghechem at ciudad.com.ar> 2/16/2005 3:56:56 PM >>>
That line returns two values: the amount of memory I want and a constant
value I declared in the script. I knew MRTG expected 2 values, so I declared
the second value above the limit defined in MaxBytes, so that it´s not
included in the graph.
Perhaps I should make this clear: the graphs are fine, what I don´t have are
the Max, Average and Current values that should appear beneath them...
----- Original Message -----
From: "PAUL WILLIAMSON" <pwilliamson at mandtbank.com>
To: <ghechem at ciudad.com.ar>; <mrtg at list.ee.ethz.ch>
Sent: Wednesday, February 16, 2005 5:45 PM
Subject: Re: [mrtg] No stats in my graphs
What is the ouput of cscript //nologo usedMem.vbs ronts2lapl04 from the
command line?
I'm willing to bet anything that the result is one number.
If this is the case, just change it to output two numbers
and your program should start working.
Paul
>>> "Guillermo Hechem" <ghechem at ciudad.com.ar> 2/16/2005 3:23:16 PM >>>
Hi,
I´m using MRTG to graph the amount of free RAM memory a server has. The
graphs seem to be fine; the only problem is that I don´t get the
Current/Average/Max values in each graph.
I´m currently using MRTG with rrdtool, but I also tried with MRTG alone and
the result is the same.
I´m using a script (usedMem.vbs) to query the values of RAM through WMI.
My configuration file is:
Workdir: \mrtg\logs\
LogFormat: rrdtool
PathAdd: c:\rrdtool\bin
LibAdd: C:\Perl\site\lib\ppm-conf
Title[rosql04-mw]: Available MBytes
Pagetop[rosql04-mw]: <H1>Available MBytes</H1>
MaxBytes[rosql04-mw]: 8388608
Options[rosql04-mw]: gauge, nopercent
Target[rosql04-mw]: `cscript //nologo usedMem.vbs ronts2kapl04`
YLegend[rosql04-mw]: MB
XSize[rosql04-mw]: 600
YSize[rosql04-mw]: 200
ShortLegend[rosql04-mw]:
LegendO[rosql04-mw]:
LegendI[rosql04-mw]:
Legend2[rosql04-mw]:
Legend1[rosql04-mw]:
Interval: 1
Any help will be appreciated.
--
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