Xymon Mailing List Archive search

Can sub-pages presentations cope with test selection ?

4 messages in this thread

list Flevesque · Wed, 13 Jul 2005 14:44:56 +0200 ·
Hello Hobbit users !


I am running Hobbit Monitor 4.0.4 on a Linux box and am very happy with it.
Thank you Henrik Stoerner, you really did a great job !

I have a (not so) silly presentation question :

My server called 'keys' has 10 Oracle istances running on it: ORA1, ORA2,
..., ORA10. I would like to monitor all of them in the default page of my
Hobbit display, the first 5 ones in the sub-page "Development / Team1", and
the last 5 ones in the subpage "Development / Team2".

To achieve this, I put one test per instances in place, giving 10 columns
in the default page of my display server (called 'mafia') : ora1, ora2,
..., ora10.
My problem is they all appear in both sub-page, meanwhile I am only
interested in half of them...

Does anyone know if there could be an issue to my problem? Any idea is
welcome !

Thank you for reading this,

Franck.


Here is my bb-hosts file :

      #
      # Master configuration file for Hobbit and Big Brother
      #
      # This file defines several things:
      #
      # 1) By adding hosts to this file, you define hosts that are
monitored
      #    by Hobbit / Big Brother.
      # 2) By adding "page", "subpage", "group" definitions, you define the
layout
      #    of the Hobbit / Big Brother webpages, and how hosts are divided
among
      #    the various webpages that Hobbit / Big Brother generates.
      # 3) Several other definitions can be done for each host, see the
bb-hosts(5)
      #    man-page.
      #
      # You need to define at least the Hobbit server itself here.

      #######################################################
      #            Development Teams Presentation
      #######################################################

      devpage                  dev         Development Teams
      devsubpage         team1       Team 1
      devsubpage         team2       Team 2


      #########################################
      #            Hosts Definition                    #           (
Definition des systemes monitores )
      #########################################

      group <h3><i>LINUX</i></h3>
      192.168.201.162          keys                    # DEV:team1
DEV:team2 CACTI;keys
      192.168.201.144          mafia                         # BBDISPLAY
BBPAGER BBNET bbd http://mafia/


Franck LEVESQUE - 01.55.19.57.36 -  <user-973be042874f@xymon.invalid>
[ ViaMichelin ] 110 Avenue Victor Hugo, 92514 Boulogne - Billancourt
list Figaro Nicolas · Wed, 13 Jul 2005 14:49:26 +0200 ·
Salut, 

Je pense qu'il faut que tu remplaces "group" par "group-only ora1|ora2|..|ora5 pour le 1er groupe et par "group-only ora6|ora7|..|ora10" pour le 2eme. 

NF 

Hi, 

You should replace "group" by "group-only ora1|ora2|..|ora5" for the 1st group, and by 
"group-only ora6|ora7|..|ora10" for the 2nd

NF 
quoted from Flevesque

-----Message d'origine-----
De : user-973be042874f@xymon.invalid [mailto:user-973be042874f@xymon.invalid] 
Envoyé : mercredi 13 juillet 2005 14:45
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Can sub-pages presentations cope with test selection ?


Hello Hobbit users !


I am running Hobbit Monitor 4.0.4 on a Linux box and am very happy with it. Thank you Henrik Stoerner, you really did a great job !

I have a (not so) silly presentation question :

My server called 'keys' has 10 Oracle istances running on it: ORA1, ORA2, ..., ORA10. I would like to monitor all of them in the default page of my Hobbit display, the first 5 ones in the sub-page "Development / Team1", and the last 5 ones in the subpage "Development / Team2".

To achieve this, I put one test per instances in place, giving 10 columns in the default page of my display server (called 'mafia') : ora1, ora2, ..., ora10. My problem is they all appear in both sub-page, meanwhile I am only interested in half of them...

Does anyone know if there could be an issue to my problem? Any idea is welcome !

Thank you for reading this,

Franck.


Here is my bb-hosts file :

      #
      # Master configuration file for Hobbit and Big Brother
      #
      # This file defines several things:
      #
      # 1) By adding hosts to this file, you define hosts that are monitored
      #    by Hobbit / Big Brother.
      # 2) By adding "page", "subpage", "group" definitions, you define the layout
      #    of the Hobbit / Big Brother webpages, and how hosts are divided
among
      #    the various webpages that Hobbit / Big Brother generates.
      # 3) Several other definitions can be done for each host, see the
bb-hosts(5)
      #    man-page.
      #
      # You need to define at least the Hobbit server itself here.

      #######################################################
      #            Development Teams Presentation
      #######################################################

      devpage                  dev         Development Teams
      devsubpage         team1       Team 1
      devsubpage         team2       Team 2


      #########################################
      #            Hosts Definition                    #           (
Definition des systemes monitores )
      #########################################

      group <h3><i>LINUX</i></h3>
      192.168.201.162          keys                    # DEV:team1
DEV:team2 CACTI;keys
      192.168.201.144          mafia                         # BBDISPLAY
BBPAGER BBNET bbd http://mafia/


Franck LEVESQUE - 01.55.19.57.36 -  <user-973be042874f@xymon.invalid> [ ViaMichelin ] 110 Avenue Victor Hugo, 92514 Boulogne - Billancourt
list Figaro Nicolas · Wed, 13 Jul 2005 14:59:18 +0200 ·
C'est pas hyper clair mes explications en fait, je la refais. 

My 1st explanations were quite confusing, I try again : 

## suggested bb-hosts 

page Hobbitserver Hobbit Server 
group <h3><i>Hobbit Server</i></h3>
      192.168.201.144          mafia                         # BBDISPLAY
BBPAGER BBNET bbd http://mafia/

page devteam Development Teams 
subpage team1 Team 1

