Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu May 28, 2009 8:16 pm 
Offline
Senior Member

Joined: Thu Apr 03, 2008 12:02 am
Posts: 103
AOL: derole
Code:
[ims@li19-162 ~]$ grep ^cpu /proc/stat
cpu  24092152 11250058 6593078 3165413444 27722384 0 68526 10211925
cpu0 15668438 2776785 2209170 761840941 25394297 0 43043 3405215
cpu1 2656302 2796856 1497932 801261831 872025 0 8743 2244200
cpu2 3019664 2820916 1461009 800988832 752089 0 8501 2286879
cpu3 2747747 2855499 1424965 801321839 703971 0 8238 2275629

and
Code:
user.value 24092153
nice.value 11250058
system.value 6593080
idle.value 3165416776
iowait.value 27722399
irq.value 0
softirq.value 68526



hoopycat got a good point, try re-initializing your rdd file(s)


Top
   
 Post subject:
PostPosted: Fri May 29, 2009 3:03 am 
Offline
Senior Newbie

Joined: Thu May 28, 2009 2:37 pm
Posts: 7
Yeah I tried letting munin re-init the rrd files and that didn't fix it. The issue appears to be the "MAX" is set at 400 for the idle rrd file. This is based on the fact that there are 4 cpu's so the max value shouldn't be above 400. However, it looks like my data is in the 700's so the rrd get's NaN for everything. If I remove the maximum value I get data, but it doesn't make much sense. I still wonder if something is wrong with the kernel...


Top
   
 Post subject:
PostPosted: Fri May 29, 2009 3:03 am 
Offline
Senior Newbie

Joined: Thu May 28, 2009 2:37 pm
Posts: 7
Oh and the version of cpu that was posted to pastebin is a little older and missing the maximum value setting.


Top
   
 Post subject:
PostPosted: Fri May 29, 2009 6:53 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Pastebin your copy of the cpu script? I'll give it a shot here...


Top
   
 Post subject:
PostPosted: Fri May 29, 2009 4:03 pm 
Offline
Senior Newbie

Joined: Thu May 28, 2009 2:37 pm
Posts: 7
Here you are, you'll notice the "MAX" setting on the rrd.

http://p.linode.com/2509


Top
   
 Post subject:
PostPosted: Fri May 29, 2009 4:31 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Indeed, that'd be the difference... aight, I have it installed here and will advise in awhile once it's had a chance to spin.


Top
   
 Post subject:
PostPosted: Sat May 30, 2009 7:32 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Yep, your script also breaks for me:

The CPU script on mine:
Image

The CPU script from yours:
Image

Might want to open a bug report with the Munin folks... weird, that. (Secretly, I kinda like it without the idle, but that's just me ;-))


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group