Xymon Mailing List Archive search

default host tag

4 messages in this thread

list Thomas Pedersen · Tue, 04 Oct 2005 14:29:18 +0200 ·
How should I understand the .default. host tag. Ie should I put the 
following in my bb-hosts

0.0.0.0 .default. # myspecialtag

or

0.0.0.0 .default. # nodisp myspecialtag

Regards,

Thomas Pedersen
list Henrik Størner · Tue, 4 Oct 2005 15:16:47 +0200 ·
quoted from Thomas Pedersen
On Tue, Oct 04, 2005 at 02:29:18PM +0200, Thomas wrote:
How should I understand the .default. host tag. Ie should I put the following in my bb-hosts

0.0.0.0 .default. # myspecialtag
Yes.
or

0.0.0.0 .default. # nodisp myspecialtag
This one would cause all of your hosts to be "nodisp" by default.
Probably not what you want ...


Henrik
list Thomas Pedersen · Tue, 04 Oct 2005 15:22:56 +0200 ·
Should I be able to add a alternate pageset tag via a default tag.

ie

0.0.0.0   .default.  # OS:linux-box
1.2.3.4   mybox  # ssh telnet

and expect that this is the same as:

1.2.3.4 mybox # ssh telnet OS:linux-box

Regards, Thomas
quoted from Henrik Størner

Henrik Stoerner wrote:
On Tue, Oct 04, 2005 at 02:29:18PM +0200, Thomas wrote:
 
How should I understand the .default. host tag. Ie should I put the 
following in my bb-hosts

0.0.0.0 .default. # myspecialtag
   
Yes.

 
or

0.0.0.0 .default. # nodisp myspecialtag
   
This one would cause all of your hosts to be "nodisp" by default.
Probably not what you want ...


Henrik

list Henrik Størner · Tue, 4 Oct 2005 16:48:50 +0200 ·
quoted from Thomas Pedersen
On Tue, Oct 04, 2005 at 03:22:56PM +0200, Thomas wrote:
Should I be able to add a alternate pageset tag via a default tag.

ie

0.0.0.0   .default.  # OS:linux-box
1.2.3.4   mybox  # ssh telnet

and expect that this is the same as:

1.2.3.4 mybox # ssh telnet OS:linux-box
No. I know this is very poorly (read: not at all) explained in
the man-page. But the .default. host only works for the "simple"
tags, not those like the pageset tags that require parameters.


Henrik