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

[change] Stop sending data on repeated 404 responses

Open nemesifier opened this issue 3 years ago • 3 comments
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.

nemesifier avatar Oct 26 '22 17:10 nemesifier

Hi @nemesisdesign For this, we need to stop the send service unless it is reloaded by the config change?

devkapilbansal avatar Feb 26 '23 10:02 devkapilbansal

@devkapilbansal we must find a way to stop the monitoring agent if the device has been removed from OpenWISP. Any ideas?

nemesifier avatar Feb 28 '23 18:02 nemesifier

Sending a kill signal should work

devkapilbansal avatar Feb 28 '23 19:02 devkapilbansal