You are using the wrong counters.

Either use ssCpuUser, ssCpuSystem and ssCpuNice (which return values in 
percentages) with the 'gauge' option and a MaxBytes[] of 100, or else use 
ssCpuRawUser etc WITHOUT the gauge option but with a Factor[]:100 (as these 
return a total count of seconds used, so rate of change per second of total 
seconds used x 100 = percentage use).  Your SNMP agent may not support both 
though.

Steve

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Li Wei Nan
Sent: Tuesday, 9 September 2008 15:39
To: [email protected]
Subject: Re: [mrtg] Need help on CPU info collection

I can still not generate the CPU graph after adding GAUGE to my config.
I really have no idea now. The CPU graph generated by MRTG is not all 'zero's, 
after I zoom the graph and seeing it careful, it doesn't generate CPU 
statistics at all.
...
Target[cluster1.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]> + ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]> + ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>
...
Options[cluster1.cpu]: gauge,withzeroes,noo,growright

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to