[hobbit] Solaris 10 SMF monitor [was RE: Ext script to monitor Solaris 10 services]
Henrik Stoerner
henrik at hswn.dk
Wed Feb 20 12:30:30 CET 2008
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
More information about the Xymon
mailing list