Ad Widget

Collapse

Network Topology mapper

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TiggyWiggler
    Junior Member
    • Feb 2021
    • 16

    #1

    Network Topology mapper

    Sorry for cross-linking, but I was told that I originally posted in the wrong section.

    The idea of having an automatic network topology mapper has come up a few times. I set out to write one and people said that if I ever got to a good place with it that I should share it with the community. Please find below a link to the git repository. It is written in C and can be run from the command line (or you can trigger it from Zabbix by issuing a command through a script). It uses the data from Zabbix to build the map, deleting the previous map of the same name and completely rebuilding each time. It has a couple of dependencies most notably L2DM-LLDP (https://share.zabbix.com/network_dev...odule-for-lldp).

    Please provide feedback on the code. I am not an expert in C and I am using some of the old functions (strcpy instead of strncpy for example) but I will refractor the code once I am sure that everything is working correctly.

    I am still working on it and I know there are a few issues in the code, but it can reliably produce network topology maps at the moment so I feel happy to release it to the community. I would recommend that for now you keep it in dev / test environments and do not take this to production environments until I have had a bit longer to take in feedback and make changes.

    I have built a render engine as well that outputs the network map as a .bmp file, but I have stripped that out of this git to keep it lightweight. I will share that .bmp render as a cloned project later once I have completed my modifications to make the links between nodes connect to the actual ports on the given icon / drawing being used for each node on the map.

    Have fun and let me know what I can do to improve it for you (or fork it!).

    git: https://github.com/TiggyWiggler/zabbix-map

    I have now written a detailed explanation of each parameter and included screenshots from worked examples. https://github.com/TiggyWiggler/zabb...ine-Parameters

    Again, sorry for duplicating this in two sections, I hope this is the correct place now
  • dzeppelin
    Junior Member
    • Apr 2024
    • 1

    #2
    Hi,

    I encounter with "Invalid parameter" error. Anything that I missed.
    Click image for larger version

Name:	image.png
Views:	1777
Size:	14.4 KB
ID:	483178

    Comment

    • abolance
      Junior Member
      • Jun 2025
      • 1

      #3
      Hi, have you been able to get it working on Zabbix 7.0 LTS?

      Comment

      • kronicklez
        Junior Member
        • Mar 2025
        • 10

        #4
        Hi,

        It's good if it just use LLDP on equipment to create auto topology.

        Thanks

        Comment

        Working...