Xymon Mailing List Archive search

hobbit-clients.cfg include directive

4 messages in this thread

list S Aiello · Thu, 28 Feb 2008 10:55:22 -0500 ·
I was curious if the hobbit-clients.cfg honored include directives. The reason I ask, is that our standard for defining LA thresholds is based on the numbers of CPUs. I edited my client's hobbitclient-<os>.sh to add a new section, [cpucount]. I figured I could write a server side script that could process that data & set the correct threshold accordingly. I just don't want to write a script that writes directly to the etc/hobbitclients.cfg file, and prefer writing to an external file that I can then include.

So far only my linux & sun servers have the cpucount section, and these are the commands I used:
Linux:
$GREP processor /proc/cpuinfo | $WC
SunOS:
/usr/sbin/psrinfo -p

 ~Steve
list Henrik Størner · Thu, 28 Feb 2008 17:58:50 +0100 ·
On Thu, Feb 28, 2008 at 10:55:22AM -0500, user-ce96540ed38f@xymon.invalid wrote:
I was curious if the hobbit-clients.cfg honored include directives.
It does.


Henrik
list Gregory Wege · Thu, 28 Feb 2008 14:59:58 -0500 ·
Does the same apply for the clients-local.cfg file?

Thanks
-Greg
quoted from Henrik Størner


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, February 28, 2008 11:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg include directive

On Thu, Feb 28, 2008 at 10:55:22AM -0500, user-ce96540ed38f@xymon.invalid wrote:
I was curious if the hobbit-clients.cfg honored include directives.
It does.


Henrik
list Henrik Størner · Thu, 28 Feb 2008 22:36:16 +0100 ·
quoted from Gregory Wege
On Thu, Feb 28, 2008 at 02:59:58PM -0500, Gregory Wege wrote:
On Thu, Feb 28, 2008 at 10:55:22AM -0500, user-ce96540ed38f@xymon.invalid wrote:
I was curious if the hobbit-clients.cfg honored include directives.
It does.
Does the same apply for the clients-local.cfg file?
Yes.


Regards,
Henrik