[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] NOCOLUMNS:custom,stuff



From bb-hosts(5) man page:

     group-only COLUMN1|COLUMN2|COLUMN3 [group-title]
          Same as the "group"  and  "group-compress"  lines,  but
          includes  only  the  columns  explicitly  listed in the
          group. Any columns not listed will be ignored for these
          hosts.

     group-except COLUMN1|COLUMN2|COLUMN3 [group-title]
          Same  as  the  "group-only"  lines,  but  includes  all
          columns  EXCEPT  those  explicitly listed in the group.
          Any columns listed will be ignored for  these  hosts  -
          all other columns are shown.



In your case maybe:

group-except app2 App1 Servers
1.2.3.4	foo	#
.
.
group-except app1 App2 Servers
0.0.0.0	foo	#


Dominique


Everett, Vernon wrote:
According to the docs, and confirmed by testing,
NOCOLUMNS:column[,column]
    Used to drop certain of the status columns generated by the Hobbit
client. column is one of cpu, disk, files, memory, msgs, ports, procs. This setting stops these columns from being updated for the host. Note: If the columns already exist, you must use the bb(1) utility
to drop them, or they will go purple.

This is the bit that's got me stuck.
column is one of cpu, disk, files, memory, msgs, ports, procs.
Is there a way to nocolumn a custom test?

We have a server, appearing twice in bb-hosts, because it performs 2
different functions.
It has 2 custom tests on it, one monitoring app1 and other monitoring
app2.
There are different custodians for the 2 apps, so I want them to appear
in their own groups.

We have it listed in bb-hosts as .
.
group App1 Servers
1.2.3.4	foo	# NOCOLUMS:app2
.
.
.
group App2 Servers
0.0.0.0	foo	# NOCOLUMS:app1

How do I make this work?

Thanks
    Vernon


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk