[hobbit] DISK test: only monitor specific filesystems
Henrik Stoerner
henrik at hswn.dk
Thu Jul 12 17:16:20 CEST 2007
hobbitd_client should reload this file every 10 minutes, if there are
any changes to it. You can also do a "kill -HUP PID" with the process-ID
of the hobbitd_client process to force a reload.
But try the "--test" mode first. Like this:
$ bbcmd hobbitd_client --test
Hostname (.=end, ?=dump, !=reload) []: myhost
Hosttype []:
Test (cpu, mem, disk, proc, log, port): disk
Filesystem: /
Yellow at 85%, red at 90%
Hostname (.=end, ?=dump, !=reload) [myhost]:
Test (cpu, mem, disk, proc, log, port): disk
Filesystem: /backup
Ignored
This is with the following config:
DISK / 85 90
DISK * IGNORE
Regards,
Henrik
On Thu, Jul 12, 2007 at 10:05:09AM -0500, Matlock, Chris wrote:
> I am trying to do this same thing, but nothing I put in
> hobbit-clients.cfg on the server seems to take any effect. Is there
> something I have to do to get hobbit to re-read this file?
>
> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk]
> Sent: Wednesday, June 06, 2007 10:37 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] DISK test: only monitor specific filesystems
>
> On Wed, Jun 06, 2007 at 09:17:24AM -0600, Haertig, David F (Dave) wrote:
> > I want to only monitor three specific filesystem on a host, and ignore
>
> > the rest. I tried this in hobbit-clients.cfg:
> >
> > HOST=wcscbe5
> > DISK * IGNORE
> > DISK /expsys 90 95
> > DISK /expert 90 95
> > DISK /inadsb 90 95
>
> Almost right, put the "DISK * IGNORE" line last instead of first.
> First match wins in Hobbit, so you should have the most specific entries
> first, and the more generic (default) ones last.
>
>
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
> CONFIDENTIALITY NOTICE:
> This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this
> communication in error, please notify us immediately by email reply.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
--
Henrik Storner
More information about the Xymon
mailing list