24 Core CPU Graph Template?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

mikej1234
Posts: 10
Joined: Thu Dec 08, 2011 12:14 pm

24 Core CPU Graph Template?

Post by mikej1234 »

Hello,

There is an excellent graph template for 2, 4 and 8 CPUs on this thread (post by user Slech - November 6, 2007):

Code: Select all

http://forums.cacti.net/viewtopic.php?f=12&t=11615&start=120
I have recently started monitoring a server with 24 logical processors (cores) running Windows Server 2008 R2 Standard Edition. Cacti is retrieving and graphing all 24 cores nicely but I was wondering if anyone has a 24 CPU graph template similar to the ones in the above post? This is my CPU configuration

2 x 12 core CPUs:

Code: Select all

CPU Name	Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
CPU Code Name	Westmere-EP
Vendor	GenuineIntel
Any help or suggestions is greatly appreciated!

Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 24 Core CPU Graph Template?

Post by BSOD2600 »

The Aggregate template can quickly make one for you.
mikej1234
Posts: 10
Joined: Thu Dec 08, 2011 12:14 pm

Re: 24 Core CPU Graph Template?

Post by mikej1234 »

Hi BSOD2600,

Thank you for the suggestion - i've installed the aggregate graph plugin (I'm running Cacti 0.87g with the latest PA - I'm successfully running other plugins like Thold, Monitor, etc.).

But when I try to create an aggregate graph as per the documentation, the form submission page after selecting "Create Aggregate Graph" is blank (please see the attached pic). I'm not sure if it's a bug (less likely) or if I've misconfigured it (more likely...).

Can you offer a suggestion? I was thinking it might have to do with php script permissions or something like that.

Mike
Attachments
aggregate.jpg
aggregate.jpg (52.04 KiB) Viewed 8231 times
mikej1234
Posts: 10
Joined: Thu Dec 08, 2011 12:14 pm

Re: 24 Core CPU Graph Template?

Post by mikej1234 »

I'm wondering if anyone else has been able to replicate this issue? I tried older versions of aggregate (7.3, 7.4) but none worked - all appear blank. Any suggestions?

Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 24 Core CPU Graph Template?

Post by BSOD2600 »

For testing purposes, if you create an aggregate of only 4 CPUs, does the graph render? I'm wondering if with 24 cpus, the rrdtool graph command exceeds the commandline path length allowed in Windows.
mikej1234
Posts: 10
Joined: Thu Dec 08, 2011 12:14 pm

Re: 24 Core CPU Graph Template?

Post by mikej1234 »

That's the thing, it doesn't work (shows up blank) on all aggregate graphs (I cannot submit successfully to even create a new aggregate graph) - not just the 24CPU graph. Any other ideas?

Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 24 Core CPU Graph Template?

Post by BSOD2600 »

What does the graph debug output show for the broken graph?
mikej1234
Posts: 10
Joined: Thu Dec 08, 2011 12:14 pm

Re: 24 Core CPU Graph Template?

Post by mikej1234 »

Unfortunately it doesn't get that far. What happens is this:

- I select 'Graph Management' and choose a graph (anything for which I'd like an aggregate graph)
- I choose the action 'Create Aggregate Graph' and select 'Go'
- The form submission then sends me to the blank page (screenshot in previous post)

The graph is never created.

Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 24 Core CPU Graph Template?

Post by BSOD2600 »

Using the latest aggregate plugin version?

Probably going to need to move this thread to the plugin forum so the plugin author will chime in on troubleshooting....
baevsky
Posts: 4
Joined: Mon May 21, 2012 3:15 pm

Re: 24 Core CPU Graph Template?

Post by baevsky »

Here is my take on the 24 core CPU template:
EDIT: to be perfectly correct - this is for 12 core box with 24 hyperthreads
cacti_graph_template_host_mib_-_multi_cpu_utilization_on_24_processor_box.xml.tar.gz
24 core CPU monitoring template
(7.49 KiB) Downloaded 1332 times
24_core_box.png
24_core_box.png (62.17 KiB) Viewed 8015 times
tiagormartins
Posts: 4
Joined: Mon May 28, 2012 2:22 pm

Re: 24 Core CPU Graph Template?

Post by tiagormartins »

Hi baevsky !
Firstly, tks for the template.
I've used a Dell PowerEdge R710 with 24 processors, but I cannot use this template. Nothing is displayed, just a 'broken' image.
After imported the template I was asked for: Index Type + Index Value + Output Type ID - but I don't know what use.

Do you have some suggestion?

Tks !
baevsky
Posts: 4
Joined: Mon May 21, 2012 3:15 pm

Re: 24 Core CPU Graph Template?

Post by baevsky »

This template doesn't have it's own data templates associated with it, so you would have to generate it separately and then assign them them to the graph.
Here is what you need to do to use this template:

1. Generate the "CPU Utilization" data sources using the "Host MIB - Get Processor Information" data query.
2. Create a "Host MIB - Multi CPU Utilization on 24 CPU Core Box" graph.
3. Go into the graph configuration and assign the data sources created in step 1 to the " Graph Item Fields".

Hope this helps.
tiagormartins
Posts: 4
Joined: Mon May 28, 2012 2:22 pm

Re: 24 Core CPU Graph Template?

Post by tiagormartins »

Hi baevsky.

Worked !!! Tks !!!
tiagormartins
Posts: 4
Joined: Mon May 28, 2012 2:22 pm

Re: 24 Core CPU Graph Template?

Post by tiagormartins »

Hi baevsky,

One more question ...
Now I can see min, max and current values on each cpu, but I'd like to know if is possible see a 'total average'.
For example, I have a server with 24 cpus, but I want to see the 'server' average (not individual values).
Is possible?

Tks,
Tiago
baevsky
Posts: 4
Joined: Mon May 21, 2012 3:15 pm

Re: 24 Core CPU Graph Template?

Post by baevsky »

tiagormartins wrote:Hi baevsky,

One more question ...
Now I can see min, max and current values on each cpu, but I'd like to know if is possible see a 'total average'.
For example, I have a server with 24 cpus, but I want to see the 'server' average (not individual values).
Is possible?

Tks,
Tiago
I think it is possible.
You should be able to extend the "24 CPU" graph template adding a new "Graph Item" using a "CDEF Function" of "Average all data sources". That will give you a new line on the graph with the average load of all cores.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests