From eeb231d6c0404ff5697ef9da7c9d59ec30bfd9d2 Mon Sep 17 00:00:00 2001 From: XiCoN-FJS- Date: Mon, 23 Nov 2020 00:33:56 +0100 Subject: [PATCH] v3 --- README.md | 2 +- check_online_status | 243 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 244 insertions(+), 1 deletion(-) create mode 100644 check_online_status diff --git a/README.md b/README.md index 9aed46c..b4bc248 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # check_online_status -Icinga/Nagios nrpe check script testing online reachability. +Icinga/Nagios compatible script for checking if an interface can reach hosts via icmp ping ## Install guide (Debian >= 9.0) Install required packages diff --git a/check_online_status b/check_online_status new file mode 100644 index 0000000..e1ce2d0 --- /dev/null +++ b/check_online_status @@ -0,0 +1,243 @@ +#!/usr/bin/perl + +# INTRO: +# Script for checking if an interface can reach hosts via icmp ping. +# +# +# USAGE: +#