[mrtg] Need help on CPU info collection

Li Wei Nan l.weinan at gmail.com
Tue Sep 9 08:12:15 CEST 2008


Thank you very much Steve, it works now!
I think I should use some time to learn SNMP and those MIBS now.

Thanks!
- Li Wei Nan

On Sep 9, 2008, at 11:54 AM, Steve Shipway wrote:

> 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: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch 
> ] On Behalf Of Li Wei Nan
> Sent: Tuesday, 9 September 2008 15:39
> To: mrtg at lists.oetiker.ch
> 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:public at 172.16.6.183 + ssCpuRawSystem.0&ssCpuRawSystem.0:public at 172.16.6.183 
>  + ssCpuRawNice.0&ssCpuRawNice.0:public at 172.16.6.183
>> Options[cluster1.cpu]: gauge,withzeroes,noo,growright
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080909/8cbb9a17/attachment.html 


More information about the mrtg mailing list