Ceph Zabbix Monitoring : No such file or directory
Hello All, We are trying to make work the Zabbix module of our ceph cluster but im encountering an issue that got me stuck. Configuration of the module looks ok and we manage to send data using zabbix_sender to the host that is configured on Zabbix. We can also see this data/metric in the graphs that come with the template aswell. So far so good. However when testing from ceph module by doing ceph zabbix send , we get : Sending Data to Zabbix but when check ceph_mgr logs we see : 7fad8b61e700 0 mgr[zabbix] Exception when sending: [Errno 2] No such file or directory and no data is seen in zabbix itself. Any clue what we can check ? This ceph is running with an openstack cluster and ceph mgr instance is a docker container, not sure if we need to do anything in particular because of this architecture. Ceph Version : 12.2.4 Thank you, Etienne.
etiennemula@gmail.com wrote:
Hello All,
We are trying to make work the Zabbix module of our ceph cluster but im encountering an issue that got me stuck.
Configuration of the module looks ok and we manage to send data using zabbix_sender to the host that is configured on Zabbix. We can also see this data/metric in the graphs that come with the template aswell. So far so good.
However when testing from ceph module by doing ceph zabbix send , we get : Sending Data to Zabbix but when check ceph_mgr logs we see :
7fad8b61e700 0 mgr[zabbix] Exception when sending: [Errno 2] No such file or directory
and no data is seen in zabbix itself. Any clue what we can check ? This ceph is running with an openstack cluster and ceph mgr instance is a docker container, not sure if we need to do anything in particular because of this architecture.
Ceph Version : 12.2.4
Thank you, Etienne.
Update on this one , we have now changed the active ceph_mgr to another instance and now getting : 0 mgr[zabbix] Exception when sending: 'zabbix_sender' strange thing since using zabbix_sender is still working.
On 7/07/2020 2:41 am, Etienne Mula wrote:
Update on this one , we have now changed the active ceph_mgr to another instance and now getting :
0 mgr[zabbix] Exception when sending: 'zabbix_sender'
strange thing since using zabbix_sender is still working.
What user to it run as when ceph_mgr runs it? same as your test user? -- Lindsay
Hi Lindsay , ceph-mgr runs as root , same as my test user. Dont think its a permissions issues. Another forum member just advised that zabbix_sender binary needs to be available in the container, something which indeed is not available. On Mon, 6 Jul 2020 at 23:05, Lindsay Mathieson <lindsay.mathieson@gmail.com> wrote:
On 7/07/2020 2:41 am, Etienne Mula wrote:
Update on this one , we have now changed the active ceph_mgr to another instance and now getting :
0 mgr[zabbix] Exception when sending: 'zabbix_sender'
strange thing since using zabbix_sender is still working.
What user to it run as when ceph_mgr runs it? same as your test user?
-- Lindsay _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Thanks and Regards Etienne Mula
Just to confirm, you did configure a trapper host in Zabbix, and then you pointed the mgr Zabbix sender to the Zabbix server (or proxy) with the same hostname?
$ ceph zabbix config-show | jq { "zabbix_port": 10051, "zabbix_host": "$server_or_proxy_ip_or_fqdn", "identifier": "ceph", "zabbix_sender": "/usr/bin/zabbix_sender", "interval": 60 }
And on my Zabbix server, I have a host named 'ceph' which matches the 'identifier', and have applied the ceph template to that host, which then receives the traps. You may also want to verify that the zabbix_sender bin is installed as expected, the earlier post makes it sound like zabbix_sender is installed as expected, but maybe do a double check that ceph is looking at the correct binary, and also that all of the mgr's have sender installed on them as well. There are also some issues in some of the earlier versions and earlier templates, where a metric name was changed, which broke the template. https://tracker.ceph.com/issues/39666 <https://tracker.ceph.com/issues/39666> for example. So with it being luminous, you may need to go back and cherry pick an older zabbix template by chance. Hope this helps. Reed
On Jul 6, 2020, at 7:54 AM, etiennemula@gmail.com wrote:
Hello All,
We are trying to make work the Zabbix module of our ceph cluster but im encountering an issue that got me stuck.
Configuration of the module looks ok and we manage to send data using zabbix_sender to the host that is configured on Zabbix. We can also see this data/metric in the graphs that come with the template aswell. So far so good.
However when testing from ceph module by doing ceph zabbix send , we get : Sending Data to Zabbix but when check ceph_mgr logs we see :
7fad8b61e700 0 mgr[zabbix] Exception when sending: [Errno 2] No such file or directory
and no data is seen in zabbix itself. Any clue what we can check ? This ceph is running with an openstack cluster and ceph mgr instance is a docker container, not sure if we need to do anything in particular because of this architecture.
Ceph Version : 12.2.4
Thank you, Etienne. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (4)
-
Etienne Mula
-
etiennemula@gmail.com
-
Lindsay Mathieson
-
Reed Dier