Re: Been a while RawCPU

Stephen Carville <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Tory M Blue wrote:
> So I've built another system and appear to have it working.
> 
> Monitoring a bunch of stuff and more to come (those questions later)
> 
> But for now I'm grabbing the following OIDS from a Fedora Core box
> 
> # UCD Disk OIDs
> OID     ssIORawSent             1.3.6.1.4.1.2021.11.57.0
> OID     ssIORawReceived         1.3.6.1.4.1.2021.11.58.0
> OID     ssCpuRawUser            1.3.6.1.4.1.2021.11.50.0
> OID     ssCpuRawNice            1.3.6.1.4.1.2021.11.51.0
> OID     ssCpuRawSystem          1.3.6.1.4.1.2021.11.52.0
> OID     ssCpuRawIdle            1.3.6.1.4.1.2021.11.53.0
> OID     ssCpuRawWait            1.3.6.1.4.1.2021.11.54.0
> 
> With the following datasource
> 
> datasource      ssIORawSent
>        ds-source   =   snmp://%snmp%/ssIORawSent
>         rrd-ds-type     =       COUNTER
> 
> Now my CpuRawIdle is showing 200 (umm, can't really go over 100).

IIRC, the CpuRawIdle is in clock ticks.  If you want percentages use:

1.3.6.1.4.1.2021.11.11.0

Alternatly you could set up to calculate the pecentage based on the raw 
values.

> Now I also understand these are raw numbers and I'm  "assuming" that
> rrd/cricket is doing the right thing with these raw numbers (right or
> wrong?!)
> 
> Should I be doing any further manipulation to get these numbers into
> percentage or tweak things some how?
> 
> Here is the output. Numbers don't seem that off when looking at
> iostat/top, but that > 100 number for cpu idle seems strange
> IO Sent (for the day):
> Cur: 0.00
> Avg: 0.21
> Max: nan
> IO Received (for the day):
> Cur: 22.50
> Avg: 30.87
> Max: nan
> Cpu User (for the day):
> Cur: 4.46
> Avg: 6.75
> Max: nan
> Cpu Nice (for the day):
> Cur: 0.00
> Avg: 0.00
> Max: nan
> Cpu System (for the day):
> Cur: 0.94
> Avg: 2.70
> Max: nan
> Cpu Idle (for the day):
> Cur: 194.37
> Avg: 190.37
> Max: nan
> IO Wait (for the day):
> Cur: 0.07
> Avg: 0.13
> Max: nan
> 
> -Tory
> 
> 
> _______________________________________________
> cricket-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cricket-users


-- 
Stephen Carville <[email protected]>
Unix and Network Admin
Nationwide Totalflood
6033 W. Century Blvd
Los Angeles, CA 90045
310-342-3602
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.