lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

CPU graphs out of scale

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
helpmeplease
Beginner


Joined: 19 Nov 2004
Posts: 3

PostPosted: Fri Nov 19, 2004 10:58 pm    Post subject: CPU graphs out of scale Reply with quote

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.
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri Nov 19, 2004 11:38 pm    Post subject: Reply with quote

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
Back to top
helpmeplease
Beginner


Joined: 19 Nov 2004
Posts: 3

PostPosted: Sat Nov 20, 2004 6:58 am    Post subject: Reply with quote

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?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Sat Nov 20, 2004 3:34 pm    Post subject: Reply with quote

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.
Back to top
helpmeplease
Beginner


Joined: 19 Nov 2004
Posts: 3

PostPosted: Tue Nov 23, 2004 2:48 am    Post subject: Reply with quote

balleman wrote:
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.


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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group