check_online_status | ||
README.md |
check_online_status
Icinga/Nagios compatible script for checking if an interface can reach hosts via icmp ping
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]