Operations 6 min read

How to Install Grafana 4 and Integrate Zabbix for Real‑Time Monitoring

This step‑by‑step guide shows how to install Grafana 4 on a Linux server, configure it to start on boot, add required fonts, install the Grafana‑Zabbix and clock‑panel plugins, and create a dashboard that visualizes Zabbix metrics such as memory usage.

Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
How to Install Grafana 4 and Integrate Zabbix for Real‑Time Monitoring

Installing Grafana 4 and preparing the environment

Grafana 4 can be installed on a RHEL/CentOS system using the official RPM package. Two equivalent methods are supported:

wget https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.x86_64.rpm
rpm -Uvh grafana-4.1.2-1486989747.x86_64.rpm

or

yum install https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.x86_64.rpm

Install the additional packages required for Grafana’s web UI and font rendering:

yum install initscripts fontconfig freetype* urw-fonts -y

Start the Grafana service and enable it to start on boot:

service grafana-server start
chkconfig grafana-server on

Verify the installed package (optional): rpm -qc grafana Grafana listens on port 3000. Open a browser and navigate to http://<em>ServerIP</em>:3000. The default login credentials are admin/admin.

Integrating Zabbix via Grafana plugins

Grafana’s plugin manager (the grafana-cli tool) is used to install the Zabbix app and optional panels.

# List remote plugins (optional)
grafana-cli plugins list-remote

# Install the Zabbix application plugin
grafana-cli plugins install alexanderzobnin-zabbix-app

# Install a clock panel (optional)
grafana-cli plugins install grafana-clock-panel

# Restart Grafana to load the new plugins
service grafana-server restart

After the restart, enable the Zabbix plugin from the Grafana UI (Configuration → Plugins) and add a new data source of type Zabbix with the appropriate Zabbix server URL and credentials.

Creating a Zabbix‑backed dashboard in Grafana

1. Define a dashboard – From the Home page click New dashboard and give it a name, e.g. zabbix_server_monitor .

2. Add rows and panels – Click ADD ROW , then Add panel → Graph . Use the panel title menu to rename the panel.

3. Configure a monitoring item (example: Memory Usage)

General tab : set Name to “Memory Usage”.

Metrics tab : select the Zabbix item that provides memory usage (e.g. vm.memory.size[used] or a custom item defined in Zabbix).

Axes tab : configure X‑axis as “Time” and Y‑axis label as “Bytes” (or a suitable unit).

4. Repeat for additional metrics such as CPU load, disk I/O, network traffic, etc., following the same workflow.

5. Save the dashboard . Grafana will now display real‑time graphs of the selected Zabbix metrics.

The following images illustrate the installation, plugin installation, and dashboard configuration steps:

Grafana installation diagram
Grafana installation diagram
RPM query output
RPM query output
Plugin list
Plugin list
Add Data Source
Add Data Source
Dashboard definition
Dashboard definition
Add row
Add row
Graph panel
Graph panel
Metrics configuration
Metrics configuration
Axes configuration
Axes configuration
Additional monitoring items
Additional monitoring items
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

monitoringInstallationPluginsZabbix
Full-Stack DevOps & Kubernetes
Written by

Full-Stack DevOps & Kubernetes

Focused on sharing DevOps, Kubernetes, Linux, Docker, Istio, microservices, Spring Cloud, Python, Go, databases, Nginx, Tomcat, cloud computing, and related technologies.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.