https://github.com/naorlivne/sensu-server-monitor
He watches the watchers
https://github.com/naorlivne/sensu-server-monitor
Last synced: about 1 month ago
JSON representation
He watches the watchers
- Host: GitHub
- URL: https://github.com/naorlivne/sensu-server-monitor
- Owner: naorlivne
- Created: 2018-07-17T14:24:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T15:12:59.000Z (about 2 years ago)
- Last Synced: 2025-03-25T18:54:50.652Z (7 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
## 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:
1. `MAIL_FROM` = the from mail address
2. `MAIL_TO` = the email address to send alerts to
3. `SENSU_HOST` = the sensu host fqdn\ip
4. `SENSU_PORT` = the sensu host port
5. `CHECK_TIMEOUT` = time to wait check attemptsafter 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.