How to disable standard columns?
Hi guys,
I want to disable some standard columns (files and ports) but every time I remove these colomns, they come back with the next check.
I dont know if its the right way to disable the "ports" column, but I uncommented these lines in hobbitclient-aix.sh and its disabled now:
#echo "[ports]" #netstat -an | grep "^tcp"
For the "files" column I couldnt find anything to uncomment. Does someone know how to disable it?
TIA, Cayo
Cayo de Moraes wrote:
I want to disable some standard columns (files and ports) but every time I remove these colomns, they come back with the next check.
Did you drop those AND removed them from the config?
You could also define a default setting in bb-hosts like: 0.0.0.0 .default. # NOCOLUMNS:ports
Hi Wouter,
thx for the help! Now yes! I did remove them from the config (for 2 hosts only) and droped again, but it comes back after 1 minute with the status "clear".
I never saw this default before... does this remove the "ports" column from all hosts?
TIA
2009/6/16 Wouter Schoot <wouter at schoot.org>
Cayo de Moraes wrote:
I want to disable some standard columns (files and ports) but every time I remove these colomns, they come back with the next check.
Did you drop those AND removed them from the config?
You could also define a default setting in bb-hosts like: 0.0.0.0 .default. # NOCOLUMNS:ports
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Cayo de Moraes wrote:
I never saw this default before... does this remove the "ports" column from all hosts?
Allow me to copy/paste from "man bb-hosts" for you:
DEFAULT HOST If you have certain tags that you want to apply to all hosts, you can define a host name ".default." and put the tags on that host. Note that per-host definitions will override the default ones.
NOTE: The ".default." host entry will only accept the following
tags - others are silently ignored: NOCOLUMNS, COMMENT, DESCR,
CLASS, dialup, testip, nobb2, nodisp, noinfo, notrends, TRENDS,
NOPROPRED, NOPROPYELLOW, NOPROPPURPLE, NOPROPACK, REPORTTIME,
WARNPCT, NET, noclear, nosslcert, ssldays, DOWNTIME, depends,
noping, noconn, trace, notrace, HIDEHTTP, browser, pulldata.
Specifically, note that network tests, "badTEST" settings, and
alternate pageset relations cannot be listed on the ".default."
host.
Wouter
ok, thanks for the advice. Its working now!
after reading the bb-hosts manual i noticed that the problem was here:
NOCOLUMNS:ports, files --> false NOCOLUMNS:ports[,files] --> correct
Thanks again!
2009/6/16 Wouter Schoot <wouter at schoot.org>
Cayo de Moraes wrote:
I never saw this default before... does this remove the "ports" column from all hosts?
Allow me to copy/paste from "man bb-hosts" for you:
DEFAULT HOST If you have certain tags that you want to apply to all hosts, you can define a host name ".default." and put the tags on that host. Note that per-host definitions will override the default ones.
NOTE: The ".default." host entry will only accept the following tags - others are silently ignored: NOCOLUMNS, COMMENT, DESCR, CLASS, dialup, testip, nobb2, nodisp, noinfo, notrends, TRENDS, NOPROPRED, NOPROPYELLOW, NOPROPPURPLE, NOPROPACK, REPORTTIME, WARNPCT, NET, noclear, nosslcert, ssldays, DOWNTIME, depends, noping, noconn, trace, notrace, HIDEHTTP, browser, pulldata. Specifically, note that network tests, "badTEST" settings, and alternate pageset relations cannot be listed on the ".default." host.Wouter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
no... it does not work like i tought...
it only works when i disable 1 column...
2009/6/16 Cayo de Moraes <camorae at googlemail.com>
ok, thanks for the advice. Its working now!
after reading the bb-hosts manual i noticed that the problem was here:
NOCOLUMNS:ports, files --> false NOCOLUMNS:ports[,files] --> correct
Thanks again!
2009/6/16 Wouter Schoot <wouter at schoot.org>
Cayo de Moraes wrote:
I never saw this default before... does this remove the "ports" column
from all hosts?
Allow me to copy/paste from "man bb-hosts" for you:
DEFAULT HOST If you have certain tags that you want to apply to all hosts, you can define a host name ".default." and put the tags on that host. Note that per-host definitions will override the default ones.
NOTE: The ".default." host entry will only accept the following tags - others are silently ignored: NOCOLUMNS, COMMENT, DESCR, CLASS, dialup, testip, nobb2, nodisp, noinfo, notrends, TRENDS, NOPROPRED, NOPROPYELLOW, NOPROPPURPLE, NOPROPACK, REPORTTIME, WARNPCT, NET, noclear, nosslcert, ssldays, DOWNTIME, depends, noping, noconn, trace, notrace, HIDEHTTP, browser, pulldata. Specifically, note that network tests, "badTEST" settings, and alternate pageset relations cannot be listed on the ".default." host.Wouter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Cayo de Moraes wrote:
no... it does not work like i tought...
it only works when i disable 1 column...
The default defined states: 0.0.0.0 .default. # NOPROPRED:+apt,+libs NOCOLUMNS:files,ports
So, that should work. You might have to manually drop some columns after changing the default
Wouter
Make sure there are no spaces in your comma-separated list.
-----Original Message----- From: Wouter Schoot [mailto:wouter at schoot.org] Sent: Tuesday, June 16, 2009 6:15 AM To: hobbit at hswn.dk Subject: Re: [hobbit] How to disable standard columns?
Cayo de Moraes wrote:
no... it does not work like i tought...
it only works when i disable 1 column...
The default defined states: 0.0.0.0 .default. # NOPROPRED:+apt,+libs NOCOLUMNS:files,ports
So, that should work. You might have to manually drop some columns after changing the default
Wouter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
yes!!! the whole time where an space there and I didnt noticed that! thanks guys, now it work perfectly!
Cayo
2009/6/16 HUBBARD, GREG ((EDS)) <ghubbard at hp.com>
Make sure there are no spaces in your comma-separated list.
-----Original Message----- From: Wouter Schoot [mailto:wouter at schoot.org] Sent: Tuesday, June 16, 2009 6:15 AM To: hobbit at hswn.dk Subject: Re: [hobbit] How to disable standard columns?
Cayo de Moraes wrote:
no... it does not work like i tought...
it only works when i disable 1 column...
The default defined states: 0.0.0.0 .default. # NOPROPRED:+apt,+libs NOCOLUMNS:files,ports
So, that should work. You might have to manually drop some columns after changing the default
Wouter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
camorae@googlemail.com
-
ghubbard@hp.com
-
wouter@schoot.org