Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zabbix repo not supported #123

Open
kenneth-vkd opened this issue Sep 21, 2022 · 5 comments
Open

Zabbix repo not supported #123

kenneth-vkd opened this issue Sep 21, 2022 · 5 comments

Comments

@kenneth-vkd
Copy link

We monitor our servers using Zabbix
During /scripts/elevate-cpanel --check it reports that this is not supported

* 21-08:07:25 (3018) [ERROR] 1 package(s) installed from unsupported YUM repo 'zabbix' from /etc/yum.repos.d/zabbix.repo
* 21-08:07:25 (3018) [ERROR] 1 package(s) installed from unsupported YUM repo 'zabbix-agent2-plugins' from /etc/yum.repos.d/zabbix-agent2-plugins.repo

During upgrade we can remove the agent and reinstall the repo for AlmaLinux 8, but would be much easier to have it "just work"

@zuckerbrin
Copy link

try to add zabbix.repo to VETTED_YUM_REPO block of elevate-cpanel script:
use constant VETTED_YUM_REPO => qw{
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Media.repo
CentOS-Sources.repo
CentOS-Vault.repo
CentOS-x86_64-kernel.repo
cPAddons.repo
cpanel-plugins.repo
cp-dev-tools.repo
EA4.repo
ELevate.repo
elasticsearch.repo
epel-testing.repo
epel.repo
imunify-rollout.repo
imunify360.repo
influxdb.repo
kernelcare.repo
wp-toolkit-cpanel.repo
imunify360-ea-php-hardened.repo
droplet-agent.repo
zabbix.repo
}

@toddr
Copy link
Member

toddr commented Nov 29, 2022

try to add zabbix.repo to VETTED_YUM_REPO block of elevate-cpanel script: use constant

Doing so may fail to upgrade zabbix appropriately. We would still recommend you remove it. elevate, and re-install later. We are working with upstream to make this easier in the future.

@zuckerbrin
Copy link

understood, will use the trick in tesing env only.
thanks for reply,

@toddr
Copy link
Member

toddr commented Mar 24, 2023

@zuckerbrin were you successful with the recommended plan?

@toddr toddr added the question Further information is requested label Mar 24, 2023
@toddr
Copy link
Member

toddr commented Mar 24, 2023

$>cat /etc/yum.repos.d/zabbix.repo
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=https://repo.zabbix.com/zabbix/6.4/rhel/8/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=https://repo.zabbix.com/non-supported/rhel/8/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1

@toddr toddr removed the question Further information is requested label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants