Skip to header Skip to main navigation Skip to main content Skip to footer

Search form

Site branding

What's up, home?
Monitor everything with Zabbix & Grafana

Main navigation

  • Home
  • Story mode
  • About
  • Features
  • Hardware list
  • Videos
  • GitHub (opens in new tab)
  • Daily AI generated stories (opens in new tab)

Part 58: Time to start to use Zabbix 7.0 (at home)

Breadcrumbs

Breadcrumb

  • Home
  • Part 58: Time to start to use Zabbix 7.0 (at home)

Main page content

By whatsuphome | 2:00 PM EET, Wed January 31, 2024

TL;DR

I moved my home Zabbix on the Raspberry Pi 4 to the 7.0 beta and the upgrade preserved all my data, dashboards and triggers while noticeably cutting CPU usage. I also explored the new gauge widget and the interactive manual host and event actions.
A new dawn, a new Zabbix version

Since I will have some real use for Zabbix 7.0 when it comes out, I figured out that maybe it's time to switch my What's up, home? main instance to run on Zabbix 7.0beta1. Actually, I first upgraded to Zabbix 7.0alpha9 early yesterday, but then 7.0beta1 got released later in the evening before I had time to play around with alpha9. 

Anyway, now my Raspberry Pi 4 is running the latest-and-greatest version of Zabbix. A possible bumpy ride ahead, but I'm ready!

First impressions

The upgrade process itself went smooth, just like with the stable releases. All my data, dashboards, triggers, other rules are still in place.

Developers tell you that the new 7.0 will be much faster under the hood due migrating to threads and asynchronous polling, among other changes. It ain't just market speak, as this is my Zabbix instance before and after the upgrade. I don't think I need to annotate the graphs to show the point when I did the upgrade. The part that's still hovering around 20% is my ICMP ping pollers. Other than that, in my humble home setup, everything is now pretty much idle.

Utilisation of data collectors

Looking at my Raspberry Pi dashboard, not much changed, and anyway my Raspberry Pi is running many other things than Zabbix, too.

Here's CPU:

CPU usage

Memory:

Used memory

Disk I/O utilization: 

Disk I/O

Temperature:

Temperature

From single item view to gauges

To try out the new gauge widget, I threw in few of them showing some temperatures. The widget is very configurable.

Gauge widget

Interactive manual host/event actions

In addition to being actually useful in production, the new interactive host/event actions are fun to play with. You can provide parameters to your scripts via dropdown or a free text field. Here's a dropdown example. Well, a mockup, because my Python script currently is just a Hello world always returning that it changed the light color. Anyway, will modify my existing lights on/off script to handle colors, too.

So, if in scripts I click on Advanced configuration, I get to adjust the input type and dropdown options.

Scripts advanced configuration

... which gives me this.

Lights context menu

.. now when I click on Change home office light color, I get to see ...

Change light color dropdown

 

... and after choosing any of the colors, I get

Execution successful

Easy! Just pass {MANUALINPUT} macro for your script as parameter and it works. So, like this.

Script config

Will definitely be helpful in the serious business applications, as your on-call guys could for example trigger any Ansible playbooks through Zabbix to investigate and/or fix something just by clicking on an alert.

 

DNS monitoring gone overkill

With the new and improved net.dns.get Zabbix agent item key you can query no less than 73 different DNS record types. To visualize this, your DNS monitoring could look this wild. No, whatsuphome.fi don't give you back answers for nearly all of the query types but at least Zabbix tries.

DNS checks page 1

... and next page...

DNS checks page 2

So if there's something really deep you want to know about your DNS, Zabbix now supports it.

... and much more!

I'll have lots of poking to do, including creating my custom widgets. But, from now on, bye bye Zabbix 6.4 here at What's up, home?, it's now time to move on. Oh, and by the way, Grafana also continues working just fine with Zabbix 7.0beta1, or at least I didn't see any broken dashboards yet.

 

 

 

whatsuphome
zabbix
developmentnews
homemonitoring
  • Add new comment

Comments (3)

  • 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.

I promised myself no more…

Pax (not verified)

2 years 7 months ago
Permalink
New

I promised myself no more beta/development software versions in my homelab and then you go and write an article like this one...

  • Reply

Upgrade?

Eric Dannewitz (not verified)

2 years 6 months ago
Permalink
New

Is there a good doc on how to upgrade a 6.4 install to 7? I don't think I've seen one yet.

  • Reply

Happens like with any version

whatsuphome

2 years 6 months ago
Permalink
New
Upgrading to 7.0 happens just like with any other Zabbix upgrade; backup everything, point your Zabbix repo to latest version, update packages, restart services, wait for upgrade to complete, done. But, as this is a development version, something still could go wrong -- for me it was smooth, but my setup is fairly trivial even though I monitor weird stuff. :) You can go to zabbix.com downloads section, choose the 7.0-prerelease, and go from there if you just want to first install a fresh 7.0 and play with it (or at SQL related part, restore your backup of old version...)
  • Reply

In reply to Upgrade? by Eric Dannewitz (not verified)

I moved my home Zabbix on the Raspberry Pi 4 to the 7.0 beta and the upgrade preserved all my data, dashboards and triggers while noticeably cutting CPU usage. I also explored the new gauge widget and the interactive manual host and event actions.

Search

Who am I?

  • Janne Pikkarainen from Finland 🇫🇮
  • Principal Site Reliability Engineer at Forcepoint
  • A Zabbix Summit speaker every year since 2022
  • Walking, talking Zabbix commercial

Support my project

Buy me a coffee 

Footer menu

  • Contact

What's up, home? | Janne Pikkarainen | contact(at)whatsuphome.fi | 2022 - 2026

Developed and Designed by Janne Pikkarainen