4 The Zabbix plugin actively sends information to a Zabbix server like:
15 The plugin requires that the *zabbix_sender* executable is present on *all*
16 machines running ceph-mgr. It can be installed on most distributions using
21 Installing zabbix_sender can be done under Ubuntu or CentOS using either apt
28 apt install zabbix-agent
34 dnf install zabbix-sender
40 Add this to your ceph.conf on nodes where you run ceph-mgr:
47 If you use any other ceph-mgr modules, make sure they're in the list too.
49 Restart the ceph-mgr daemon after modifying the setting to load the module.
55 Two configuration keys are vital for the module to work:
58 - identifier (optional)
60 The parameter *zabbix_host* controls the hostname of the Zabbix server to which
61 *zabbix_sender* will send the items. This can be a IP-Address if required by
64 The *identifier* parameter controls the identifier/hostname to use as source
65 when sending items to Zabbix. This should match the name of the *Host* in
68 When the *identifier* parameter is not configured the ceph-<fsid> of the cluster
69 will be used when sending data to Zabbix.
71 This would for example be *ceph-c4d32a99-9e80-490f-bd3a-1d22d8a7d354*
73 Additional configuration keys which can be configured and their default values:
75 - mgr/zabbix/zabbix_port: 10051
76 - mgr/zabbix/zabbix_sender: /usr/bin/zabbix_sender
77 - mgr/zabbix/interval: 60
82 Configuration keys can be set on any machine with the proper cephx credentials,
83 these are usually Monitors where the *client.admin* key is present.
87 ceph config-key set <key> <value>
93 ceph config-key set mgr/zabbix/zabbix_host zabbix.localdomain
94 ceph config-key set mgr/zabbix/identifier ceph.eu-ams02.local
99 Should you want to debug the Zabbix module increase the logging level for
100 ceph-mgr and check the logs.
107 With logging set to debug for the manager the plugin will print various logging
108 lines prefixed with *mgr[zabbix]* for easy filtering.