Univention Bugzilla – Bug 52122
Remove Nagios in UCS 5.0
Last modified: 2021-05-25 16:01:19 CEST
There are no nagios packages in debian buster. We should either remove the integration or provide packages. For now, we have to remove nagios from the dependencies.
Current status is: there will be no Nagios App in UCS 5.0, features will be merged into the UCS Dashboard. We will need NRPE to do so.
So far, the following commits have been done: 100814cf897e | Bug #52122: remove dependency on nagios univention-demo-configuration (8.0.0-2) 1aa4a4d943bf | Bug #52122: Remove nagios from univention-demo-configuration
4583940e34 Remove univention-nagios-client from Recommends in univention-server
(In reply to Arvid Requate from comment #3) > 4583940e34 Remove univention-nagios-client from Recommends in > univention-server Why? I think we have some packages requiring this because of /usr/lib/nagios/plugins/check_univention_replication.
Yeah probably you are right. 007dea45e1 revert
(In reply to Arvid Requate from comment #5) > Yeah probably you are right. > > 007dea45e1 revert It seems only ucs-test needs it.
Ignore package to exists in test/scenarios/install-testing/master-all-components.cfg: 034a0a70c38d | Bug #52122: ignore univention-nagios-server
I removed nagios from the running services check [5.0-0 9e8ce92fe4] Bug #52122: remove nagios test 01_base/09services_other_running
[5.0-0] 01ab68eaf6 fix[dvd]: Re-add Nagios checks to DVD base/univention-dvd/debian/changelog | 6 ++++++ base/univention-dvd/tasks/ucs500/task-ucs500 | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) Package: univention-dvd Version: 5.0.1-2A~5.0.0.202103261642 TODO: Build a new DVD ...
Branch: https://git.knut.univention.de/univention/ucs/-/tree/arequate/bug52122-remove-nagios-server
32b60b0362 | Remove Nagios in UCS 5.0 c95a678dfd | Bug #52122: Remove univention-nagios-server Package: univention-nagios Version: 13.0.2-1A~5.0.0.202104201449 Branch: ucs_5.0-0 Package: univention-server Version: 15.0.4-1A~5.0.0.202104201505 Branch: ucs_5.0-0
The check for squid and cups have been removed. They need to be readded: > - univention-directory-manager nagios/service modify "$@" \ > - --dn "cn=UNIVENTION_SQUID,cn=nagios,$ldap_base" \ > - --append assignedHosts="${ldap_hostdn}" || die > - univention-directory-manager nagios/service modify "$@" \ > - --dn "cn=UNIVENTION_CUPS,cn=nagios,$ldap_base" \ > - --append assignedHosts="${ldap_hostdn}" We also need correct removal code, e.g. `--remove assignedHosts="${ldap_hostdn}"` for all checks. We have to revert Bug #52991 and Bug #52992.
ad13749bcc | fixup! Bug #52122: Remove Nagios in UCS 5.0 6826ca7d67 | Cleanup univention-nagios-client.postinst e59d9a6648 | add nagios/service unregister code to univention-printserver 5af3e3fd20 | fix nagios/service unregister code in univention-squid 3cac4d6c32 | debian/changelog univention-printserver 72643c4334 | debian/changelog univention-squid b2b50dd2c2 | Remove Nagios Server from the manual Package: univention-squid Version: 13.0.3-2A~5.0.0.202105051623 Branch: ucs_5.0-0 Package: univention-printserver Version: 13.0.2-9A~5.0.0.202105051621 Branch: ucs_5.0-0
OK: removal of univention-nagios-server OK: removal from manual OK: removal from scenarios OK: changelog entry
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".