sensu server monitor
simple container that monitors sensu /info API and emails in case it fails twice in a row, designed to answer the age old questions of who watches the watchers?.
set the following envvars when running the container:
MAIL_FROM= the from mail address
MAIL_TO= the email address to send alerts to
SENSU_HOST= the sensu host fqdn\ip
SENSU_PORT= the sensu host port
CHECK_TIMEOUT= time to wait check attempts
after sending an alert email the container will wait 10 times the CHECK_TIMEOUT or 10 minutes (the bigger of the two) before checking again and re-alerting if needed.