Skip to content

๐Ÿšจ Jetson is an HTTP monitoring service used to notify by various messaging platforms such as Slack and Telegram

License

Notifications You must be signed in to change notification settings

juandiii/jetson-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšจ 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.

# Copy config.sample.yml
cp config.sample.yml config.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

 docker run -d \
  --restart always \ 
  -v $(pwd):/var/jetson-monitor \ 
  -e LOG_LEVEL='DEBUG' \ 
  juandiii/jetson-monitor

๐Ÿ˜‡ Contribuition

TBH

About

๐Ÿšจ Jetson is an HTTP monitoring service used to notify by various messaging platforms such as Slack and Telegram

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks