Problem
After upgrading to UCS 4.4-3 Nagios reports false alarms about the ad-connector.
Environment
Applies to UCS 4.4-3 as with Errata-Update 390 a change was implemented which affectes the Nagios check.
Bug #50676 has been implemented to fix the issue.
Solution
Option 1
Wait for a fix to be released by Univention.
Option 2 (unsupported)
For your own risk as this might cause issues with upcoming updates install a workaround.
Edit the file /usr/lib/nagios/plugins/check_univention_ad_connector
:
Replace the line
cmd=$(grep /usr/bin/python /usr/sbin/univention-ad-${CONNECTOR} | sed 's/\s\{1,\}/ /g; s/["'"'"']//g')
with
cmd=$(grep /usr/bin/python /usr/sbin/univention-ad-connector | sed 's/$@//g' | sed 's/\s\{1,\}/ /g; s/["'"'"']//g'| sed 's/\ $//g' )
Note: Really change the line, do not copy and uncomment the original one!