Cacti template to get number of CPU on the system

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
sgn008
Posts: 9
Joined: Tue Apr 10, 2007 12:57 am

Cacti template to get number of CPU on the system

Post by sgn008 »

Hi,

I was wondering if there's any template on Linux/Unix system to get a total # of CPU per system.
Garp
Posts: 10
Joined: Fri Sep 22, 2006 6:41 am

Post by Garp »

*confused*

Why would you need to monitor that? Surely the number of processors is going to remain static in a machine?!
sgn008
Posts: 9
Joined: Tue Apr 10, 2007 12:57 am

Post by sgn008 »

I currently use Ganglia http://ganglia.sourceforge.net/ which can graph
a Compute Farm with more than 100 servers.

Please go to this link and find out how they graph # of CPU vs CPU load.

http://monitor.millennium.berkeley.edu/

I am new to Cacti, so if there are templates which can match what Ganglia does, I will switch to Cacti.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Is there any ganglia configuration that's related to that very graph using the CPU count? May you post this snippet?
Reinhard
sgn008
Posts: 9
Joined: Tue Apr 10, 2007 12:57 am

Post by sgn008 »

Hello,

Ganglia is running by daemon, everything is compiled in as binary. I can't find any templates from them.

Anyway, I attach here some graph, maybe you'll see what I am talking about.
Attachments
This graph show a total number of CPUs, 1-min load and # of process of 100 servers that we are monitoring
This graph show a total number of CPUs, 1-min load and # of process of 100 servers that we are monitoring
summary.PNG (9.84 KiB) Viewed 3458 times
This graph shows one server with # CPUs, 1-min load and # of processes.
This graph shows one server with # CPUs, 1-min load and # of processes.
individual_server.PNG (7.78 KiB) Viewed 3458 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That doesn't help, sorry. I would need to see ganglia's source for the cpu#. Then, it's easy to proceed as given in the first link of my signature
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest