Backend should send email when a gateway goes offline.
Could be power fail, cable dislodged (power or ethernet), local network issue (switch, router) , link failure or even firmware glitch in gateway. (really?)
This requires a periodic examination of all , recently (?) connected gateways. Each gateway may need maximum permitted online time for example if gateway is connected by an intermittently unavailable link.