From a5509c964219ab26aa0e344164352b37087933b0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 13 Mar 2018 21:51:35 +0100 Subject: [PATCH] =?UTF-8?q?UCS=20UpdateCheck=20f=C3=BCr=20icinga=20erstell?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- checks/check_ucs_update | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 checks/check_ucs_update diff --git a/checks/check_ucs_update b/checks/check_ucs_update new file mode 100755 index 0000000..96408df --- /dev/null +++ b/checks/check_ucs_update @@ -0,0 +1,10 @@ +#!/bin/bash + +if univention-upgrade --enable-app-updates --check > /dev/null +then + echo "updates vorhanden" + exit 1 +else + echo "keine Updates vorhanden" + exit 0 +fi