From 553f8873feddd3ea89b29b0a8885dd617b1d85bc Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 5 Mar 2018 22:28:10 +0100 Subject: [PATCH] =?UTF-8?q?vnstat=20pr=C3=BCfung=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitoring.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/monitoring.sh b/monitoring.sh index f1af06f..c349624 100755 --- a/monitoring.sh +++ b/monitoring.sh @@ -114,6 +114,15 @@ else echo "OK" fi +if systemctl is-failed vnstat.service +then + echo "vnstat läuft nicht" + fehler=1 + fehlermeldung="$fehlermeldung\nvnstat: not active" +else + echo "OK" +fi + if systemctl is-failed isc-dhcp-server.service then echo "dhcp-Server läuft nicht"