Hello everybody,

I have a problem, which is a little bit complicated to explain, but I hope it is understandable...

I want to graph the CPU Usage of a 4-CPU Linux-Server. Typically I would use the ssCpuIdle.0 to do so, but in my Linux-Version this vlaue is always 93, so I had to find an other way to do so.
On the Internet, I found a formula to calculate the cpu usage by using ssCpuRawIdle, ssCpuRawSystem, ssCpuRawNice and ssCpuRawUser. I transformed the formula into MRTG and looked at the graphs. Firstly I was wondering, why this is always the same value, but now it is clear: MRTG calculates the given values resulting in the average load since last clearing of the counters...

In my opinion I (or better MRTG) would have to calculate the valuechanges within the interval of each value and then use the formula. But I don't know how to do so.

Here is the Target formula I use:

100 - ((100 * 1.3.6.1.4.1.2021.11.53.0&1.3.6.1.4.1.2021.11.53.0:[email protected]) / (1.3.6.1.4.1.2021.11.53.0&1.3.6.1.4.1.2021.11.53.0:[email protected] + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:[email protected] + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:[email protected] + 1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:[email protected]))

I am using MRTG with RRDtool.

Thanks for your help.

Stephan
  

Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!    
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to