Zabbix Plugin for Ceph on Proxmox

The Zabbix plugin actively sends information to a Zabbix server like:

Ceph status
I/O operations
I/O bandwidth
OSD status
Storage utilization

Login to the first proxmox node. In this case its px1.

Install zabbix – see

Install Zabbix Sender

# apt-get install zabbix-sender

Locate the zabbix template:

 locate zabbix_template

Cat the template to the screen and copy to a zabbix_template.xml file on your desktop. The Go to The zabbix server > Configuration > Templates. Click Import and load the file. Select the default valuses.

Add the template to the server you are monitoring in Configuration > Hosts.

You can enable the zabbix module with:

# ceph mgr module enable zabbix

Two configuration keys are vital for the module to work:

identifier (optional)

The parameter zabbix_host controls the hostname of the Zabbix server to which zabbix_sender will send the items. This can be a IP-Address if required by your installation.

In this case, we use the config from the zabbix install for the zabbix server.

# ceph zabbix config-set zabbix_host

The identifier parameter controls the identifier/hostname to use as source when sending items to Zabbix. This should match the name of the Host in your Zabbix server.

In this case we use the hostname of the server being monitored:

# ceph zabbix config-set identifier

Additional configuration keys which can be configured and their default values:

zabbix_port: 10051
zabbix_sender: /usr/bin/zabbix_sender
interval: 60

The current configuration of the module can also be shown:

# ceph zabbix config-show

Test the install and sending data:

ceph zabbix send

You should see “Sending data to Zabbix”