Xymon Mailing List Archive search

Disabling default tests

4 messages in this thread

list Daniel Lozovsky · Mon, 5 Jun 2006 20:23:52 -0700 ·
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.
list Henrik Størner · Tue, 6 Jun 2006 08:01:52 +0200 ·
quoted from Daniel Lozovsky
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
list Daniel Lozovsky · Mon, 5 Jun 2006 23:17:18 -0700 ·
Thanks Hanrik

It will be great to have this feature added to one of your next
releases.  I will give this a try.

Thanks again.
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Monday, June 05, 2006 11:02 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Disabling default tests


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
list Jeff Newman · Thu, 8 Jun 2006 15:48:52 -0500 ·
I envision a day where I can click on a host and there are check boxes
for each test and I can just enable/disable any test by clicking the appropriate
check box. This could be expanded to alarms, thresholds, etc...
But as Henrik has already said, the whole html thing needs a re-write anyway.
quoted from Daniel Lozovsky


On 6/6/06, Lozovsky, Daniel <user-9d44f5686735@xymon.invalid> wrote:
Thanks Hanrik

It will be great to have this feature added to one of your next
releases.  I will give this a try.

Thanks again.

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, June 05, 2006 11:02 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Disabling default tests


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