group-only ora1|ora2|ora3|ora4|ora5 <h3><i>Oracle Team 1</i></h3>
192.168.201.162          keys                    # DEV:team1 DEV:team2 CACTI;keys

subpage team2 Team 2 
group-only ora6|ora7|ora8|ora9|ora10 <h3><i>Oracle Team 2</i></h3>
192.168.201.162          keys                    # DEV:team1 DEV:team2 CACTI;keys

## end of suggested bb-hosts 

Désolé pour la première réponse aussi rapide que confusante 
Sorry for the 1st (too) quick reply

NF 
quoted from Figaro Nicolas

-----Message d'origine-----
De : FIGARO Nicolas [mailto:user-a732b870264c@xymon.invalid] 
Envoyé : mercredi 13 juillet 2005 14:49
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] RE : [hobbit] Can sub-pages presentations cope with test selection ?


Salut, 

Je pense qu'il faut que tu remplaces "group" par "group-only ora1|ora2|..|ora5 pour le 1er groupe et par "group-only ora6|ora7|..|ora10" pour le 2eme. 

NF 

Hi, 

You should replace "group" by "group-only ora1|ora2|..|ora5" for the 1st group, and by 
"group-only ora6|ora7|..|ora10" for the 2nd

NF 

-----Message d'origine-----
De : user-973be042874f@xymon.invalid [mailto:user-973be042874f@xymon.invalid] 
Envoyé : mercredi 13 juillet 2005 14:45
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Can sub-pages presentations cope with test selection ?


Hello Hobbit users !


I am running Hobbit Monitor 4.0.4 on a Linux box and am very happy with it. Thank you Henrik Stoerner, you really did a great job !

I have a (not so) silly presentation question :

My server called 'keys' has 10 Oracle istances running on it: ORA1, ORA2, ..., ORA10. I would like to monitor all of them in the default page of my Hobbit display, the first 5 ones in the sub-page "Development / Team1", and the last 5 ones in the subpage "Development / Team2".

To achieve this, I put one test per instances in place, giving 10 columns in the default page of my display server (called 'mafia') : ora1, ora2, ..., ora10. My problem is they all appear in both sub-page, meanwhile I am only interested in half of them...

Does anyone know if there could be an issue to my problem? Any idea is welcome !

Thank you for reading this,

Franck.


Here is my bb-hosts file :

      #
      # Master configuration file for Hobbit and Big Brother
      #
      # This file defines several things:
      #
      # 1) By adding hosts to this file, you define hosts that are monitored
      #    by Hobbit / Big Brother.
      # 2) By adding "page", "subpage", "group" definitions, you define the layout
      #    of the Hobbit / Big Brother webpages, and how hosts are divided
among
      #    the various webpages that Hobbit / Big Brother generates.
      # 3) Several other definitions can be done for each host, see the
bb-hosts(5)
      #    man-page.
      #
      # You need to define at least the Hobbit server itself here.

      #######################################################
      #            Development Teams Presentation
      #######################################################

      devpage                  dev         Development Teams
      devsubpage         team1       Team 1
      devsubpage         team2       Team 2


      #########################################
      #            Hosts Definition                    #           (
Definition des systemes monitores )
      #########################################

      group <h3><i>LINUX</i></h3>
      192.168.201.162          keys                    # DEV:team1
DEV:team2 CACTI;keys
      192.168.201.144          mafia                         # BBDISPLAY
BBPAGER BBNET bbd http://mafia/


Franck LEVESQUE - 01.55.19.57.36 -  <user-973be042874f@xymon.invalid> [ ViaMichelin ] 110 Avenue Victor Hugo, 92514 Boulogne - Billancourt
list Figaro Nicolas · Wed, 13 Jul 2005 16:05:24 +0200 ·
Too bad, I never thinked I needed a third reply. 
Pick a look at the bbconfig script on www.deadcat.net. 
I don't know if anyone uses this script to generate hobbit config files, but it should work. 
You can define precisely which parameters apply to which host, and it will generate bb-hosts, bb-proctab
bb-dftab. 
Depending on the test you wish to disable, you can place a ! Before the name of the test or a noconn to avoid the client to be pinged. 
For the double entries, I still have warning about thoses, but I didn't have enough time to fix it for the moment.

You can generate a page which contains the whole infos the dev needs. Just take enough time to set properly the pages, subpages. 
Question subsidiaire (réponse facultative) : qu'est ce qui fait que Michelin utilise un logiciel de ce genre pour sa supervision ? (le prix des solutions non opensource ?)
quoted from Figaro Nicolas

NF 
-----Message d'origine-----
De : user-973be042874f@xymon.invalid [mailto:user-973be042874f@xymon.invalid] Envoyé : mercredi 13 juillet 2005 15:42
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] Réf. : [hobbit] RE : [hobbit] RE : [hobbit] Can sub-pages presentations cope with test selection ?


Thank you for your answer Nicolas, but I am afraid my problem is a little bit more complex :
- Each development team is not only concerned with the Oracle server but quite a lot of others (WebSphere and so on...). They asked me to be able to generate a Hobbit page with all the stuff they deal with, not only the Oracle stuff. If I do as you explained in your mail, I will only be able to give them a part of the expected information;
- I still need a default page with a complete list of all the tests running on all my servers;
- Your proposed bb-hosts file has two entries for the same server. Can't if be a little confusing for the display server ?

Ideally, I would like to be able to disable some tests for a given host on a subpage. Have you ever heard about this kind of possibility?


Note : thank you for answering in french, which is effectively my native language, as you could guess... ;)
quoted from Figaro Nicolas

Franck LEVESQUE - 01.55.19.57.36 -  <user-973be042874f@xymon.invalid> [ ViaMichelin ] 110 Avenue Victor Hugo, 92514 Boulogne - Billancourt