From 291cf2bdc3b5d46b44ba3f267d6c532d21a6588f Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 5 Mar 2018 22:19:29 +0100 Subject: [PATCH] =?UTF-8?q?bind9=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 461893a..c6c2032 100755 --- a/monitoring.sh +++ b/monitoring.sh @@ -96,6 +96,15 @@ else echo "OK" fi +if systemctl is-failed bind9.service +then + echo "bind9 läuft nicht" + fehler=1 + fehlermeldung="$fehlermeldung\nbind9: not active" +else + echo "OK" +fi + ######################################################## # Auswertung und Benachrichtigung