[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
centralized configuration - external scripts
- To: hobbit (at) hswn.dk
- Subject: centralized configuration - external scripts
- From: Cayo de Moraes <camorae (at) googlemail.com>
- Date: Wed, 18 Nov 2009 08:10:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Qi5KhQFDNd6Uv/S5NEUzheuJOoRc4Kcvf5Jd8QH8OQQ=; b=UGfqZjxiMy7OJG7fsq9jwTGYPxrKaATbGnFkLzbhXkC4FBbFpVK+9RDVPHuKuAw6D9 Tcxuf+/TyXPTR9M519RXyus0w4tZ7iIaoQdGcrAiOK8d+7+i9Q2WXFA4KWjzdisZfpef bOpP0ofebbShxCvBekidyMcd8HdP4DZ7el3p4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pp0N3SXNkajzxY3ux8UJply+SgYFzt1AMIEiijwAY03EvO10Tr6SH1tnH21dSdI5/w 2mMVaoPGm1Q7WpQgWL/CAky5mR3tzNxiWFlFvcr9ZKIVbOU0gWXb6hszX4BaOn88YB87 cQnm3bxA+7+kqosNc2PNRSa/gcXeaUN6LJtpw=
Hi guys,
just like we use the file hobbit-clients.cfg to manage DISK, CPU, PROCS etc.
for each client, we would like to have a centralized configuration for the
external scripts.
So far I tested two things:
1) Server-side check:
bb-hosts entry (for the external scripts), additional code entry in the
external scripts (for bbhostgrep), etc.
Problem: this seems to work only with "Network checks" which will be done
from Server-side to check the clients, like advanced ftp/ping/ssh script
etc. It doesnt work for scripts, wich have to run on the clients, like mysql
checks.
2) ONHOST:
the entry ONHOST in the hobbitlaunch.cfg.
Problem: this is not working for me... i tought with this entry Hobbit would
be able to issue an order to the client and then execute the command in the
client, but when looking into the logfiles, i see that Hobbit have to find
the external script on the Hobbit-Server (i think its the same result as in
Problem 1). I tought it would work as a "bb-bbextab"... but the MAN Pages
says it has to be configured on the server....
So guys, do i have another way to manage this external scripts (which have
to be run on the clients) in the Hobbit-Server?
TIA,
Cayo