Skip to main content

zabgrab

zabgrab is a command line tool that fetches data from Zabbix servers into files you can analyse: MATLAB (.mat), HDF5 (.h5), TSV and CSV.

Documentation: https://seands.github.io/zabgrab/ (development version: https://seands.github.io/zabgrab/dev/)

Installation

zabgrab needs Python 3.11 or later, and works with Zabbix 7.0 or later.

pip install zabgrab
pip install 'zabgrab[plot]'    # with plotting (matplotlib)

pipx (pipx install 'zabgrab[plot]') keeps it in its own environment.

Running zabgrab

zabgrab --help                 # the commands
zabgrab COMMAND --help         # a command's options

zabgrab token add https://zabbix.example.org      # store an API token
zabgrab items "Particles *" --server https://zabbix.example.org
zabgrab fetch --server https://zabbix.example.org --item "host=lab1,name=Particles *" \
    --from "24 hours ago" --to now --output particles.h5
zabgrab plot particles.h5

zabgrab asks for anything it needs that you don't give it. The documentation explains how to configure servers and templates, keep files up to date, and load the data in MATLAB and Python.

Building the documentation

The documentation is in docs/, built with Sphinx:

pip install -e ".[docs]"
sphinx-build -b html docs docs/_build/html

Then open docs/_build/html/index.html. The documentation's developer guide explains how to set up a development environment, run the tests, and make a release.

Credits

Sean Leavey sean.leavey@stfc.ac.uk

Metadata

Release files for zabgrab 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zabgrab 1.1.1
File Size Uploaded Provenance
zabgrab-1.1.1.tar.gz 448.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zabgrab 1.1.1
File Interpreter ABI Platform
zabgrab-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 618.1 kB

Release files / zabgrab-1.1.1.tar.gz

Download URL zabgrab-1.1.1.tar.gz
Size 448.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ccccc7ecb3eb6c54fe24637153982af553e21d0412ee6437e983a342aedc3fbe
BLAKE2b-256 checksum
How to use checksums
f20bf4161b1f148dc214e4f513b15a9693490a4fe9de28c6faf6ec5fe24456e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / zabgrab-1.1.1-py3-none-any.whl

Download URL zabgrab-1.1.1-py3-none-any.whl
Size 169.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bea43921e11cb2fdd0fb76e8ebcd3e9b8d7cb0e3ae0c3f6627431dd774326f49
BLAKE2b-256 checksum
How to use checksums
f9044fed014f13f1c18143218c2df019f1ae2bd72948f5301edeed1083227825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for zabgrab 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zabgrab-1.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page