This is a simple example of a custom alert. The alert is raised when there are zero machines in the discovery pool and resolved when there is at least one.
More information: https://docs.google.com/document/d/1GxKdeEChA6oIJ_LdoaEKn_wC80k4VZu2ytFm9-onp8M/edit?usp=sharing