openwrt-openwisp-monitoring
openwrt-openwisp-monitoring copied to clipboard
[change] Stop sending data on repeated 404 responses
trafficstars
As https://github.com/openwisp/openwisp-config/issues/160.
We could do something simpler: if we get 404, check if openwisp-config is running, if it's not running send an error message to syslog and exit.
Hi @nemesisdesign For this, we need to stop the send service unless it is reloaded by the config change?
@devkapilbansal we must find a way to stop the monitoring agent if the device has been removed from OpenWISP. Any ideas?
Sending a kill signal should work