UCS UpdateCheck für icinga erstellt

This commit is contained in:
Patrick 2018-03-13 21:51:35 +01:00
parent 1419b529c8
commit a5509c9642
1 changed files with 10 additions and 0 deletions

10
checks/check_ucs_update Executable file
View File

@ -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