Xymon Mailing List Archive search

Hobbit: Run Scripts

6 messages in this thread

list Sanu Mathew · Wed, 5 Nov 2008 00:38:34 +0530 ·
Hi,

I am looking at being able to run a global script on all servers that are
monitored by Hobbit. How can i accomplish this task? (The script is created
by us and I am looking at incorporating this script to run at a specific
time weekly)

Any help/suggestion would be great.

Regards,
Sanu
list Gary Baluha · Tue, 4 Nov 2008 15:15:32 -0400 ·
Is the script to be run only on the machines monitored by Hobbit, and is it
already on those machines?  What is the script trying to do?

If the script is in response to a monitored condition, the best way to
accomplish that would be different than if it just runs at a specific time
regardless of any specific condition, which is why I ask.
quoted from Sanu Mathew

On Tue, Nov 4, 2008 at 3:08 PM, Sanu Mathew <user-648ac91bf759@xymon.invalid> wrote:
Hi,

I am looking at being able to run a global script on all servers that are
monitored by Hobbit. How can i accomplish this task? (The script is created
by us and I am looking at incorporating this script to run at a specific
time weekly)

Any help/suggestion would be great.

Regards,
Sanu
list Sanu Mathew · Wed, 5 Nov 2008 02:16:38 +0530 ·
Hi Gary,

This script needs to be run on all machines monitored by hobbit. The script
can be placed on all servers (a tedious job though - unless we cant run the
script from the hobbit server to the clients). The script gives a snapshot
of the server, which helps us in case of rebuilds.

Its not in response to a monitored condition, but is a generic script which
gives the snapshot, and would run regardless of any specific condition.

Regards,
Sanu
quoted from Gary Baluha

On Wed, Nov 5, 2008 at 12:45 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
Is the script to be run only on the machines monitored by Hobbit, and is it
already on those machines?  What is the script trying to do?

If the script is in response to a monitored condition, the best way to
accomplish that would be different than if it just runs at a specific time
regardless of any specific condition, which is why I ask.


On Tue, Nov 4, 2008 at 3:08 PM, Sanu Mathew <user-648ac91bf759@xymon.invalid> wrote:
Hi,

I am looking at being able to run a global script on all servers that are
monitored by Hobbit. How can i accomplish this task? (The script is created
by us and I am looking at incorporating this script to run at a specific
time weekly)

Any help/suggestion would be great.

Regards,
Sanu
list Sigurður Guðbrandsson · Wed, 5 Nov 2008 13:04:13 -0000 ·
Hi.

 
Why not use a cron job then?

 
Afaik, hobbit is not designed to be a deployment server.

 
Regards,

 Sigurður Guðbrandsson.
quoted from Sanu Mathew

 
From: Sanu Mathew [mailto:user-648ac91bf759@xymon.invalid] 
Sent: 4. nóvember 2008 20:47
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit: Run Scripts

 
Hi Gary,

This script needs to be run on all machines monitored by hobbit. The script can be placed on all servers (a tedious job though - unless we cant run the script from the hobbit server to the clients). The script gives a snapshot of the server, which helps us in case of rebuilds.

Its not in response to a monitored condition, but is a generic script which gives the snapshot, and would run regardless of any specific condition.

Regards,
Sanu

On Wed, Nov 5, 2008 at 12:45 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:

Is the script to be run only on the machines monitored by Hobbit, and is it already on those machines?  What is the script trying to do?

If the script is in response to a monitored condition, the best way to accomplish that would be different than if it just runs at a specific time regardless of any specific condition, which is why I ask.

 
On Tue, Nov 4, 2008 at 3:08 PM, Sanu Mathew <user-648ac91bf759@xymon.invalid> wrote:

Hi,

I am looking at being able to run a global script on all servers that are monitored by Hobbit. How can i accomplish this task? (The script is created by us and I am looking at incorporating this script to run at a specific time weekly)

Any help/suggestion would be great.

