Jun: Those values are "COUNTER" values, that means that the values will only increase.
So, RRDTOOL does that conversion, because it will store the Deltas of the values. So if you read 1000 the first time, and 1025 the next time, RRDTool will store and show 25. You can read more about this on the RRDTool site. Its know that the number increased in total for the 4 values will be 100. Javier On Friday 09 April 2004 12:45, [EMAIL PROTECTED] wrote: > All, > > I have set up an SLA for the CPU (for testing purpose: CPU Idle > 70%) , > debug information are as follows: > > ny6p102swk:$ php -q rrd_analizer.php 17 > I17 : > =========================================================================== >=============== I17 : Start: 2004-04-09 10:50:00 Stop: 2004-04-09 > 11:20:00 Measures: 6 I17 : cpu_user_ticks(0) cpu_idle_ticks(99) > cpu_wait_ticks(0) cpu_kernel_ticks(0) swap_total(1048672) > swap_available(1014136) mem_total(131072) mem_available(0) > load_average_1(0) load_average_5(0) load_average_15(0) cpuUser%(0) > cpuIdle%(0) cpuSys%(0) I17 : > --------------------------------------------------------------------------- >--------------- New Event (1626): 2004-04-09 11:27:19 - 12 - 3 - CPU - alert > - rrd_analizer_sla - CPU Utilization System:CPU > 70%: 99 % - 10004 > =========================================================================== >========================= event 1626: T 3 - P 10 - R 3 If > 'type_id(12) !IN 10010,10007,10008,10006,10003,12' (0) Stop I17 : sla > : Cond0: ((99) > 70) = 1 -TRUE- System:CPU > > 70%: 99 % I17 : sla : Final Eval: True. INFO: CPU Utilization System:CPU > > 70%: 99 % > > I also did a mib walk on the server ny6p102swk: > > UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 77325 > UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 163747 > UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 52082702 > UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 51626 > UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 112121 > > The question is why doesn't the mib value matches the database value: > > cpu_user_ticks(0) != ssCpuRawUser.0 = Counter32: 77325 > cpu_idle_ticks(99) != ssCpuRawIdle.0 = Counter32: 52082702 > cpu_wait_ticks(0) != ssCpuRawWait.0 = Counter32: 51626 > cpu_kernel_ticks(0) != ssCpuRawKernel.0 = Counter32: 112121 > > Also, the reported number in the database seems to be in percentage? How > does this get converted, can you tell me where is this configured? > > Thanks > > Jun > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=Click > _______________________________________________ > jffnms-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
