From 992273bd68ffc87fec80b84c86c9306ec371032b Mon Sep 17 00:00:00 2001 From: stebifan Date: Sun, 18 Jun 2017 11:52:40 +0200 Subject: [PATCH] Delete check_mk_dhcp.sh --- check_mk_dhcp.sh | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 check_mk_dhcp.sh diff --git a/check_mk_dhcp.sh b/check_mk_dhcp.sh deleted file mode 100644 index 90a4827..0000000 --- a/check_mk_dhcp.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -datum=$(date "+%b %d") -hostname=$(hostname) -clients=$(cat /var/log/syslog | grep "$(date "+%b %d")" | grep DHCPACK | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' | sort | uniq | wc -l) -echo "nc.gateways."$hostname" $clients `date +%s`" | nc -n -q 5 10.188.0.10 2003 -echo "0 Uniq-Clients count=$clients - $clients Uniq Clients heute"