Xymon Mailing List Archive search

Single System Test

4 messages in this thread

list James Wade · Thu, 9 Nov 2006 14:32:39 -0600 ·
I have a BB script that runs on only one client

and tests for a specific item.

 
How do I configure the client to run only on that

client?

 
I'm using a directory share on all the clients.

 
The old bb-bbexttab would allow you to configure

a specific host like this:

 
localhost : : myscript.sh

systemA : : special-script.sh

 
So, localhost would run on all machine, but special-script.sh
would only run on systemA.

 
Is there a way to do the same thing with the Hobbit Client?

 
Thanks.James
list Greg L Hubbard · Thu, 9 Nov 2006 15:02:07 -0600 ·
If you are using the same clientlaunch.cfg for all clients, you don't
have lot of choice but to get out a big hammer.  One approach would be
to modify your script to quietly exit if the node name is not in a
config file.  Messy, but quick to get working, and easy to maintain.
 
GLH
quoted from James Wade


	From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
	Sent: Thursday, November 09, 2006 2:33 PM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: [hobbit] Single System Test
	
	
	I have a BB script that runs on only one client

	and tests for a specific item.

	 
	How do I configure the client to run only on that

	client?

	 
	I'm using a directory share on all the clients.

	 
	The old bb-bbexttab would allow you to configure

	a specific host like this:

	 
	localhost : : myscript.sh

	systemA : : special-script.sh

	 
	So, localhost would run on all machine, but special-script.sh
	would only run on systemA.

	 
	Is there a way to do the same thing with the Hobbit Client?

	 
	Thanks...James
list Rolf Schrittenlocher · Fri, 10 Nov 2006 08:44:15 +0100 ·
Hi James,

you could modify runclient.sh to create clientlaunch.cfg on the fly with 
one general part for all servers and a specific part for the host 
depending on hostname.

greetings
Rolf
quoted from Greg L Hubbard
I have a BB script that runs on only one client

and tests for a specific item.

How do I configure the client to run only on that

client?

I’m using a directory share on all the clients.

The old bb-bbexttab would allow you to configure

a specific host like this:

localhost : : myscript.sh

systemA : : special-script.sh

So, localhost would run on all machine, but special-script.sh
would only run on systemA.

Is there a way to do the same thing with the Hobbit Client?

Thanks…James
-- 

Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt 
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid
list Martin Flemming · Fri, 10 Nov 2006 18:45:26 +0100 (CET) ·
Hi, Rolf !
quoted from Rolf Schrittenlocher
you could modify runclient.sh to create clientlaunch.cfg on the fly with
one general part for all servers and a specific part for the host
depending on hostname.
Interesting...

How you do that ?

Could you give us an example ....

Cheers,

       Martin


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid
quoted from Rolf Schrittenlocher


On Fri, 10 Nov 2006, Rolf Schrittenlocher wrote:
Hi James,

you could modify runclient.sh to create clientlaunch.cfg on the fly with
one general part for all servers and a specific part for the host
depending on hostname.

greetings
Rolf
I have a BB script that runs on only one client

and tests for a specific item.

How do I configure the client to run only on that

client?

I'm using a directory share on all the clients.

The old bb-bbexttab would allow you to configure

a specific host like this:

localhost : : myscript.sh

systemA : : special-script.sh

So, localhost would run on all machine, but special-script.sh
would only run on systemA.

Is there a way to do the same thing with the Hobbit Client?

Thanks...James
--
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid