[mrtg] Reversing with external script?

Joe Wixted jwixted at limecity.com
Sat Nov 15 23:34:50 MET 2003


Hello, All!

I'm monitoring free disk space on an NT40 server using perfmon and scripts
(as described here: http://www.wn.com.au/psimmo/)  I'm getting valid stats,
but I'd prefer to have the graphs be solid below the line, rather than open.
Reading the docs, it appears that I need to "reverse" the graphing by
placing a "-" on the Target[_] line.  I'm using an external script to
process the data for this graph, so placing that "-" had no effect.  Any
suggestions?

Here's the pertinent stuff from my .cfg:

Title[exchange.ldisk.freec]:\\exchange\LogicalDisk(0/C:)\Free Megabytes
Pagetop[exchange.ldisk.freec]: <H1>\\exchange\LogicalDisk(0/C:)\Free
Megabytes</H1>
MaxBytes[exchange.ldisk.freec]: 3940
Kilo[exchange.ldisk.freec]: 1024
unscaled[exchange.ldisk.freec]: dwmy
Options[exchange.ldisk.freec]: gauge, nopercent, growright, integer, noi
Target[exchange.ldisk.freec]: `perl getlog.pl c:\perflogs\exchange.csv
"\\exchange\LogicalDisk(0/C:)\Free Megabytes"`
YLegend[exchange.ldisk.freec]: Mb Free
ShortLegend[exchange.ldisk.freec]:Mb
LegendO[exchange.ldisk.freec]:Free Disk Available
LegendI[exchange.ldisk.freec]:.
Legend2[exchange.ldisk.freec]:.
Legend1[exchange.ldisk.freec]:.
Colours[exchange.ldisk.freec]:
GREEN#00eb0c,ORANGE#FF3300,BLUE#EEEEEE,VIOLET#ff00ff

TIA!

	-Joe

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