[mrtg] Re: MRTG running on script data

Pierre pierre at softmaster.com.br
Sun Apr 22 03:04:50 MEST 2001


> Pierre wrote:
> 
> > I want to make a graph with the number of first line, but not making
> > average.
> 
> This is what the GAUGE option is for.
> 
> cheers
> -- 
>    

Thanks, i have my MRTG running ok now... the mrtg.cfg lines is this:

options[usuarios]: growright,noinfo,gauge,nopercent
Target[usuarios]: `/var/account/online`
Title[usuarios]: Usuarios logados no RAS
PageTop[usuarios]: <h1>Usuarios logados no RAS</h1>
MaxBytes[usuarios]: 30
Unscaled[usuarios]: ymwd

My script return 4 lines:

22
0
test
testing

And 22 is the number i need to plot.

Thanks for everybody!


Pierre
Pressa Networks
pierre at pressa.com.br




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