Ad Widget

Collapse

PATCH: Search objects on network maps

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

    #1

    PATCH: Search objects on network maps

    Hi all,

    I have written a patch that makes possible searching objects on maps. It searches by map object labels, network host's name, IP and DNS, trigger description, host group name. The found object is highlighted with yellow marks on the network map.

    The patch is quite dirty, it uses SQL statements for searching, and should be rewritten to use Zabbix API. Not tested with distributed monitoring, and will possibly fail.

    This patch should be applied on top of another patch of mine http://www.zabbix.com/forum/showthread.php?t=19411.
    Attached Files
    Regards,
    Sergey Syreskin

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

    Temporary out of Zabbix business
  • sire
    Senior Member
    • Jul 2010
    • 210

    #2
    It turned out that searching doesn't work in Internet Explorer, i'll try to fix this issue soon. I'll also try to make page with map scroll the way that the found object is in the center of the page. However I don't know how to do this. Another feature I'd like to implement is blinking marks. I think I'll have to deal with animated PNG graphics.
    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

      #3
      Originally posted by sire
      It turned out that searching doesn't work in Internet Explorer, i'll try to fix this issue soon.
      Here is a fixed version of the patch, that works in IE and other browsers on Windows platform. This new patch also scrolls the page, so that the found object is visible.
      Attached Files
      Last edited by sire; 11-10-2010, 12:59.
      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

        #4
        Here is an update of the patch. It fixes errors, that occured in map edit mode with browsers other than FireFox.
        Attached Files
        Regards,
        Sergey Syreskin

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

        Temporary out of Zabbix business

        Comment

        • KipyatkOFF
          Junior Member
          • May 2010
          • 23

          #5
          Здравствуйте!
          Когда можно ожидать обновления для финальной версии 1.8.4?

          Comment

          • sire
            Senior Member
            • Jul 2010
            • 210

            #6
            Есть для 1.8.5 и для 1.9.2. Для 1.8.4, боюсь, уже удалил. А вообще надо просить разрабов включить в состав Zabbix'а.
            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

              #7
              Patch updates.
              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

                #8
                Originally posted by KipyatkOFF
                Здравствуйте!
                Когда можно ожидать обновления для финальной версии 1.8.4?
                А патч zabbix-1.8.4rc2-map_search.patch не подходит к финальной? Попробуйте.
                Regards,
                Sergey Syreskin

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

                Temporary out of Zabbix business

                Comment

                • white_wire
                  Junior Member
                  Zabbix Certified Specialist
                  • Apr 2010
                  • 6

                  #9
                  very usefull patch

                  i've applied it on 1.8.5.rc.1

                  Comment

                  • sire
                    Senior Member
                    • Jul 2010
                    • 210

                    #10
                    Those of you who like this patch please vote for it to be included in Zabbix: https://support.zabbix.com/browse/ZBXNEXT-781
                    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

                      #11
                      Patch update for Zabbix pre-1.9.6. Searching on recently introduced map areas displaying all hosts of a group doesn't work.
                      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

                        #12
                        Patch update for Zabbix pre-1.8.10 and pre-1.9.9.
                        Searching on map areas displaying all hosts of a group still doesn't work, and will not work ever.
                        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

                          #13
                          Patch update for Zabbix pre-2.0.0.
                          Attached Files
                          Regards,
                          Sergey Syreskin

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

                          Temporary out of Zabbix business

                          Comment

                          • Termi2000
                            Junior Member
                            • Dec 2011
                            • 6

                            #14
                            Originally posted by sire
                            Patch update for Zabbix pre-2.0.0.
                            Is this patch working with 2.0.4???

                            CU

                            And is this patch compatible with this:
                            PATCH: A new cleaner look for number of problems on maps

                            thanks in advance

                            Comment

                            • sire
                              Senior Member
                              • Jul 2010
                              • 210

                              #15
                              Hi!

                              1. I didn't try.
                              2. Yes, it is.
                              Regards,
                              Sergey Syreskin

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

                              Temporary out of Zabbix business

                              Comment

                              Working...