Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 09, 2010 7:22 pm 
Offline
Senior Newbie

Joined: Mon Oct 12, 2009 3:30 am
Posts: 15
I'm trying to get cacti to measure my CPU, iowait, and bandwidth. So far I can get the bandwidth and iowait to match perfectly with linode. But my CPU measurement is way off. I'm pretty sure linode's is correct so my question is does anyone know what template they are using? I've tried various (including ucd/net - CPU Usage below) but no cigar.

Linode:

Image


Cacti:

Image[/img]


Top
   
 Post subject:
PostPosted: Thu Dec 09, 2010 9:56 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
My usual first guess is always scale mismatch: the Linode CPU graph ranges from 0 to 400% while some tools always scale it to 0-100%, but the graphs don't differ by a factor of four so that might not be it.

I might try running a single CPU-bound thread for awhile (~30 minutes or so), spinning one CPU at ~100%... throwing a big, constant load at both graphs simultaneously should establish what sort of error it is.

Just out of curiosity, which kernel/version are you running? Ultimately, the number cacti is reporting comes from the kernel, so perhaps there's a known (or at least reproducible) difference between that kernel version and whatever the hypervisor-dowsing expedition feeds Linode's graphs.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 2:33 am 
Offline
Senior Newbie

Joined: Mon Oct 12, 2009 3:30 am
Posts: 15
Thanks, running one core at 100% showed me which cpu graphs were incorrect. I used a different 4 core template (Host MIB) and now it matches linodes.


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 1:32 pm 
Offline
Senior Member

Joined: Sun Oct 30, 2005 7:52 pm
Posts: 97
linodeTail wrote:
I used a different 4 core template (Host MIB) and now it matches linodes.

Care to share your results so if someone else has the same problem in the future?

--
Travis


Top
   
 Post subject:
PostPosted: Sat Dec 11, 2010 2:18 pm 
Offline
Senior Newbie

Joined: Mon Oct 12, 2009 3:30 am
Posts: 15
I used verbatim the 4 cpu template described here:

http://www.goldfisch.at/knowwiki/howtos ... u_graphing

pictutorial here:

http://www.powercram.com/2010/01/multi- ... cacti.html


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


Who is online

Users browsing this forum: No registered users and 7 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