Regards,
Sanu
list Sanu Mathew · Wed, 5 Nov 2008 19:19:37 +0530 ·
cron will need to be set on all servers, am looking at reducing crons and
looking if hobbit can do this task.

On Wed, Nov 5, 2008 at 6:34 PM, Sigurður Guðbrandsson <user-f6f2e0690a1f@xymon.invalid
quoted from Sigurður Guðbrandsson
wrote:
 Hi.


Why not use a cron job then?


Afaik, hobbit is not designed to be a deployment server.


Regards,

 Sigurður Guðbrandsson.


*From:* Sanu Mathew [mailto:user-648ac91bf759@xymon.invalid]
*Sent:* 4. nóvember 2008 20:47
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit: Run Scripts


Hi Gary,

This script needs to be run on all machines monitored by hobbit. The script
can be placed on all servers (a tedious job though - unless we cant run the
script from the hobbit server to the clients). The script gives a snapshot
of the server, which helps us in case of rebuilds.

Its not in response to a monitored condition, but is a generic script which
gives the snapshot, and would run regardless of any specific condition.

Regards,
Sanu

On Wed, Nov 5, 2008 at 12:45 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:

Is the script to be run only on the machines monitored by Hobbit, and is it
already on those machines?  What is the script trying to do?

If the script is in response to a monitored condition, the best way to
accomplish that would be different than if it just runs at a specific time
regardless of any specific condition, which is why I ask.


On Tue, Nov 4, 2008 at 3:08 PM, Sanu Mathew <user-648ac91bf759@xymon.invalid> wrote:

Hi,

I am looking at being able to run a global script on all servers that are
monitored by Hobbit. How can i accomplish this task? (The script is created
by us and I am looking at incorporating this script to run at a specific
time weekly)

Any help/suggestion would be great.

Regards,
Sanu

list Gary Baluha · Sat, 8 Nov 2008 10:30:11 -0800 ·
Something like cfEngine may be more along the lines of what you are looking
for.  While it's possible to configure Hobbit to do this, it's sort of going
beyond what it is meant as: a monitoring system.
quoted from Sanu Mathew

On Wed, Nov 5, 2008 at 5:49 AM, Sanu Mathew <user-648ac91bf759@xymon.invalid> wrote:
cron will need to be set on all servers, am looking at reducing crons and
looking if hobbit can do this task.


On Wed, Nov 5, 2008 at 6:34 PM, Sigurður Guðbrandsson <
user-f6f2e0690a1f@xymon.invalid> wrote:
 Hi.


Why not use a cron job then?


Afaik, hobbit is not designed to be a deployment server.


Regards,

 Sigurður Guðbrandsson.


*From:* Sanu Mathew [mailto:user-648ac91bf759@xymon.invalid]
*Sent:* 4. nóvember 2008 20:47
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit: Run Scripts


Hi Gary,

This script needs to be run on all machines monitored by hobbit. The
script can be placed on all servers (a tedious job though - unless we cant
run the script from the hobbit server to the clients). The script gives a
snapshot of the server, which helps us in case of rebuilds.

Its not in response to a monitored condition, but is a generic script
which gives the snapshot, and would run regardless of any specific
condition.

Regards,
Sanu

On Wed, Nov 5, 2008 at 12:45 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:

Is the script to be run only on the machines monitored by Hobbit, and is
it already on those machines?  What is the script trying to do?

If the script is in response to a monitored condition, the best way to
accomplish that would be different than if it just runs at a specific time
regardless of any specific condition, which is why I ask.


On Tue, Nov 4, 2008 at 3:08 PM, Sanu Mathew <user-648ac91bf759@xymon.invalid>
wrote:

Hi,

I am looking at being able to run a global script on all servers that are
monitored by Hobbit. How can i accomplish this task? (The script is created
by us and I am looking at incorporating this script to run at a specific
time weekly)

Any help/suggestion would be great.

Regards,
Sanu