If you want the status to be OK without modifying the default settings, you have to ensure that the
"management_interface" configuration option of the openwisp-config OpenWRT agent (in /etc/config/openwisp) is set to be an interface which OpenWISP can reach, for example, a management VPN tunnel, a VLAN or the LAN interface if OpenWISP is deployed in the same L2 network where the device is located.
For example, in many installations I use a tun OpenVPN interface for management, OpenWISP is deployed on the internet and can reach the devices via the OpenVPN tunnel tun0, in /etc/config/openwisp I have:
option management_interface 'tun0'
Alternatively, if you have deployed OpenWISP locally in the same L2 network where devices are located, you can set:
OPENWISP_MONITORING_MANAGEMENT_IP_ONLY = False
in the django settings.py and restart OpenWISP with "supervisorctl restart all".
I hope this helps!
Thanks for writing this question here.
Best regards
Federico Capoano