Xymon Mailing List Archive search

Drop test columns

5 messages in this thread

list Igor Cicimov · Mon, 23 Mar 2009 17:06:01 +1100 ·
Hi all,

I have Hobbit 4.2.0 running on Debian box and was trying numerous times to
drop the "apt" and "libs" columns from the columns display for couple of
client hosts with no avail. The reason I would like to drop them is they go
yellow after system upgrades and started to be annoing now after some time.

I have tried doing it according to hobbit documentation:

- drop the test using the bb command
- use NOCOLUMNS statement in the bb-hosts file for each of the hosts to hide
the columns

but the columns keep coming back after couple of minutes. So none of the
above approaches work really.

Any idea why this is not working and what else can be done to remove the
columns permanently? I have searched the forum but couldn't find appropriate
answer apart from one stating config file hacking which I don't take as
appropriate solution since this should be working functionality in Hobbit.

Thanks in advance for any answers and ones again thanks to everybody
involved in this project for the great monitoring tool they have created :)

Igor
list Adam Goryachev · Mon, 23 Mar 2009 17:20:12 +1100 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Igor Cicimov

Igor Cicimov wrote:
Hi all,

I have Hobbit 4.2.0 running on Debian box and was trying numerous times
to drop the "apt" and "libs" columns from the columns display for couple
of client hosts with no avail. The reason I would like to drop them is
they go yellow after system upgrades and started to be annoing now after
some time.

I have tried doing it according to hobbit documentation:

- drop the test using the bb command
- use NOCOLUMNS statement in the bb-hosts file for each of the hosts to
hide the columns

but the columns keep coming back after couple of minutes. So none of the
above approaches work really.

Any idea why this is not working and what else can be done to remove the
columns permanently? I have searched the forum but couldn't find
appropriate answer apart from one stating config file hacking which I
don't take as appropriate solution since this should be working
functionality in Hobbit.

Thanks in advance for any answers and ones again thanks to everybody
involved in this project for the great monitoring tool they have created :)
Basically, removing or dropping a column in hobbit is quite simple.
1) Reverse the steps you took to add the column
2) Issue the command to drop the column

Usually this is:
1) For a ext script where the column data is generated and sent by the
client you will need to remove the script from the clientlaunch.cfg on
the client.
   For a test generated by BBNET on the server, you would remove the tag
from the bb-hosts file for that host.

2) Run the command (something like)
bb 127.0.0.1 "drop machine column"
eg:
bb 127.0.0.1 "drop this.machine.com ftp"

Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknHKhwACgkQGyoxogrTyiVZBQCgjuSF/aLwX9hua4vUZoOL5FvA
eC0AoKBGHAfSXKFqK0ffn4zTTOclXKc8
=kuX8
-----END PGP SIGNATURE-----
list Kristian Nielsen · Mon, 23 Mar 2009 07:42:08 +0100 ·
quoted from Igor Cicimov
Igor Cicimov <user-5dcd3b15acde@xymon.invalid> writes:
I have Hobbit 4.2.0 running on Debian box and was trying numerous times to
drop the "apt" and "libs" columns from the columns display for couple of
client hosts with no avail. The reason I would like to drop them is they go
yellow after system upgrades and started to be annoing now after some time.

I have tried doing it according to hobbit documentation:

- drop the test using the bb command
- use NOCOLUMNS statement in the bb-hosts file for each of the hosts to hide
the columns

but the columns keep coming back after couple of minutes. So none of the
above approaches work really.
You should turn off the extension script that injects apt status.

In Ubuntu (I assume it is the same in Debian), this is

    /etc/hobbit/clientlaunch.d/apt.cfg

I think you can just add DISABLED to the entry.

After that, remove the column from hobbit as before, and it should not
re-appear.

 - Kristian.
list Igor Cicimov · Wed, 25 Mar 2009 15:57:55 +1100 ·
Thanks Kristian that did the trick :)

That and the bb drop command and the columns are gone permanently now. The
question why the NOCOLUMNS statement didn't work still remains mistery for
me ... maybe works just for some standard tests like cpu, memory, disk,
files ... but not for some client specific tests like apt in case of debian.

Cheers,

Igor


On Mon, Mar 23, 2009 at 5:42 PM, Kristian Nielsen
quoted from Kristian Nielsen
<user-bc00a861a9ff@xymon.invalid>wrote:
Igor Cicimov <user-5dcd3b15acde@xymon.invalid> writes:
I have Hobbit 4.2.0 running on Debian box and was trying numerous times
to
drop the "apt" and "libs" columns from the columns display for couple of
client hosts with no avail. The reason I would like to drop them is they
go
yellow after system upgrades and started to be annoing now after some
time.

I have tried doing it according to hobbit documentation:

- drop the test using the bb command
- use NOCOLUMNS statement in the bb-hosts file for each of the hosts to
hide
the columns

but the columns keep coming back after couple of minutes. So none of the
above approaches work really.
You should turn off the extension script that injects apt status.

In Ubuntu (I assume it is the same in Debian), this is

   /etc/hobbit/clientlaunch.d/apt.cfg

I think you can just add DISABLED to the entry.

After that, remove the column from hobbit as before, and it should not
re-appear.

 - Kristian.

list D. - Gdi/snb Kip · Thu, 26 Mar 2009 11:08:16 +0100 ·
As stated in the manual ( who reads those anyway? ), the 'NOCOLUMNS'
only works for standard tests. So it would work for 'conn', but not for
'yourtest'.
 
I learned this the hard way as well...
quoted from Igor Cicimov


Van: Igor Cicimov [mailto:user-5dcd3b15acde@xymon.invalid] 
Verzonden: woensdag 25 maart 2009 5:58
Aan: user-ae9b8668bcde@xymon.invalid
Onderwerp: Re: [hobbit] Drop test columns


Thanks Kristian that did the trick :)

That and the bb drop command and the columns are gone permanently now.
The question why the NOCOLUMNS statement didn't work still remains
mistery for me ... maybe works just for some standard tests like cpu,
memory, disk, files ... but not for some client specific tests like apt
in case of debian.

Cheers,

Igor


On Mon, Mar 23, 2009 at 5:42 PM, Kristian Nielsen
<user-bc00a861a9ff@xymon.invalid> wrote:


	Igor Cicimov <user-5dcd3b15acde@xymon.invalid> writes:
	
I have Hobbit 4.2.0 running on Debian box and was trying
numerous times to
drop the "apt" and "libs" columns from the columns display for
couple of
client hosts with no avail. The reason I would like to drop
them is they go
yellow after system upgrades and started to be annoing now
after some time.

I have tried doing it according to hobbit documentation:

- drop the test using the bb command
- use NOCOLUMNS statement in the bb-hosts file for each of the
hosts to hide
the columns

but the columns keep coming back after couple of minutes. So
none of the
above approaches work really.
	
	
	You should turn off the extension script that injects apt
status.
	
	In Ubuntu (I assume it is the same in Debian), this is
	
	   /etc/hobbit/clientlaunch.d/apt.cfg
	
	I think you can just add DISABLED to the entry.
	
	After that, remove the column from hobbit as before, and it
should not
	re-appear.
	
	 - Kristian.