Yes, that can be done with both an edge-app or Node-RED. There is also a custom software to IoT Open for this called "Gateway-monitor". For Node-RED there is a ping node you can try. And for edge-app I have one that I can publish later today or tomorrow. I have to do that on my spare time since there is a lot to do right now 😃