[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Solaris 10 SMF monitor [was RE: Ext script to monitor Solaris 10 services]
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Solaris 10 SMF monitor [was RE: Ext script to monitor Solaris 10 services]
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Wed, 20 Feb 2008 12:30:30 +0100
- References: <1F7B01020EC4D04DA17703634B9E888E05619C64 (at) ULPGCTMVMAI003.EU.COLT>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Tue, Feb 19, 2008 at 02:38:38PM -0000, Ward, Martin wrote:
> I did wonder about trying to avoid hard-coding the services but am not
> skilled enough in Hobbit to know where to do it.
>
> I tried doing what you suggested but I can't persuade the client to read
> the data from the server.
>
> I have the following on the server in the client-local.cfg file:
> [nms4.lon.oss.colt.net]
> svc:/network/ssh:default|svc:/site/tftpd:default
>
> And this is in the bb-hosts file:
> 10.44.85.209 nms4.lon.oss.colt.net # ssh
>
> Yet after restarting both server and client I only get this in the
> ~hobbit/client/tmp/logfetch.nms4.lon.oss.colt.net.cfg:
> log:/var/adm/messages:10240
> log:/var/log/syslog:10240
It takes a while for the client-local.cfg settings to percolate over to
the client itself (a: hobbitd has to reload the file, b: the client has
to contact the Hobbit server and pickup the setting, c: it won't take
effect until the next run of the client) - up to 15 minutes.
And of course - it assumes you're running the clients with server-side
configuration. Some still prefer to keep configuration settings on the
clients.
Henrik