Go to file
2020-11-23 03:01:18 +01:00
check_online_status v4 (adding the fix helps sometimes -_-) 2020-11-23 03:01:18 +01:00
README.md v3 2020-11-23 00:33:56 +01:00

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]