https://github.com/ckauhaus/multiping
Pings several hosts at once to test outside connectivity.
https://github.com/ckauhaus/multiping
connectivity monitoring ping
Last synced: 12 months ago
JSON representation
Pings several hosts at once to test outside connectivity.
- Host: GitHub
- URL: https://github.com/ckauhaus/multiping
- Owner: ckauhaus
- Created: 2018-03-26T08:47:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T18:00:12.000Z (over 7 years ago)
- Last Synced: 2024-12-27T00:43:24.959Z (over 1 year ago)
- Topics: connectivity, monitoring, ping
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# multiping
This small utility pings several targets at once and returns the lowest RTT.
It can be used as connectivity check to see if we can reach any target from a
list in a configured amount of time. This way, the connectivity check is
independent from the status of any single target host.
This program can be used as Nagios-compatible plugin.
## Example
Ping all known quad9 addresses as well as Google DNS at once:
```sh
$ multiping dns.quad9.net 8.8.8.8
multiping: OK - best rtt 40 ms (for dns.quad9.net/149.112.112.112) | '8.8.8.8'=0.0475s;0.05;0.5;0 '2620:fe::fe'=0.0421s;0.05;0.5;0 '149.112.112.112'=0.0398s;0.05;0.5;0 '9.9.9.9'=0.0411s;0.05;0.5;0
```
The output before the "|" is for humans. Everything after that is
Nagios-compatible perfdata.
Note that multiping needs capabilities to open raw sockets. Running as root is
the easiest way to accomplish this.
## Features
- Fast and robust.
- Output compatible to Nagios/Icinga/Sensu/...
- Select IPv4 or IPv6 only.
- Adjustable warning/critical timeouts.
## Author and License
The primary author is [Christian Kauhaus](kc@flyingcircus.io). `multiping` is
licensed under the term of the
[BSD 3-clause "revised" license](https://opensource.org/licenses/BSD-3-Clause).