[rrd-users] rrdtool graph help

rrd-users at ficos.de rrd-users at ficos.de
Wed Jul 29 17:34:40 CEST 2009

Yaw Owusu-Ansah schrieb:
> Hi team,
> Started using rrdtool and it’s really nice.
> But I have some problem and hope you help. Am monitoring the usage of 
> CPU on my linux box through snmp and getting the values, for example 
> UCD-SNMP-MIB::ssCpurawUser ie .  that for 
> system, nice and idle, into my rrd and using those values to plot my 
> graph. My problem is how can I convert those values am getting from snmp 
> which are huge figures into Percentage so I can read percentage values 
> from my graphs and not the huge values.
> Thanks.
> Yaw.

You need to use COUNTER rather than GAUGE when creating the rrd.
If you're still getting numbers > 100 you probably have more than 1 CPU core.
Then you need to divide the value by # of CPUs using CDEF (rpn)


- Karl

More information about the rrd-users mailing list