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

Search form

Site branding

Home
What's up, home?

Main navigation

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

Part 43: Monitor your mobile data usage

Breadcrumbs

Breadcrumb

  • Home
  • Part 43: Monitor your mobile data usage

Main page content

By whatsuphome | 6:34 PM EEST, Fri April 07, 2023

TL;DR

I monitor my mobile data usage by routing my phone's traffic through a home VPN and tracking the tunnel interface statistics that Zabbix collects from my router via SNMP. Zabbix LLD automatically discovers VPN clients as tunnel interfaces, giving me
Bits received

Can you monitor your mobile data usage with Zabbix? Of course you can! 
 

As it is Easter, this entry is a bit short but as I was remoting into my home systems over VPN and my phone, I got this blog post idea. 

When on the go, I tend to stay connected to my home network over VPN. Or rather, an iOS Shortcut pretty much runs OpenVPN home profile for me whenever I exit my home. 
 

My Zabbix collects statistics from my home router over SNMP, and as usual, the data includes per-port traffic statistics. VPN clients are shown as tunnel interfaces so Zabbix LLD picks them up nicely.

So, as a result, I get to see how much traffic my phone consumes whenever I’m using mobile VPN. Here’s seven day example screenshots from ZBX Viewer mobile app. 

Bits sent
VPN connection bits sent


 

VPN connection bits received
VPN connection bits received

So, from this data I could get all the statistics I need. And, using my ElastiFlow setup, could likely see to where my phone has been connecting to most. 

whatsuphome
zabbix
vpn
bandwidth
  • 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 monitor my mobile data usage by routing my phone's traffic through a home VPN and tracking the tunnel interface statistics that Zabbix collects from my router via SNMP. Zabbix LLD automatically discovers VPN clients as tunnel interfaces, giving me

Search

Who am I?

  • Janne Pikkarainen from Finland 🇫🇮
  • Began with computers in 1986 with C64
  • Doing IT for living since 1999
  • 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