Univention Bugzilla – Bug 54050
univention-directory-listener-ctrl resync fails for nagios-client
Last modified: 2021-11-11 09:53:07 CET
continuing to work on setting up a 4.4 nagios member server in a 5.0 environment. After fixing a decoding problem, the nagios client works fine on the primary 5.0 system. I have added a 5.0 backup node now, and the command "univention-directory-listener-ctrl resync nagios-client" does not work but shows a line with red "0 nagios-client /usr/lib/univention-directory-listener/system/nagios-client.py" I could not find any related log so far, so I dont know where to start looking.
`univention-directory-listener-ctrl` works for us every day - so not a major bug (as it is more an internal tool than an exported API) and neither affecting average domains (we use it in all our test runs). "status" just checks and displays the content of the file "/var/lib/univention-directory-listener/handlers/nagios-client". It might take some time for UDL to re-run the handler for all existing objects. See log file "/var/log/univention/listener.log" for any hints. Maybe also `journalctl -b 0 -u univention-directory-listener.service` and `systemctl status univention-directory-listener.service`.
I sent you the required hints via email. Please use https://help.univention.com/ next time for such problems.
Checking back after some hours now, the error has disappeared, without changing anything except what has been discussed before. I'll keep an eye on it though. Maybe the comment of Philipp Hahn about just giving it some time is right.