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 104: Track your PEF results with Zabbix

Breadcrumbs

Breadcrumb

  • Home
  • Part 104: Track your PEF results with Zabbix

Main page content

By whatsuphome | 9:45 PM EET, Mon November 18, 2024

TL;DR

For my asthma-related PEF tests, I created Apple Shortcuts on my Mac and iPhone that ask for the blow measurement and send it to Zabbix via the history.push API. Zabbix stores the results as items on a dedicated host, with separate tracking for
What's up, home? part 104 cover image

I've had a very long-running on-off asthma-stylish cough, recently getting worse than ever. No worries, my dear readers, I can live normal life, I go to work, live with my family, do all that, everything is well apart from annoyance.

Anyway, fpr debugging me, the doctors have taken all kinds of tests from me and the latest one is that I'll be doing PEF tests for two weeks twice a day. In PEF tests, you blow to a meter which then tells how many liters per minute you can huff and puff. For tracking the results, they gave me a paper. PAPER. PAPER! That blows. 

As a good citizen, I'm going to fill in the paperwork too, but of course I'm now tracking my PEF results with Zabbix.

The method I'm using is the good old Apple Shortcuts I've used in the past for other stuff in this blog, too. This might be the first time though when the shortcut I use is asking for user input and then entering that to Zabbix.

Setting up the shortcut

Without further ado, here are the shortcuts I'm using. They ask for the PEF result and then post it to my Zabbix over Zabbix 7.0 history.push API call. These shortcuts are handy, as I can run those on my Mac, as well through my iPhone.Cove

Two shortcuts, before and after medicineShortcut

Zabbix side

On Zabbix, I simply have a host for this called PEF, and two items on it, one for before the medicine and one after the medicine. .

ItemsItem details

This is it! 

How the results look like?

The results are exactly like your usual Zabbix stuff. If I run my shortcut and go to Zabbix latest data, here it is:

PEF results latest data

... and of course I created a simple dashboard.

PEF dashboard

In the end, few clicks here, few clicks there, and it was done. Monitoring this kind of stuff with Zabbix is easy!

whatsuphome
zabbix
health
pef
  • 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.
For my asthma-related PEF tests, I created Apple Shortcuts on my Mac and iPhone that ask for the blow measurement and send it to Zabbix via the history.push API. Zabbix stores the results as items on a dedicated host, with separate tracking for

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