icinga-plugins/checks/univention-update/check_ucs_update

11 lines
169 B
Plaintext
Raw Normal View History

2018-03-13 21:51:35 +01:00
#!/bin/bash
2018-12-14 22:48:39 +01:00
if sudo univention-upgrade --enable-app-updates --check > /dev/null
2018-03-13 21:51:35 +01:00
then
echo "updates vorhanden"
exit 1
else
echo "keine Updates vorhanden"
exit 0
fi