openwrt-openwisp-monitoring icon indicating copy to clipboard operation
openwrt-openwisp-monitoring copied to clipboard

[change] Status: if bridge member is not present as interface, remove it

Open nemesifier opened this issue 3 years ago • 2 comments
trafficstars

When collecting device status from OpenWrt, the bridge member list may include members of interfaces which are not active.

Before adding the interface to the bridge members, it would be great to ensure the interface is present and active.

nemesifier avatar Apr 07 '22 20:04 nemesifier

Hi @nemesisdesign, I think this issue is already taken care of in the past here

https://github.com/openwisp/openwrt-openwisp-monitoring/blob/42957e2bd1aa82b242dcb52924e84070802f5387/openwisp-monitoring/files/sbin/netjson-monitoring.lua#L128-L139

devkapilbansal avatar Jul 21 '22 10:07 devkapilbansal

@devkapilbansal looks you're right, I am not sure why I created this then, let's leave it open for some more time and if I can't see this issue anymore at all I will close it.

nemesifier avatar Oct 25 '22 13:10 nemesifier