Single System Test
list James Wade
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
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
▸
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
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
list Martin Flemming
Hi, Rolf !
▸
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
▸
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 RolfI 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