Sentinel state query script

We need some query script that checks the state of Sentinel components. This is suppose to check:

  • if services are running
  • if collectors are connected to proxy (note: they might be running but might not be connected for what ever reason)
  • if collectors are sending any data (note: they can be connected but firewall might not be correctly configured or there might be just no attacks)
  • if proxy is connected to the Sentinel servers