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

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.

 

 

 

Comments

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

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

In reply to by Eric Dannewitz (not verified)

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

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.
Buy me a coffee

Like these posts? Support the project and Buy me a coffee