check_online_status/README.md

16 lines
533 B
Markdown
Raw Permalink Normal View History

2020-11-23 00:31:02 +01:00
# check_online_status
2020-11-23 00:33:56 +01:00
Icinga/Nagios compatible script for checking if an interface can reach hosts via icmp ping
2020-11-23 00:31:02 +01:00
## Install guide (Debian >= 9.0)
Install required packages
```
$ apt-get install libnet-interface-perl libnet-subnet-perl libnet-oping-perl liboping0
```
## Usage guide
command line options
```
./check_online_status --src-dev=<ethX> --target=<8.8.8.8> [--target=<2001:4860:4860::8888> ...] [--src-ip=<203.0.113.1|2001:db8::1>] [--family=<AF_INET|AF_INET6>] [--allow-rfc1918] [--allow-rfc4193] [--enable-warning]
```