Hi Muhammed, This is one of those custom behaviours which I always recommend users to build on their own. Given OpenWISP openness and programmability, it's not hard at all to do this, the application gives a lot of tools to do that. If every time someone needs something like this we'd build it as a core feature we'll end up with an unmaintainable pile of code. It is possible to implement this in many ways, both on the openwrt side with bash or lua or on the server side with python (using django signals, the monitoring module has a signal for the health status change and openwisp controller has the logic which can be used to send SSH commands). I recommend picking what you like most and implement this on your own. I honestly think building this on the router is easier.
Regards Federico On Thu, 28 Mar 2024 at 07:48, Mohammed Ismail <[email protected]> wrote: > Hi > > It would be useful if we can mark a device for a reboot upon next > connection interval > Default `option interval '120'` > > If the device is behind a VPN and it becomes unreachable for any reason. > it would be useful for the admin to trigger a reboot upon the next > connection attempt from device to the server. > so the server side device gets marked for reboot. > and from openwisp-config if the signal received from the server would > execute. > > it could be a whole command to execute on the next connection interval or > just a reboot. > > > Best regards. > Muhammed Al-Qadhy. > > > > > -- > 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/CAKOr0YQRpWw%3DyXAqcXu30jKwPT6H-P5tb9RqYvX5pTjkArFTFw%40mail.gmail.com > <https://groups.google.com/d/msgid/openwisp/CAKOr0YQRpWw%3DyXAqcXu30jKwPT6H-P5tb9RqYvX5pTjkArFTFw%40mail.gmail.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%2By_R6YPCDWt2%3D4BWrCa%2B34y0PihQr1OxJ8omDjhPnaBA%40mail.gmail.com.
