Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juandiii/jetson-monitor
🚨 Jetson is an HTTP monitoring service used to notify by various messaging platforms such as Slack and Telegram
https://github.com/juandiii/jetson-monitor
go golang http jetson jetson-monitor microservice monitor monitoring notification service
Last synced: 8 days ago
JSON representation
🚨 Jetson is an HTTP monitoring service used to notify by various messaging platforms such as Slack and Telegram
- Host: GitHub
- URL: https://github.com/juandiii/jetson-monitor
- Owner: juandiii
- License: mit
- Created: 2020-07-03T01:09:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T00:18:59.000Z (about 4 years ago)
- Last Synced: 2024-06-20T13:41:19.587Z (5 months ago)
- Topics: go, golang, http, jetson, jetson-monitor, microservice, monitor, monitoring, notification, service
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 46
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 🚨 Jetson Monitor
**Jetson** is an HTTP monitoring service used to notify by various messaging platforms such as **Slack**, coming soon **Telegram**
# ⚙️ Configuration
Configuration of Jetson
## Options
| Key | Description | Required |
|----------------|-----------------------|-----------|
| url | Fetch URL of a server | Yes |
| status_code | Return Status Code | Yes |
| slack_token | Token of Slack | No |
| scheduler | CronJob | Yes |# 👨🏻💻 Example usage
- Token of Slack: **12345678/12345678/12345678ABCDE**
Copy a configuration sample and rename to `config.yml`.
```sh
# Copy config.sample.yml
cp config.sample.yml config.yml
``````yml
urls:
- url: https://google.com/
status_code: 200
slack_token: "12345678/12345678/12345678ABCDE"
scheduler: "@every 1m"
- url: https://yahoo.com/
status_code: 200
slack_token: "12345678/12345678/12345678ABCDE"
scheduler: "*/5 * * * *" # Every 5th minute
```# 🐋 Docker
## How to use this image
Run `docker`
```sh
docker run -d \
--restart always \
-v $(pwd):/var/jetson-monitor \
-e LOG_LEVEL='DEBUG' \
juandiii/jetson-monitor
```# 😇 Contribuition
TBH