Ad Widget

Collapse

Overview Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • axel
    Member
    • Aug 2005
    • 36

    #1

    Overview Page

    HI

    Is it possible to change the Monitoring -> Overview output ?

    For my use it is better that i have the HOSTs at the left site and the items or Triggers on the top . because i have more Hosts than Triggers.

    Can somebody help me ?

    Thx Axel


    example
    HOST |PING| LOAD|Backup Errors |
    Server1| 1 | 0.03 | Character text .....|
    Server2| 1 | 0.10 |
    Server3| 1 | 0.00 |
    Server4| 0 | 1.50 |
    .... |

    My Problem @the moment

    ___________|Server1___________|Server2____________ |....
    Ping | 0 | 0 |
    LOAD | 0.10 | 0 |
    Backup Errors|TEXT TEXT TEXT ...|TEXT TEXT TEXt .......|
    Last edited by axel; 21-12-2005, 12:04.
  • primos
    Member
    • Jul 2005
    • 61

    #2
    I changed the css writing style to vertical for the overview layout of the hosts, works for 20-30 servers very well for smaller groups I left horizontal writting mode, good trick for triggers not data!

    hope that helps

    I agree vice-versa would be great but not for all the things!


    ps I also made a trigger map (trigger+map), added triggers to the maps!
    Last edited by primos; 17-01-2006, 08:47.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Originally posted by primos
      I changed the css writing style to vertical for the overview layout of the hosts, works for 20-30 servers very well for smaller groups I left horizontal writting mode, good trick for triggers not data!

      hope that helps

      I agree vice-versa would be great but not for all the things!


      ps I also made a trigger map (trigger+map), added triggers to the maps!
      Please can you post screenshots of your improvements.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • bytesize
        Member
        • Aug 2005
        • 71

        #4
        Please could you post how you did this, as I have the same problem.

        Thanks!

        John

        Comment

        • bytesize
          Member
          • Aug 2005
          • 71

          #5
          Here are my instructions on how to list hosts vertically in the Overview page, so you don't have to scroll to see large number of hosts. It looks very impressive!

          First, make a backup of overview.php, css.css and includes/html.inc.php


          Edit overview.php

          Line 117 change to:
          overview_header($header);

          Line 196 change to:
          overview_header($header);


          Edit includes/html.inc.php

          Insert this function at line 88 (do not overwrite any code):

          function overview_header($elements)
          {
          echo "<tr bgcolor='#CCCCCC'>";
          while(list($num,$element)=each($elements))
          {
          echo "<td valign=bottom><NOBR><SPAN CLASS=vertical>".$element."&nbsp;</SPAN></NOBR></td>";
          }
          echo "</tr>";
          echo "\n";
          }


          Add to bottom of css.css:

          .vertical
          {
          width:1px;
          writing-mode: tb-rl;
          filter: flipv fliph;
          }


          ..and your done! Refresh the overview page and you should see your vertical hostnames!

          John
          Last edited by bytesize; 26-01-2006, 18:31.

          Comment

          • axel
            Member
            • Aug 2005
            • 36

            #6
            HI thx

            I make this changes but nothing happen.

            Do you have an idea what i do wrong ?

            THX
            Axel

            Edit: 1 thing change the host Names are not BOLD

            Comment

            • mpeide
              Junior Member
              • Jul 2005
              • 21

              #7
              Overview Page

              Thanks for instructions. Helps me out a lot.

              I noticed that when I use Firefox web client (on WINXP) - that server names are still horizontal. Works great on IE and Maxthon.

              Comment

              • primos
                Member
                • Jul 2005
                • 61

                #8
                Images!

                I forgot about this thread, sorry Alexei!

                Css style vertical saves me from long domain names, and yes it doesn't work in Mozzila&..!


                Here I'm working on overlib stream over the page head where I'll place info and buttons for spawning jmeter test, which delivers data.The overlib opens when you click on the server and goes away when cross it with your mouse(when you leave the field).


                Screens


                Added links field


                Trigger map, I added another table. Good thing gives you free hands at developing the map! In the map are servers and triggers.



                ps I added a crt BLOB field to users so I can auth with SSL cert without any login and ..

                a question will zabbix be able to connect to slave db after reconnection to primary fails?
                Last edited by primos; 30-01-2006, 22:46.

                Comment

                • axel
                  Member
                  • Aug 2005
                  • 36

                  #9
                  Great exact what i need

                  Comment

                  • fonderia
                    Junior Member
                    • Dec 2005
                    • 5

                    #10
                    primos: can you post your modifications here?


                    thanks.

                    Comment

                    • primos
                      Member
                      • Jul 2005
                      • 61

                      #11
                      Gui

                      I can and I will but I need time to polish it. I was thinking on waitting for beta6 to start making mods for publishing.

                      or I can post easy howto now?

                      guys & girls decide

                      Comment

                      • fonderia
                        Junior Member
                        • Dec 2005
                        • 5

                        #12
                        imho, could be useful in the meantime to share the code.

                        Comment

                        • primos
                          Member
                          • Jul 2005
                          • 61

                          #13
                          This code sucks because I stopped working on it a while ago and start testing ways to improve things so the code is f... ,but as I said before I'm waitting for beta6 to start inline coding .

                          so this is experimental stuff with x errors


                          my db (table users(+sslcert BLOB),table app_link,table sysmaps_triggers)



                          not proud on it but you can have it if you want!

                          and http://silos.gorkic.com

                          user test
                          pass %test
                          Last edited by primos; 31-01-2006, 22:40.

                          Comment

                          • cameronsto
                            Senior Member
                            • Oct 2005
                            • 148

                            #14
                            I created a patch for primos's changes to the overview page with regards to the horizontal headers. Here's the post. As I use Opera primarily, this doesnt' work for me, but I am going to look into using the PHP-GD library to create images to use as headers instead of text, so that I can have the same effect.

                            -cameron

                            Comment

                            • fonderia
                              Junior Member
                              • Dec 2005
                              • 5

                              #15
                              i've browsed the code but i'm not quite sure what they are all about.
                              I see the diff adds references to some 'external checks', what they are for?

                              Comment

                              Working...