This is my first try to install icinga2 on RHEL (8.4) following Installation - Icinga 2.
subscription-manager repos --enable rhel-8-server-optional-rpms fails with this error:
Error: ‘rhel-8-server-optional-rpms’ does not match a valid repository ID. Use “subscription-manager repos --list” to see valid repositories.
Obviously not an icinga2 error. Is this an error in my environment or in the documentation?