Hi,

By default OpenWISP Monitoring
<https://github.com/openwisp/openwisp-monitoring> is configured to send
ping checks on the management interface only, if ping fails or if the
management interface is not set the health status is set to critical.

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
<https://github.com/openwisp/openwisp-config/#configuration-options> (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".
More about this setting in the README of OpenWISP Monitoring:
https://github.com/openwisp/openwisp-monitoring#openwisp-monitoring-management-ip-only
.

I hope this helps!

Thanks for writing this question here.
Best regards
Federico Capoano

On Tue, Aug 3, 2021 at 11:48 AM HÒA TRẦN VĂN <[email protected]>
wrote:

> The access point successfully connects to openwisp and i can change its
> configuration at any time, but the health status is always critical. Can
> you help me get the right health status of the access point. Thank you very
> much.
>
> --
> 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/95d85e8c-80f9-42b6-888e-ffd4a5fe6855n%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/95d85e8c-80f9-42b6-888e-ffd4a5fe6855n%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/CAAGgX6%2BUguf1VQC76Z4L8%3Dy%3DTgmK75gX1-4usfY%2B5zB8bFq8OA%40mail.gmail.com.

Reply via email to