[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Using ssh to retrieve hobbit data
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Using ssh to retrieve hobbit data
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Wed, 4 Jan 2006 04:46:54 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cr/X1I9010hOoeZoYeT4bZUmmpW4RDPCZ/b/r9cGdqxQL2Ykrj1sY+QHDiyuRJd/ioONmw+H4uP6ceEqeEGPH+YZYZsK/HYkKDackTChAMfmkMn3BMVj+u/5HCtaD8h/xxKkIGhbh0whJu/XEP84nBqPok7fOzUX+l8jAZbm5l0=
- References: <1135893113.19814.ezmlm@hswn.dk> <OFE1FD9753.265E2B26-ON852570EB.006B76E8-852570EB.006BC82B@glic.com>
OK, this probably isn't the ideal solution, but it seems to be working
for me at the moment. I've only just started with Hobbit, so I'm sure
there's a better way of doing this.
My remote system is running bb18b3, with bb-file.sh from
bbfetch2.3.tar.gz replacing bin/bb so that tmp/BBSTAT is created
instead of pushing local messages to a BB server. You probably
already had that part working...
On my Hobbit server I copied bb-fetch.sh to server/ext. The only
change necessary in bb-fetch.sh was
< . $BBHOME/etc/bbdef.sh # INCLUDE STANDARD
DEFINITIONS
---
> . $BBHOME/etc/hobbitserver.cfg # INCLUDE
STANDARD DEFINITIONS
Then in server/etc/hobbitlaunch.cfg, add:
[fetch]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/ext/bb-fetch.sh
LOGFILE $BBSERVERLOGS/hobbitclient.log
INTERVAL 5m
Hobbit seems to be happy fetching the remote BBSTAT file and receiving
the extracted cpu, disk, msgs & procs data.
Unfortunately I don't have time right now to upgrade the remote client
to Hobbit, so I don't know how (or if) bb-file.sh would work with it.
Ralph Mitchell
On 1/3/06, James B Horwath <JamesHorwath (at) glic.com> wrote:
>
> I am converting my BB 19.c system to Hobbit 4.1.2p1. With BB I used to use
> ssh to fetch data from remote servers in a DMZ (using the bb-fetchtab).
> Can I do this in Hobbit. I have searched the mail archive and manuals and
> didn't see the option anywhere.
>
> Regards,
> Jim
>
> Jim Horwath
> SANS Certified: GCUX, GCIH, GCIA, GHTQ, GREM
> Unix Admin