How to disable standard columns?
list Cayo de Moraes
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
list Wouter Schoot
▸
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
list Cayo de Moraes
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 <user-845758e8652b@xymon.invalid>
▸
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
list Wouter Schoot
▸
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
list Cayo de Moraes
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 <user-845758e8652b@xymon.invalid>
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
list Cayo de Moraes
no... it does not work like i tought... it only works when i disable 1 column... 2009/6/16 Cayo de Moraes <user-92aec3b3c467@xymon.invalid>
▸
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 <user-845758e8652b@xymon.invalid>
▸
Cayo de Moraes wrote: I never saw this default before... does this remove the "ports" columnfrom 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
list Wouter Schoot
▸
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
list Greg Hubbard
Make sure there are no spaces in your comma-separated list.
▸
-----Original Message-----
From: Wouter Schoot [mailto:user-845758e8652b@xymon.invalid] Sent: Tuesday, June 16, 2009 6:15 AM
To: user-ae9b8668bcde@xymon.invalid
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
list Cayo de Moraes
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)) <user-54b18961ee8d@xymon.invalid>
▸
Make sure there are no spaces in your comma-separated list. -----Original Message----- From: Wouter Schoot [mailto:user-845758e8652b@xymon.invalid] Sent: Tuesday, June 16, 2009 6:15 AM To: user-ae9b8668bcde@xymon.invalid 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