pingatus

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 12 Imported by: 0

README

PINGATUS

build Go Report Card Coverage Status

Pingatus is a simple service to monitor your HTTP endpoints and notify you when it's down.

Roadmap

  • Monitor TCP endpoints
  • Notify via email

Setup config.yaml via environment variables PINGATUS_CONFIG_PATH.

Example of config.yaml:

mongouri: mongodb://localhost:27017/pingatus?timeoutMS=5000

debug: true

webapi:
  listenaddr: :8080
  assetsdir: ./assets

httppoint:
  - name: server1
    url: https://yourdomain.com
    status: 200
    timeout: 3s
    interval: 1m

notifier:
  type: telegram
  tgtoken: <telegram-bot-token>
  tgchatid: <telegram-chat-id>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL