Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naorlivne/sensu-server-monitor
He watches the watchers
https://github.com/naorlivne/sensu-server-monitor
Last synced: 20 days 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 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T15:12:59.000Z (over 1 year ago)
- Last Synced: 2024-12-10T11:48:46.745Z (24 days ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- 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.