Imunify360 installation failed on EOL CentOS 8.1

That’s seems to be a problem on the CloudLinux side. Have you reached out to them through their normal support system, or to cPanel? For both of those you should be able to get support as part of your licensing costs.