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 121: AIEE something munches my home router CPU, Zabbix to the rescue!

Breadcrumbs

Breadcrumb

  • Home
  • Part 121: AIEE something munches my home router CPU, Zabbix to the rescue!

Main page content

By whatsuphome | 11:03 PM EEST, Mon May 19, 2025

TL;DR

My ASUS AX-68U router with Asuswrt-Merlin firmware started using significantly more CPU after a firmware update, so I added Zabbix agent process monitoring to identify the culprit. Using monZphere ECharts widget for sortable tables and treemaps helped me
What's up, home? part 121 cover image

Lately my home router ASUS AX-68U with Asuswrt-Merlin firmware has been using much more CPU than it used to do. It's not being slow or anything, but I'm curious how its CPU usage jumped since I last updated the firmware. This kind of jump in CPU usage cannot be a coincidence and definitely something that I want to track down. Below is a graph from my home Zabbix dashboard.

Home router CPU usage on my Zabbix dashboard

Let's monitor some processes

As my router already runs Zabbix agent, monitoring the running processes is just a matter of adding the processes by Zabbix agent template to my home router host.

Router os processes template

Then on Macros tab I made it match all the processes. Note that this might not be the cleverest idea in a bigger environment as you would then receive LOTS of items, but can be ok for an experiment like this.

Macros tab

See the results

After this, we have some results to marvel. Here is the tag level view of my home router latest data for the processes.

Latest data view

If I click on any of them, I get these details.

AdGuardHome process details

But combing the results like this would be lots of work, so that's why we have our almight graphs and widgets. One way would be these traditional time-series graphs:

Time-series graph of memory usage

... or recent Honeycomb widgets ..

ECharts are go!

... but I'd like to take a moment to showcase monZphere's excellent ECharts widget. It's open-source, it's free, it's fast, it looks gorgeous.

It can do for example horizontal bars:

ECharts horizontal bars

... or treemaps ..

monZphere treemap

... or maybe the best in this particular case, these ad-hoc sortable, paginated tables which are pure joy to use.

monZphere LLD table

What did I learn from these?

Well, I did not monitor the individual processes before this CPU usage spike started to happen, so I do not know the previous status for sure. However, looking at all the numbers, I suspect that something is wonky with my AdGuard Home installation -- it's an ad-blocker module for Asuswrt-Merlin, among others -- so maybe reinstalling it will resolve this. That's a story for another time.

whatsuphome
zabbix
router
processes
  • Add new comment

Comments (2)

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

Question

The only (not verified)

1 year 3 months ago
Permalink
New

Wait, by default Zabbix doesn’t monitor all processes running on a host ? How does it know if a process is consuming all resources then ???

  • Reply

No, it does not

whatsuphome

1 year 3 months ago
Permalink
New

It does not. If you think of it, in really big environments it would be huge strain for any monitoring system to keep an eye on ALL the processes all the time. If you have for example 10k servers with 1k processes on each, that alone would equal ten million items on Zabbix. Or, in fact, many more than that, as there would be individual items for CPU, memory usage, other aspects of a process.

More rational approach is to use the processes template on servers where it's likely that some process goes bonkers, and then monitor only that process or a much smaller set of processes. 

How do you or Zabbix then know that a process is consuming all the resources? Well, if the load average, CPU usage, memory usage, other values start to balloon fast, then it's time for an admin to jump in and see what's going on.

  • Reply

In reply to Question by The only (not verified)

My ASUS AX-68U router with Asuswrt-Merlin firmware started using significantly more CPU after a firmware update, so I added Zabbix agent process monitoring to identify the culprit. Using monZphere ECharts widget for sortable tables and treemaps helped me

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