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"