[hobbit] Disabling default tests

Henrik Stoerner henrik at hswn.dk
Tue Jun 6 08:01:52 CEST 2006


On Mon, Jun 05, 2006 at 08:23:52PM -0700, Lozovsky, Daniel wrote:
> I want to be able to disable client test such as disk, procs, etc.  I
> have some custom ones that I want to use instead.  In BB, I used to go
> to bbdef.sh file and just set the tests that I do not want to run to
> FALSE.  Is there such a config file in hobbit.

No.

I had not anticipated this scenario, so it isn't configurable. What
you *can* do is to modify the hobbit client script on your servers:

* If you leave out the "[uptime]" section, you will disable the
  "cpu" status.
* if you leave out the "[df]" section, you will disable the
  "disk" status.
* If you leave out the "[procs]" section, you will disable 
  the "procs" status.
* If you leave out the memory section(s) - names vary across
  operating systems - then you will disable the "memory" status.
* The "msgs" status can be disabled by not configuring any logs
  for this host, and running hobbitd_client with the
  --no-clear-msgs option.

The custom scripts you're using - are they specific to your setup,
or are they generally useful ? If the latter, let me know how I
can improve the current tests.


Regards,
Henrik




More information about the Xymon mailing list