Can a host be "aliased" multiple times in bb-hosts?
list Greg L Hubbard
Shire folk: I was trying to search the archives for this but didn't get anywhere. What I want to do is have some hosts appear in a couple of different places in my Web page hierarchy. From the description of the "prefer" tag, it appears that this can be done and code was written to help Hobbit avoid confusion. But when I put my host alias in the file, the Hobbit server started complaining that my host was in the file twice. Can this be done? If so, where should I look in the docs to figure it out? GLH
list Mario Andre
HI, To do this you have to repeat the name of the host and use 0.0.0.0 and noconn like this: 0.0.0.0 host_repeated # noconn Regards, Mario.
▸
On 8/30/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Shire folk: I was trying to search the archives for this but didn't get anywhere. What I want to do is have some hosts appear in a couple of different places in my Web page hierarchy. From the description of the "prefer" tag, it appears that this can be done and code was written to help Hobbit avoid confusion. But when I put my host alias in the file, the Hobbit server started complaining that my host was in the file twice. Can this be done? If so, where should I look in the docs to figure it out? GLH
list Matthew Davis
And going a step fruther, what about only displaying certain tags for a certain host and displaying other tags from that same host on a differnt page, without showing the first set. For example, I'd like to have a page that shows all connection type info (smtp/http/ftp/etc.) and another page that shows collected data from the hobbit-client (cpu/mem/vmio/etc). Is that possible? Or does hobbit display all or nothing about a host? I've been playing and searching for a few days about this with no luck. I hope I'm overlooking something obvious.
▸
On 8/30/06, mario andre <user-82c7780661a4@xymon.invalid> wrote:HI, To do this you have to repeat the name of the host and use 0.0.0.0 and noconn like this: 0.0.0.0 host_repeated # noconn Regards, Mario. On 8/30/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Shire folk: I was trying to search the archives for this but didn't get anywhere. What I want to do is have some hosts appear in a couple of different places in my Web page hierarchy. From the description of the "prefer" tag, it appears that this can be done and code was written to help Hobbit avoid confusion. But when I put my host alias in the file, the Hobbit server started complaining that my host was in the file twice. Can this be done? If so, where should I look in the docs to figure it out? GLH
--
Matthew Davis
list Ralph Mitchell
▸
On 8/31/06, Matthew Davis <user-b01c5fac37a6@xymon.invalid> wrote:
And going a step fruther, what about only displaying certain tags for a certain host and displaying other tags from that same host on a differnt page, without showing the first set. For example, I'd like to have a page that shows all connection type info (smtp/http/ftp/etc.) and another page that shows collected data from the hobbit-client (cpu/mem/vmio/etc). Is that possible? Or does hobbit display all or nothing about a host? I've been playing and searching for a few days about this with no luck. I hope I'm overlooking something obvious.
Take a look in the bb-hosts doc for usage of "group-only" and "group-except". Group-only will cause only the listed columns to show, group-except causes all columns to show *except* those listed. Ralph Mitchell
list Henrik Størner
▸
On Thu, Aug 31, 2006 at 01:05:55AM -0400, Matthew Davis wrote:
And going a step fruther, what about only displaying certain tags for a certain host and displaying other tags from that same host on a differnt page, without showing the first set. For example, I'd like to have a page that shows all connection type info (smtp/http/ftp/etc.) and another page that shows collected data from the hobbit-client (cpu/mem/vmio/etc). Is that possible? Or does hobbit display all or nothing about a host?
By default, Hobbit displays everything about a host. But You can use the "group-only" and "group-except" directives to show only selected columns; see the bb-hosts(5) man-page for details. Regards, Henrik
list Matthew Davis
Ah thanks Ralph & Henrik! Glad it was something easy.
▸
On 8/31/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:On Thu, Aug 31, 2006 at 01:05:55AM -0400, Matthew Davis wrote:And going a step fruther, what about only displaying certain tags for a certain host and displaying other tags from that same host on a differnt page, without showing the first set. For example, I'd like to have a page that shows all connection type info (smtp/http/ftp/etc.) and another page that shows collected data from the hobbit-client (cpu/mem/vmio/etc). Is that possible? Or does hobbit display all or nothing about a host?By default, Hobbit displays everything about a host. But You can use the "group-only" and "group-except" directives to show only selected columns; see the bb-hosts(5) man-page for details. Regards, Henrik
--
Matthew Davis http://familycampground.org/matthew/
list Greg L Hubbard
thanks, Mario! I will try that out! GLH From: mario andre [mailto:user-82c7780661a4@xymon.invalid] Sent: Wednesday, August 30, 2006 4:44 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Can a host be "aliased" multiple times in bb-hosts?
▸
HI,
To do this you have to repeat the name of the host and use
0.0.0.0 and noconn like this:
0.0.0.0 host_repeated # noconn
Regards,
Mario.
On 8/30/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
Shire folk:
I was trying to search the archives for this but didn't
get anywhere.
What I want to do is have some hosts appear in a couple
of different places in my Web page hierarchy. From the description of
the "prefer" tag, it appears that this can be done and code was written
to help Hobbit avoid confusion. But when I put my host alias in the
file, the Hobbit server started complaining that my host was in the file
twice.
Can this be done? If so, where should I look in the
docs to figure it out?
GLH
list Jerry Yu
hmm, tried that. it works, only that bbtest for the hobbit server itself went Yellow & complains about duplicated hosts. any idea why? I have 1.2.3.4 host1 # noconn ssh http 0.0.0.0 host1 # noconn smtp name:emailRelay
▸
On 8/30/06, mario andre <user-82c7780661a4@xymon.invalid> wrote:HI, To do this you have to repeat the name of the host and use 0.0.0.0 and noconn like this: 0.0.0.0 host_repeated # noconn Regards, Mario. On 8/30/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:Shire folk: I was trying to search the archives for this but didn't get anywhere. What I want to do is have some hosts appear in a couple of different places in my Web page hierarchy. From the description of the "prefer" tag, it appears that this can be done and code was written to help Hobbit avoid confusion. But when I put my host alias in the file, the Hobbit server started complaining that my host was in the file twice. Can this be done? If so, where should I look in the docs to figure it out? GLH
list Jerry Yu
also, it displays host1 (again, with every columns) as well as emailRelay (with SMTP column alone).
▸
On 8/31/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:hmm, tried that. it works, only that bbtest for the hobbit server itself went Yellow & complains about duplicated hosts. any idea why? I have 1.2.3.4 host1 # noconn ssh http 0.0.0.0 host1 # noconn smtp name:emailRelay On 8/30/06, mario andre <user-82c7780661a4@xymon.invalid> wrote:HI, To do this you have to repeat the name of the host and use 0.0.0.0 and noconn like this: 0.0.0.0 host_repeated # noconn Regards, Mario. On 8/30/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid > wrote:Shire folk: I was trying to search the archives for this but didn't get anywhere. What I want to do is have some hosts appear in a couple of different places in my Web page hierarchy. From the description of the "prefer" tag, it appears that this can be done and code was written to help Hobbit avoid confusion. But when I put my host alias in the file, the Hobbit server started complaining that my host was in the file twice. Can this be done? If so, where should I look in the docs to figure it out? GLH
list Henrik Størner
▸
On Thu, Aug 31, 2006 at 12:18:56PM -0400, Jerry Yu wrote:
hmm, tried that. it works, only that bbtest for the hobbit server itself went Yellow & complains about duplicated hosts. any idea why? I have 1.2.3.4 host1 # noconn ssh http 0.0.0.0 host1 # noconn smtp name:emailRelay
Put all of your host definitions on one host entry, and let the others just be with "noconn". 1.2.3.4 host1 # noconn ssh http smtp name:emailRelay 0.0.0.0 host1 # noconn Oh, and the "http" stuff really should be a full URL. Regards, Henrik
list Jerry Yu
got you. thx, henrik.
▸
On 8/31/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:On Thu, Aug 31, 2006 at 12:18:56PM -0400, Jerry Yu wrote:hmm, tried that. it works, only that bbtest for the hobbit server itself went Yellow & complains about duplicated hosts. any idea why? I have 1.2.3.4 host1 # noconn ssh http 0.0.0.0 host1 # noconn smtp name:emailRelayPut all of your host definitions on one host entry, and let the others just be with "noconn". 1.2.3.4 host1 # noconn ssh http smtp name:emailRelay 0.0.0.0 host1 # noconn Oh, and the "http" stuff really should be a full URL. Regards, Henrik