Ad Widget

Collapse

Combine zabbix with ML Models for Prediction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maryam R
    Junior Member
    • Sep 2026
    • 1

    #1

    Combine zabbix with ML Models for Prediction

    Has anyone built a proper ML-based predictive monitoring layer on top of Zabbix?

    Asking because I genuinely couldn't find one.

    And to be clear . It's about any metric that's heading toward trouble: CPU, memory, disk, queue depth, whatever. The real question is always the same: how long until this becomes a problem? Answer that early enough, and you avoid downtime and the cost that comes with it — both the financial hit and the scramble to fix things at 3am.

    Zabbix's built-in forecast()/timeleft() functions are plain linear regression. Fine for something that grows in a straight line — useless for anything with a weekly pattern (backups, log rotation) or an accelerating trend. It just doesn't see it.

    So I've been building a pipeline that:
    → Pulls history data via the Zabbix API
    → Trains one model pooled across ALL monitored items together — not per-item, since most metrics never actually breach a threshold within a given training window, so per-item training on crossing events alone starves on data
    → Predicts values at multiple horizons and interpolates to estimate days-to-threshold

    XGBoost is just the current model — a solid, explainable baseline to prove the approach works. The pipeline itself is model-agnostic; the plan is to eventually plug in stronger ML approaches or even LLM-based reasoning on top, once the base is solid.

    What I couldn't find anywhere: someone doing this for Zabbix specifically, at this level. Grafana Cloud ML offers something similar for Prometheus — nothing comparable for Zabbix shops.

    Genuine question: has anyone here built or seen a similar approach for Zabbix? Would love to compare notes.
  • obskuritz
    Junior Member
    • Jul 2026
    • 5

    #2
    You could try using the trend functions.
    Zabbix features native trend analysis or machine learning capabilities.

    baseline:
    baselinedev or baselinewma




    I haven't tried any of them, as I don't like incorporating third-party tools, but you can tryied with n8n
    If you want to orchestrate a process, you can try n8n.
    Integrate Zabbix with hundreds of other apps. Create sophisticated automations between Zabbix and your stack using n8n. Free and source-available.




    good luck

    Comment

    Working...