Thanks for your detailed instructions. 

I have installed and directly connected OpenVPN. Now I have seen the 
management ip appear. 

But now the health status changed to problem because the Configuration 
Applied check failed as shown below,  even though I was able to configure 
the device (access point) from openwisp controller successfully.

Can you explain to me why not and how I have to fix it. Thank you so much

[image: health_status.png]

Vào lúc 04:36:06 UTC+7 ngày Thứ Năm, 5 tháng 8, 2021, f.capoano đã viết:

> 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/2a838fdd-23ac-40d3-8887-b2a0b4afabecn%40googlegroups.com.

Reply via email to