[mrtg] graphing more than two values with mrtg/rrdtool

Eric Hernandez Eric.Hernandez at allegiantair.com
Mon Jun 16 19:52:58 CEST 2008


Mrtg Users,

I am trying to create a graph that graphs the cpu for three servers.
I am using rrdtool.
It only seems to want to graph the first two number?

Is it possible to graph all three values in one graph?

the script outputs the follwing values

52
22
53

Target[3cpus]: `/home/mrtg/scripts/3cpu.pl `
Title[3cpus]:  CPU Usage for 1 2 3
PageTop[3cpus]: <h1>CPU Usage for<font color=blue>  1 2 3 </font> and <font
color=#ff00ff> </font> </h1>
MaxBytes[3cpus]: 20000
YLegend[3cpus]: CPU * 10
ShortLegend[3cpus]: CPU Usage for 1 2 3 and
Legend1[3cpus]: Average CPU of 1
Legend2[3cpus]: Average CPU of 2
Legend3[3cpus]: Average CPU of 3
Options[3cpus]: gauge,growright,nopercent
Colours[3cpus]: BLUE#1000ff,VIOLET#ff00ff,RED#bb0000,GREEN#006600
Ytics[3cpus]: 3

Please Advise,
-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080616/7afff7ae/attachment.html 


More information about the mrtg mailing list