Howto display status under differents names ?
list Charles Goyard
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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Jerry Yu
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 <user-98f9625a7a59@xymon.invalid> 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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Charles Goyard
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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Jerry Yu
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 <user-98f9625a7a59@xymon.invalid> 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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Jerry Yu
re-read your message, it seemed that NAME: is not honored for HOST aliases. A bug, maybe?
▸
On 9/6/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> 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 <user-98f9625a7a59@xymon.invalid> 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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Charles Goyard
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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Larry Barber
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 <user-98f9625a7a59@xymon.invalid> 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 aPNG 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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Jerry Yu
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 <user-6ef9c2864140@xymon.invalid> 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 <user-98f9625a7a59@xymon.invalid> 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 aPNG 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 - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31