check_ucs_update erstellt

This commit is contained in:
Patrick 2018-12-14 22:48:39 +01:00
parent 534af414e7
commit e5216addaf
3 changed files with 16 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
if univention-upgrade --enable-app-updates --check > /dev/null
if sudo univention-upgrade --enable-app-updates --check > /dev/null
then
echo "updates vorhanden"
exit 1

View File

@ -0,0 +1,2 @@
command[check_os_update]=/usr/lib/nagios/plugins/check_ucs_update

View File

@ -0,0 +1,13 @@
# Warning: This file is auto-generated and might be overwritten by
# univention-config-registry.
# Please edit the following file(s) instead:
# Warnung: Diese Datei wurde automatisch generiert und kann durch
# univention-config-registry ueberschrieben werden.
# Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
#
# /etc/univention/templates/files/etc/sudoers.d/univention
#
# Allow members of group "Domain Admins" to execute any command
%Domain\ Admins ALL=(ALL:ALL) ALL