Howto display status under differents names ?
Hi,
I have some multipurpose hosts (mail, dns, ldap) I want to display under differents pages.
From the same client that reports dnsload, gets polled for dns, ldap, smtp, I want them to be shown as :
smtp1 (main hostname) on the "mail servers" page ldap1 on the "ldap servers" page dns1 on the "dns servers" page
I tried :
10.1.1.1 smtp1 # prefer smtp ldap dns pop3 pop3s 10.1.1.1 smtp1 # NAME:ldap1 smtp ldap dns pop3 pop3s noconn 10.1.1.1 smtp1 # NAME:dns1 smtp ldap dns pop3 pop3s noconn
but no luck, they are shown under their real name, smtp1, on all pages. Is it possible to do such a thing ?
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
I believe it should/could be done by 'host alias'. There is a thread on this not too long ago. basically, all tests done on first real one. Aliases is inserted to bb-hosts as '0.0.0.0 smtp1 # noconn name:dns" with 'group-only'.
On 9/6/06, Charles Goyard <cgoyard at cvf.fr> wrote:
Hi,
I have some multipurpose hosts (mail, dns, ldap) I want to display under differents pages.
From the same client that reports dnsload, gets polled for dns, ldap, smtp, I want them to be shown as :
smtp1 (main hostname) on the "mail servers" page ldap1 on the "ldap servers" page dns1 on the "dns servers" page
I tried :
10.1.1.1 smtp1 # prefer smtp ldap dns pop3 pop3s 10.1.1.1 smtp1 # NAME:ldap1 smtp ldap dns pop3 pop3s noconn 10.1.1.1 smtp1 # NAME:dns1 smtp ldap dns pop3 pop3s noconn
but no luck, they are shown under their real name, smtp1, on all pages. Is it possible to do such a thing ?
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
I tried what you sugested and also tried what the previous discussion states, but the hosts still ignores COMMENT or NAME tags. It show under the first name.
Jerry Yu wrote :
I believe it should/could be done by 'host alias'. There is a thread on this not too long ago. basically, all tests done on first real one. Aliases is inserted to bb-hosts as '0.0.0.0 smtp1 # noconn name:dns" with 'group-only'.
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
Here is what I had in my bb-hosts for a Hobbit 4.2 on CentOS 4.4. Enclosed a PNG showing the resulted MAIN-VIEW. ------cut----------cut--------- 127.0.0.1 localhost # BBDISPLAY BBPAGER BBNET bbd http://localhost/ group-only http "web service" 0.0.0.0 localhost # noconn name:www ------cut---------cut---------
On 9/6/06, Charles Goyard <cgoyard at cvf.fr> wrote:
Hi,
I tried what you sugested and also tried what the previous discussion states, but the hosts still ignores COMMENT or NAME tags. It show under the first name.
Jerry Yu wrote :
I believe it should/could be done by 'host alias'. There is a thread on this not too long ago. basically, all tests done on first real one. Aliases is inserted to bb-hosts as '0.0.0.0 smtp1 # noconn name:dns" with 'group-only'.
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
re-read your message, it seemed that NAME: is not honored for HOST aliases. A bug, maybe?
On 9/6/06, Jerry Yu <jjj863 at gmail.com> wrote:
Here is what I had in my bb-hosts for a Hobbit 4.2 on CentOS 4.4. Enclosed a PNG showing the resulted MAIN-VIEW. ------cut----------cut--------- 127.0.0.1 localhost # BBDISPLAY BBPAGER BBNET bbd http://localhost/ group-only http "web service" 0.0.0.0 localhost # noconn name:www ------cut---------cut---------
On 9/6/06, Charles Goyard <cgoyard at cvf.fr> wrote:
Hi,
I tried what you sugested and also tried what the previous discussion states, but the hosts still ignores COMMENT or NAME tags. It show under the first name.
Jerry Yu wrote :
I believe it should/could be done by 'host alias'. There is a thread on this not too long ago. basically, all tests done on first real one. Aliases is inserted to bb-hosts as '0.0.0.0 smtp1 # noconn name:dns" with 'group-only'.
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
So we have the same result : the name:www clause is not honored and localhost is displayed on both places.
Regards
Jerry Yu a écrit :
Here is what I had in my bb-hosts for a Hobbit 4.2 on CentOS 4.4. Enclosed a PNG showing the resulted MAIN-VIEW. ------cut----------cut--------- 127.0.0.1 localhost # BBDISPLAY BBPAGER BBNET bbd http://localhost/ group-only http "web service" 0.0.0.0 localhost # noconn name:www ------cut---------cut---------
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
You need to put all the tests under one entry, and "noconn" for the rest. Then use "group-only" and 'group-except" to control what is displayed on each page. I don't think there is a way to change the name for each entry. You can search the list archives for more information, this topic has come up before quite a few times.
Thanks, Larry Barber
On 9/6/06, Charles Goyard <cgoyard at cvf.fr> wrote:
So we have the same result : the name:www clause is not honored and localhost is displayed on both places.
Regards
Jerry Yu a écrit :
Here is what I had in my bb-hosts for a Hobbit 4.2 on CentOS 4.4. Enclosed a PNG showing the resulted MAIN-VIEW. ------cut----------cut--------- 127.0.0.1 localhost # BBDISPLAY BBPAGER BBNET bbd http://localhost/ group-only http "web service" 0.0.0.0 localhost # noconn name:www ------cut---------cut---------
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
hmm, IMHO, name:JustALabel should be honored even for host aliases, for the sake of consistency, or as a feature if you may.
On 9/7/06, Larry Barber <lebarber at gmail.com> wrote:
You need to put all the tests under one entry, and "noconn" for the rest. Then use "group-only" and 'group-except" to control what is displayed on each page. I don't think there is a way to change the name for each entry. You can search the list archives for more information, this topic has come up before quite a few times.
Thanks, Larry Barber
On 9/6/06, Charles Goyard <cgoyard at cvf.fr> wrote:
So we have the same result : the name:www clause is not honored and localhost is displayed on both places.
Regards
Jerry Yu a écrit :
Here is what I had in my bb-hosts for a Hobbit 4.2 on CentOS 4.4. Enclosed a PNG showing the resulted MAIN-VIEW. ------cut----------cut--------- 127.0.0.1 localhost # BBDISPLAY BBPAGER BBNET bbd http://localhost/ group-only http "web service" 0.0.0.0 localhost # noconn name:www ------cut---------cut---------
-- Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
cgoyard@cvf.fr
-
jjj863@gmail.com
-
lebarber@gmail.com