How to implement NetJSON in OpenWisp

18 views
Skip to first unread message

Hugo Zárate

unread,
Jan 7, 2020, 5:44:02 PM1/7/20
to OpenWISP
Well, I have OpenWisp installed on Ubuntu and I registered a Router that contains OpenWRT.
I want to use Network Topology Visualizer but I don't understand well how to do it.
In my playbook file I enabled this option -> openwisp2_network_topology: true
I created a Topology and I selected the same Organization that I have in my device.
But I'm not pretty sure what's next.
Basically, I need to know or see something that tells me if my router has been disconnected or turned off, for example.
Can anyone give me some advice? Or any information, please? 
image.png

Federico Capoano

unread,
Jan 9, 2020, 9:51:30 AM1/9/20
to OpenWISP
The network topology module is mainly designed for mesh networks, but can work also with OpenVPN if you use a management VPN.

In that case, you can create a topology, use receive strategy, setup your VPN to write the status file somewhere and have a cronjob send its data to the receive URL periodically (say every 3 minutes).
That way you would now if any device lost its connection to the internet or to the VPN.

Best regards
Federico 

--
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 openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/c600c987-3961-4939-bfc3-b045e72912de%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages