CPU LOAD
list James Wade
I have setup Hobbit in a Solaris environment, which has systems with a different number of CPU's. In the past with Big Brother, I had to edit the cputtab file and add the different loads for each system. Is there a way that allows me to specify the CPU load based on the number of CPU's on the system? Thanks..James
list Greg L Hubbard
hobbit-clients.cfg in ~server/etc. GLH
▸
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Wednesday, November 08, 2006 2:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] CPU LOAD
I have setup Hobbit in a Solaris environment,
which has systems with a different number of
CPU's.
In the past with Big Brother, I had to edit the cputtab
file and add the different loads for each system.
Is there a way that allows me to specify the CPU
load based on the number of CPU's on the system?
Thanks....James
list James Wade
Sorry, I should have phrased this better. I have 200 systems with multiple cpu's ranging from 2, 4, 6, 8 or 24 cpu's. Instead of adding every system name in hobbit-clients.cfg with a different LOAD variable. s there a way that HOBBIT can use the number of CPU's automatically for the load? Something like LOAD=Number of CPU's X LOAD_NUMBER Thanks for the assistance. James
▸
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, November 08, 2006 3:08 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] CPU LOAD
hobbit-clients.cfg in ~server/etc.
GLH
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Wednesday, November 08, 2006 2:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] CPU LOAD
I have setup Hobbit in a Solaris environment,
which has systems with a different number of
CPU's.
In the past with Big Brother, I had to edit the cputtab
file and add the different loads for each system.
Is there a way that allows me to specify the CPU
load based on the number of CPU's on the system?
Thanks..James
list Greg L Hubbard
James, Not that I know of. I thought that the Unix "load" number simply reflects the run queue length for the system as a whole, which is pretty much the same no matter how many CPU's there are. Or are you willing to tolerate larger numbers for systems with fewer CPUs? Perhaps you can whip up a script to read your BB cputab and generate the necessary hobbit-clients entries?
▸
GLH
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Wednesday, November 08, 2006 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] CPU LOAD
Sorry, I should have phrased this better.
I have 200 systems with multiple cpu's ranging from
2, 4, 6, 8 or 24 cpu's.
Instead of adding every system name in hobbit-clients.cfg
with a different LOAD variable. s there a way that
HOBBIT can use the number of CPU's automatically for the load?
Something like LOAD=Number of CPU's X LOAD_NUMBER
Thanks for the assistance.
James
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, November 08, 2006 3:08 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] CPU LOAD
hobbit-clients.cfg in ~server/etc.
GLH
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Wednesday, November 08, 2006 2:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] CPU LOAD
I have setup Hobbit in a Solaris environment,
which has systems with a different number of
CPU's.
In the past with Big Brother, I had to edit the cputtab
file and add the different loads for each system.
Is there a way that allows me to specify the CPU
load based on the number of CPU's on the system?
Thanks....James
list Stef Coene
▸
On Wednesday 08 November 2006 22:34, Hubbard, Greg L wrote:
James, Not that I know of. I thought that the Unix "load" number simply reflects the run queue length for the system as a whole, which is pretty much the same no matter how many CPU's there are. Or are you willing to tolerate larger numbers for systems with fewer CPUs?
20 processes in the run queue is bad on a system with 1 cpu 20 processes in the run queue is no problem for a system with 64 cpu's Stef
list Henrik Størner
▸
On Wed, Nov 08, 2006 at 03:27:18PM -0600, James Wade wrote:
I have 200 systems with multiple cpu's ranging from 2, 4, 6, 8 or 24 cpu's. Instead of adding every system name in hobbit-clients.cfg with a different LOAD variable. s there a way that HOBBIT can use the number of CPU's automatically for the load?
No. Regards, Henrik
list Greg L Hubbard
Perhaps. I defer to the wisdom of the group. GLH
▸
-----Original Message-----
From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] Sent: Wednesday, November 08, 2006 3:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] CPU LOAD
On Wednesday 08 November 2006 22:34, Hubbard, Greg L wrote:James, Not that I know of. I thought that the Unix "load" number simply reflects the run queue length for the system as a whole, which is pretty much the same no matter how many CPU's there are. Or are you willing to tolerate larger numbers for systems with fewer CPUs?
20 processes in the run queue is bad on a system with 1 cpu 20 processes in the run queue is no problem for a system with 64 cpu's Stef
list James Wade
Thanks Henrik, I have my old bb-cputab entries which I can script to convert. Can you recommend a conversion number for the load. On the old bb, I use to put 300 per cpu for warning and 400 per cpu for alert. So, a system with four cpu's would be: 1200 and 1600 So, how would this compare to the LOAD variable? Any recommendations would be appreciated. Thanks...James
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, November 08, 2006 4:03 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] CPU LOAD
On Wed, Nov 08, 2006 at 03:27:18PM -0600, James Wade wrote:
I have 200 systems with multiple cpu's ranging from 2, 4, 6, 8 or 24 cpu's. Instead of adding every system name in hobbit-clients.cfg with a different LOAD variable. s there a way that HOBBIT can use the number of CPU's automatically for the load?
No. Regards, Henrik
list Charles Goyard
▸
James Wade wrote :
On the old bb, I use to put 300 per cpu for warning and 400 per cpu for alert. So, a system with four cpu's would be: 1200 and 1600 So, how would this compare to the LOAD variable?
Well, just add a dot before the last two digits : 300 -> 3.00 400 -> 4.00 1200 -> 12.00 1600 -> 16.00 it's that simple :). Note that recent versions of the BigBrother client (since 1.9e I guess) can use this syntax too. -- Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31