[mrtg] Average of four items

Kulhanek Rainer Rainer.Kulhanek at bfd-m.bayern.de
Wed Nov 24 13:19:49 MET 2004


Hello,
 
i want to show the average of cpu-usage on an machine with four cpu´s. With
a cfg like following cfg i have the 
sum of the target1,target2, target3 plus a quarter of target four, like
(1+2+3)+(4/4). But i want (1+2+3+4)/4.
How is the target configuration for this? 
 
Target[b1asrv05_cpu_usgsum]:
.1.3.6.1.2.1.25.3.3.1.2.2&.1.3.6.1.2.1.25.3.3.1.2.2:community at host +
  .1.3.6.1.2.1.25.3.3.1.2.3&.1.3.6.1.2.1.25.3.3.1.2.3:communit at host +
  .1.3.6.1.2.1.25.3.3.1.2.4&.1.3.6.1.2.1.25.3.3.1.2.4:communit at host +
  .1.3.6.1.2.1.25.3.3.1.2.5&.1.3.6.1.2.1.25.3.3.1.2.5:communit at host /4
MaxBytes[b1asrv05_cpu_usgsum]: 90
AbsMax[b1asrv05_cpu_usgsum]: 100
Title[b1asrv05_cpu_usgsum]: CPU Summe Last b1asrv05 10.4.1.205
PageTop[b1asrv05_cpu_usgsum]: <H2>CPU Summe Last b1asrv05 10.4.1.205</H2>
  <p class="mini2">DESCRIPTION<BR>"Die Lastwerte aller vier Prozessoren
addiert und 
 durch vier geteilt um die Gesamtauslastung des Rechners anzuzeigen."</P>
Rainer

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