Can a host be "aliased" multiple times in bb-hosts?
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
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 <greg.hubbard at eds.com> 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
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 <rower.master at gmail.com> 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 <greg.hubbard at eds.com> 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
On 8/31/06, Matthew Davis <matthew at familycampground.org> 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
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
Ah thanks Ralph & Henrik! Glad it was something easy.
On 8/31/06, Henrik Stoerner <henrik at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Matthew Davis http://familycampground.org/matthew/
thanks, Mario! I will try that out!
GLH
From: mario andre [mailto:rower.master at gmail.com]
Sent: Wednesday, August 30, 2006 4:44 PM
To: hobbit at hswn.dk
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 <greg.hubbard at eds.com> 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
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 <rower.master at gmail.com> 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 <greg.hubbard at eds.com> 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
also, it displays host1 (again, with every columns) as well as emailRelay (with SMTP column alone).
On 8/31/06, Jerry Yu <jjj863 at gmail.com> 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 <rower.master at gmail.com> 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 <greg.hubbard at eds.com > 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
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
got you. thx, henrik.
On 8/31/06, Henrik Stoerner <henrik at hswn.dk> 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: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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (6)
-
greg.hubbard@eds.com
-
henrik@hswn.dk
-
jjj863@gmail.com
-
matthew@familycampground.org
-
ralphmitchell@gmail.com
-
rower.master@gmail.com