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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
- Reverse the steps you took to add the column
- Issue the command to drop the column
Usually this is:
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.
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-----
Igor Cicimov <icicimov at gmail.com> 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.
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 <knielsen at knielsen-hq.org>wrote:
Igor Cicimov <icicimov at gmail.com> 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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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...
Van: Igor Cicimov [mailto:icicimov at gmail.com] Verzonden: woensdag 25 maart 2009 5:58 Aan: hobbit at hswn.dk 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 <knielsen at knielsen-hq.org> wrote:
Igor Cicimov <icicimov at gmail.com> 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.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
participants (4)
-
adam@websitemanagers.com.au
-
d.kip@gdi.minjus.nl
-
icicimov@gmail.com
-
knielsen@knielsen-hq.org