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
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
Comment