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
Missing zabbix-sender package dependency for ceph manager zabbix module. #1651
Comments
Sorry we won't accept third party packages like this as we don't want to have all external mgr dependencies by default (like Influx). If you want this package then you could create a new image on top on the current one. Something like $ cat <<'EOF' > Dockerfile
FROM docker.io/ceph/ceph:v15.2
RUN yum install -y https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm && yum install -y zabbix-sender && yum clean all
EOF
$ docker build -f Dockerfile -t docker.io/ceph/ceph:v15.2.zabbix . |
So ceph offers the ability for you to enable zabbix, but it doesn't include the tools in the container for you to send data to the zabbix server. What a backwards storage system. Why not just completely remove zabbix & the zabbix docs from ceph then... |
Just came across this, can only agree with @jeevadotnet here. Why would you even give people an option that seems to be standard when it's not intended to work without additional non-standard configuration? Not to mention that the recommended "solution" here - a Dockerfile - is neither update-friendly nor the full solution - how do I integrate that? How do I make sure this survives a pool upgrade? And most importantly: Why is all of this this not mentioned in the ceph docs, even in latest, but instead it still just says "oh sure, install those packages with apt or dnf" when the recommended installation is with cephadm as orchestrator? Like seriously, where is the advantage of containers when I then have to go out of my way and possibly break things just to make basic things like monitoring work? But here we are, Issue is closed without an actual solution, which means parts of ceph are broken for some of us, meanwhile grafana, etc. are treated like first class citizens. |
If I didn't already have a github account, I would have created one just to like your comment. An ugly workaround for the time being: |
For those who still want to monitor using Zabbix, my coworker found that "Ceph by Zabbix agent 2" works pretty well with the provided capabilities that a cluster orchestrated with cephadm brings. It's REST API based pull instead of push, so all you need is the |
This is the same with non-containerized deployments. For security and maintenance reasons, it definitely makes sense to not include third-party packages.
Yes, I can agree with you on that, the documentation might be outdated and/or lacks details. That being said, Ceph is an open-source project, PRs are welcome 🙂 |
Bug Report
When I enable Ceph Manager Zabbix module with the command:
ceph mgr module enable zabbix
Sending data crash with an error:
Please install the zabbix-sender package dependency to the Centos 8 container, with the command:
rpm -ivh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm && yum install -y zabbix-sender
The text was updated successfully, but these errors were encountered: