Is Raspberry Pi 4 a goodbye or good buy for running Zabbix? How is it performance-wise? Is it reliable? Here's my nine months review of it, with a splash of appliance/application performance monitoring.

After in about April 2022 when it became clear that I am going to continue my home monitoring project, I bought a Raspberry Pi 4 to run the show. Here's my opinion how well it is suited for running Zabbix.

Installing Zabbix

Applying that delicious layer of Zabbix on top of your Raspberry Pi 4 cake is extremely straightforward, as just like for every other platform that Zabbix officially supports, they do have packages and instructions to setup you'd like to run.

Zabbix download menu
So many options to choose from!

After installing the packages, the next steps are just like with Zabbix running on any other platform, so I am not going to dive into that now.

Modifications to my Raspberry setup

As I do not need to run graphical environment on my Raspberry, I did disable the graphical environment from starting at all to save some precious RAM and other resources.

After some time I did also purchase an external USB hard disk, as the memory card from where Raspberry Pi 4 runs its OS is not very snappy especially with write operations and can also run tight on free space.

Other than that, my Raspberry Pi 4 is running pretty much on defaults.

How about the performance?

The graphs that you are about to see are from nine months period of time, as that's about as long I have had the device.

CPU usage
No problem with the CPU usage. It's been creeping up a little bit over time though, as I have been adding new items to monitoring and also additional software, such as HomeBridge and Home Assistant.
Free memory
It still has available memory, even though the device runs Zabbix server, MariaDB, Grafana, Mosquitto, Home Assistant and HomeBridge.
Number of processes
As you can see, the number of running processes has grown significantly as I have been adding other stuff than Zabbix.
I/O utilisation %
It's easy to see when I did switch from internal memory card to external USB drive. The disk I/O utilisation percentage is hovering on very tolerable levels.
I/O latency
I/O latency has remained about the same.
Temperature
With only Zabbix, MariaDB and Grafana running the device remained around 55-60C area, but has been warming to about 70C with the additional software. Still not too bad.

Splash of APM

Have you ever wondered what happens to a memory usage of a wrapper shell script that runs other scripts in loop and keeps doing that until it's manually stopped? This happens, it's boringly stable. The results are brought you to by Zabbix Agent 2 process discovery.

run_all memory usage
Really, it does not vary much.
run_all page faults
But as I have been adding new stuff, clearly the OS needs to do some more swapping and even the script has more page faults than before.

There's more than that to process discovery, but those were some examples.

Zabbix server statistics
Zabbix server itself is doing very well, here's some example stats.

My conclusion: Raspberry Pi 4 is an excellent Zabbix server for smaller environments and a very good Zabbix proxy candidate. It's been rock solid.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.