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 mandatory for the module to work:
57 - mgr/zabbix/zabbix_host
58 - mgr/zabbix/identifier
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 Additional configuration keys which can be configured and their default values:
70 - mgr/zabbix/zabbix_port: 10051
71 - mgr/zabbix/zabbix_sender: /usr/bin/zabbix_sender
72 - mgr/zabbix/interval: 60
77 Configuration keys can be set on any machine with the proper cephx credentials,
78 these are usually Monitors where the *client.admin* key is present.
82 ceph config-key set <key> <value>
88 ceph config-key set mgr/zabbix/zabbix_host zabbix.localdomain
89 ceph config-key set mgr/zabbix/identifier ceph.eu-ams02.local
94 Should you want to debug the Zabbix module increase the logging level for
95 ceph-mgr and check the logs.
102 With logging set to debug for the manager the plugin will print various logging
103 lines prefixed with *mgr[zabbix]* for easy filtering.