CPU graphs out of scale

helpmeplease

19-11-2004 17:58:08

I'm showing CPU util data graphing at over 100%. I didn't have this problem previously using RRDTool by itself, updated by a script containing snmpget commands. Does the counter data that it is retrieving differ from what I was getting before? Previously, I was doing an snmpget on ssCpuRawUser.0 for example, and I noticed that 'Linux Box' template uses 'enterprises.ucdavis.systemStats.ssCpuRawUser.0'. Is there any difference between these two that might account for the difference in my graphs? If so, should I create a new test and change everything to use it, or is there a way I can manipulate the counter data that is being retrieved to reflect the correct percentages in the graph? I did a search on this and couldn't find any useful information about it.

silfreed

19-11-2004 18:38:18

Those OIDs should be the same. Commonly we do see values over 100% for multi-processor boxes; net-snmp doesn't handle this at all internally. Is this the setup you have?

-Doug

helpmeplease

20-11-2004 01:58:00

Yes, I'm sorry, I forgot to mention that. These are dual-processor boxes, WhiteBox 3.0 (2.4.21), net-snmp 5.0.9. The only reason I asked about it is because I didn't see the problem when using the snmpget command launched from a shell script. What is different could possibly account for the difference?

balleman

20-11-2004 10:34:26

Maybe the shell script looks for the number of processors and scales accordingly? If you want, you could create a dual-processor CPU template graph (just duplicate the one provided) and set multipliers on the items for 0.5. We normally just graph the values as provided, keeping in mind that a 2-processor box can use 200% CPU.

helpmeplease

22-11-2004 21:48:48

[quote5c6cfcf55e="balleman"]Maybe the shell script looks for the number of processors and scales accordingly? If you want, you could create a dual-processor CPU template graph (just duplicate the one provided) and set multipliers on the items for 0.5. We normally just graph the values as provided, keeping in mind that a 2-processor box can use 200% CPU.[/quote5c6cfcf55e]

Yeah, I'm thinking that's what I'm going to do. I was just wondering if there were something else wrong, as I wasn't sure if it was reporting double the CPU usage for all of my boxes, even the single-processor ones. Since it doesn't look like that's the case, I'm just going to custom graph these few boxes. Thanks for the help.