Ad Widget

Collapse

PATCH: A new cleaner look for number of problems on maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sire
    Senior Member
    • Jul 2010
    • 210

    #1

    PATCH: A new cleaner look for number of problems on maps

    Hi all,

    I have written a patch that makes network maps with lots of items look cleaner by reimplementing the way Zabbix frontend displays number of problems. The ideas behind this patch are
    1) to make perception of large networks maps with lots of submaps and hosts easier by shortening labels under items;
    2) IMHO for a submap or host group it is more useful to see the number of hosts with problems rather than the total number of fired triggers (problems) inside a submap.

    For network hosts displayed on a map red numbers mean number of problems with priority above 3, yellow numbers mean number of problems with priority above 0 and less than 3, and green numbers display number triggers, that are known to be ok.
    For submaps and host groups numbers correspond to number of hosts on a submap or in a group having or not having problems.

    I have also turned off displaying the number of unknown triggers. The first screenshot shows the cleanest look without unknown triggers. The second one shows the new look with unknown triggers.

    The patch also adds a feature of displaying total number of hosts/hosts with warning/hosts with errors/hosts that are ok in the bottom left corner of the map.
    Attached Files
    Last edited by sire; 06-10-2010, 08:06.
    Regards,
    Sergey Syreskin

    Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

    Temporary out of Zabbix business
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Wow, I love it !

    I appreciate all your ideas:
    - summary of all triggers and/or hosts, not only number of problems,
    - more information in less space,
    - get rid of icons with "unknown" (too much time wasted manually disabling those triggers).

    May be you could summit it in Zabbix bug tracker.
    I hope they will be integrated in a future release.

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • sire
      Senior Member
      • Jul 2010
      • 210

      #3
      Originally posted by alixen
      May be you could summit it in Zabbix bug tracker.
      I hope they will be integrated in a future release.
      How can I do that, could you point me to that page?
      Regards,
      Sergey Syreskin

      Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

      Temporary out of Zabbix business

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Originally posted by sire
        How can I do that, could you point me to that page?


        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • sire
          Senior Member
          • Jul 2010
          • 210

          #5
          Created ZBXNEXT-522 https://support.zabbix.com/browse/ZBXNEXT-522
          Regards,
          Sergey Syreskin

          Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

          Temporary out of Zabbix business

          Comment

          • zabbix_zen
            Senior Member
            • Jul 2009
            • 426

            #6
            Nice !
            These usability improvements are welcome.

            Those who read this post and like the look of it, please vote on the Tracker.

            Comment

            • alixen
              Senior Member
              • Apr 2006
              • 474

              #7
              Originally posted by zabbix_zen
              Nice !
              These usability improvements are welcome.

              Those who read this post and like the look of it, please vote on the Tracker.
              Done !

              Regards,
              Alixen
              http://www.alixen.fr/zabbix.html

              Comment

              • sire
                Senior Member
                • Jul 2010
                • 210

                #8
                I have fixed several bugs in my patch. Now it honors the "Expand single problem" map option. If the above option is enabled, the map looks as follows. Please ignore the ping times, they are irrelevant to this patch.
                Attached Files
                Regards,
                Sergey Syreskin

                Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                Temporary out of Zabbix business

                Comment

                • danrog
                  Senior Member
                  • Sep 2009
                  • 164

                  #9
                  But its hard to ignore those wonderful ping times :-)

                  Is that part of another patch you created?

                  Comment

                  • sire
                    Senior Member
                    • Jul 2010
                    • 210

                    #10
                    Originally posted by danrog
                    But its hard to ignore those wonderful ping times :-)
                    Is that part of another patch you created?
                    No, ping times are displayed by {host:key.func(param)} macros - a native Zabbix feature, see the manual.
                    Regards,
                    Sergey Syreskin

                    Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                    Temporary out of Zabbix business

                    Comment

                    • danrog
                      Senior Member
                      • Sep 2009
                      • 164

                      #11
                      WOW! I can't believe I missed that (never really bothered to look at the manual for maps since they're pretty straightforward). Thanks!

                      Comment

                      • sire
                        Senior Member
                        • Jul 2010
                        • 210

                        #12
                        Here is a new version of the patch. In this version I have removed an obsolete debugging function. This should speed up creating maps a little.
                        Attached Files
                        Regards,
                        Sergey Syreskin

                        Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                        Temporary out of Zabbix business

                        Comment

                        • gospodin.horoshiy
                          Senior Member
                          • Sep 2008
                          • 272

                          #13
                          awesome! The improvement I was looking for badly. Thank you
                          Zbx 2.0.4 on Debian and MYSQL5 on Ubuntu Server 64bit 8.04,
                          200+ Win Agents, 50+ Linux Agents, 150+ Network Devices

                          Comment

                          • sire
                            Senior Member
                            • Jul 2010
                            • 210

                            #14
                            Here is an updated version of this patch. It fixes a problem with disappearing map element icon after pressing "Apply" button in properties window while editing a network map. The down side of this update is that total number of elements is no more shown in the bottom left corner of a map in edit mode.
                            Attached Files
                            Regards,
                            Sergey Syreskin

                            Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                            Temporary out of Zabbix business

                            Comment

                            • sire
                              Senior Member
                              • Jul 2010
                              • 210

                              #15
                              Patch updates.
                              Attached Files
                              Regards,
                              Sergey Syreskin

                              Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

                              Temporary out of Zabbix business

                              Comment

                              Working...