Hi, The topology module needs to be fed topology data which is parsed and sent to the collector. Usually some networking software like OpenVPN or a dynamic routing protocol have the topology information which can be parsed and collected. >From what software do you want to collect the network topology from?
Federico On Mon, 27 Mar 2023 at 04:59, Daniele Cerasuolo <[email protected]> wrote: > hi, I am trying to configure the network topology on my installation with > an openwrt test device installed in a virtual machine. From directives i > can't install an openvpn server, what is the easiest method to implement > the topology? i tried with the script > > #!/bin/sh > BASE_URL="https://network-topology-visualizer.mynetwork.org" > UUID="4e38397a-4254-4521-89a6-045db25b8de6" > KEY="S9wCfjeFN8irasZNiV7dGcyK68BTES0m" > > COLLECTOR_URL="$BASE_URL/api/receive/$UUID/?key=$KEY" > DATA=$(echo "/netjsoninfo filter graph ipv4_0" | nc 127.0.0.1 2009) > curl -s -X POST -d "$DATA" --header "Content-Type: text/plain" > $COLLECTOR_URL > > but entering my data seems not to work > > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/b48c900d-29f8-4b8c-a984-68cdd41b93a1n%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/b48c900d-29f8-4b8c-a984-68cdd41b93a1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6KHJuE-d8qJnVXSGaZiLWjti7VeYcR66vsG88DW69Y_nA%40mail.gmail.com.
