How to monitor "gateway online"?

:warning: :warning: :warning:

This post contains references to outdated APIs.

Please read the following for the new APIs: New API for gateway mapping, status and info


Thanks Jeff (appears work site is blocking port 8085 preventing me access)
But I found this works fine for me:

https://www.thethingsnetwork.org/gateway-data/location?latitude=-32.8835950&longitude=151.7279500&distance=200

Outputting JSON