Ad Widget

Collapse

Is it possible to create network map automatically ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gurlinks
    Junior Member
    • Mar 2020
    • 11

    #1

    Is it possible to create network map automatically ?

    Hi,

    I'm using Zabbix 4.4 to monitor my network which has more than a thousand devices. It's difficult to create a manual network map.
    Is there any way to create an automatic network map to visualize my network?

    --
    Thanks
  • c1support
    Member
    • Apr 2020
    • 47

    #2
    This would be an awesome feature for larger networks.
    I am no expert, but I have not yet stumbled accross anything like this out of the box.

    I could think of two ways:
    1. Zabbix API (https://www.zabbix.com/documentation...nce/map/create) - pretty confident this will work, although not tried
    2. Templates - here I am not experienced enough to evaluate if this is even possible

    Maintaining such a large network, you might be interested in these lovely maps symbols: https://share.zabbix.com/zabbix-tool...icons-for-maps (also not yet used myself, only came accross this while writing this post)


    Besides: There is a dedicated area of the forum for larger environments: https://www.zabbix.com/forum/zabbix-...e-environments

    Comment

    • patrickdenis
      Junior Member
      • May 2020
      • 18

      #3
      Yes it is possible

      Comment


      • maashiq
        maashiq commented
        Editing a comment
        Any idea how we can achieve that ?
    • Jartsa
      Junior Member
      • Jan 2021
      • 1

      #4
      Hi,

      How can we do that? I supposed it is possible to automatically search devices too from network and add them to hosts list? I have just started with this and added approx. 100 switches by hand just to see what this looks like before I dive into this more.

      Comment

      • c1support
        Member
        • Apr 2020
        • 47

        #5
        Not tested, just an idea how I would approach this issue:
        - create initalMap.xml, containing a small number of representative hosts (including labels, links, etc)
        - manually export the map from Zabbix into initialMap.xml
        - understand the relevant segments of initialMap.XML-structure
        - segment initialMap.xml into two files: skeleton.xml (containing the map without hosts) and oneHost.xml (will be used later)

        - using any scripting language (e.g. Python)
        - retrieve host info via Zabbix API
        - for each host, insert a modified oneHost.xml into skeleton.xml => resulting in finalMap.xml
        - Import finalMap.xml via Zabbix API

        If anybody knows of a more elegant approach, I would be interested to learn about it!

        Comment

        • PackElend
          Junior Member
          • Jul 2022
          • 2

          #6
          Originally posted by patrickdenis
          Yes it is possible
          would like to know as well

          Comment

          • jtnfoley
            Member
            • Mar 2022
            • 76

            #7
            Subscribing and a Google links paste dump for my own future reference. Searching for "cdp lldp zabbix map" (without the quotes) since CDP and LLDP are the main protocols that should be useful in mapping networks.

            https://www.reddit.com/r/zabbix/comm...mment/gle2lhl/

            Network Administration Visualized. Contribute to Uninett/nav development by creating an account on GitHub.

            https://en.wikipedia.org/wiki/Netdisco

            Comment

            Working...