ping-mon

command module
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 1 Imported by: 0

README

Go Report Card Releases CI

ping-mon

This tool measures communication breakdowns using ICMP.

It records when the last communication breakdown occurred and how long it lasted. If communication cannot be established for more than 5 seconds, it is judged that a communication breakdown has occurred.

It does not require root privileges.

demo

How to use

Run with binary

  1. Download the precomplied binary from releases.
  2. Create ping.conf (sample config)
  3. execute the binary

Run with Docker

vim ping.conf # create config
docker run -it -v $(pwd)/ping.conf:/ping.conf hdfln/ping-mon

Find the docker image at Docker Hub.

Run with go

go install github.com/hdfln/ping-mon
vim ping.conf # create config
ping-mon

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