[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Best way to monitor server in a DMZ ? or remote LAN ?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Best way to monitor server in a DMZ ? or remote LAN ?
- From: "L.M.J" <linuxmasterjedi (at) free.fr>
- Date: Wed, 13 Feb 2008 21:18:59 +0100
- References: <1202220108.47a86c4c248c9 (at) imp.free.fr> <200802051619.55415.bgmilne (at) staff.telkomsa.net> <14744.195.25.100.21.1202731517.squirrel (at) serwou.no-ip.org> <200802111539.57313.bgmilne (at) staff.telkomsa.net> <14220.195.25.100.21.1202824274.squirrel (at) serwou.no-ip.org> <20080212135813.GB25765 (at) mail.mac.com>
Le Tue, 12 Feb 2008 07:58:13 -0600,
Mike Eggleston <mikeegg1 (at) mac.com> a écrit :
> On Tue, 12 Feb 2008, L.M.J. might have said:
>
> > > On Monday 11 February 2008 14:05:17 L.M.J. wrote:
> > >> Alright, I've added "pulldata" in the bb-hosts from the server. I've
> > >> removed "DISABLED" msgcache in the clientlaunch.cfg file client.
> >
> > BBDISP=127.0.0.1 + "pulldata" in the bb-hosts + removed "DISABLED"
> > msgcache in the clientlaunch.cfg
> >
> > I see the Hobbit server connection to the DMZ client now. The DMZ clients
> > do not try to reach the Hobbit server anymore. Good point!
> >
> > I *still* don't have any report from the DMZ host. Help please.
>
> When this is fixed, please post the changed files showing how you have
> the 'pulldata' working. No need to post all hosts, just the lines for this
> configuration.
>
Here we go : HOWTO monitor servers in a DMZ.
CLIENT SIDE
hobbitclient.cfg
BBDISP="127.0.0.1" <-- Changed from Hobbit server IP to localhost
clientlaunch.cfg
[msgcache]
# DISABLED <-- Comment it
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/bin/msgcache --no-daemon --pidfile=$HOBBITCLIENTHOME/logs/msgcache.pid
LOGFILE $HOBBITCLIENTHOME/logs/msgcache.log
[client]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local <-- Add --local
LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
INTERVAL 5m
SERVER SIDE
hobbitlaunch.cfg
[hobbitfetch]
# DISABLED <-- Comment it
ENVFILE /home/users/hobbit/application/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/hobbitfetch --server=XX.XX.XX.XX --no-daemon
--pidfile=$BBSERVERLOGS/hobbitfetch.pid <-- replace the IP by your Hobbit server one LOGFILE
$BBSERVERLOGS/hobbitfetch.log
bb-hosts
zz.zz.zz.zz fqdn # conn hobbitfetch pulldata <- Add hobbitfetch pulldata, do NOT forget to put the IP
And it should work. Do not forget to restart client & server just in case.