pingatus

command module
v1.1.3 Latest Latest
Warning

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

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

README

PINGATUS

build Go Report Card

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

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

endpoints:
  - name: server1
    type: http
    address: https://yourdomain.com
    status: 200
    timeout: 3s
    interval: 1m

  - name: server2
    type: icmp
    address: 8.8.8.8
    packetcount: 5
    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