From 012e603d462199486ca0451a58fe5361f2f47ab1 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 5 Mar 2018 22:25:42 +0100 Subject: [PATCH] =?UTF-8?q?babeld=20und=20babelweb=20pr=C3=BCfung=20hinzug?= =?UTF-8?q?ef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitoring.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/monitoring.sh b/monitoring.sh index 16eecc9..806a4d9 100755 --- a/monitoring.sh +++ b/monitoring.sh @@ -87,6 +87,24 @@ fi ######################################################## # Daemons test +if systemctl is-failed babeld.service +then + echo "babeld läuft nicht" + fehler=1 + fehlermeldung="$fehlermeldung\nbabeld: not active" +else + echo "OK" +fi + +if systemctl is-failed babelweb.service +then + echo "babelweb läuft nicht" + fehler=1 + fehlermeldung="$fehlermeldung\nbabelweb: not active" +else + echo "OK" +fi + if systemctl is-failed isc-dhcp-server.service then echo "dhcp-Server läuft nicht"