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

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.0.0
File Size Uploaded
zabgrab-1.0.0.tar.gz 276.0 kB Details

Built distribution (wheel)

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

Total release size: 426.7 kB

Release files / zabgrab-1.0.0.tar.gz

Download URL zabgrab-1.0.0.tar.gz
Size 276.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce65ec0e5d6b1e37bdfa58222dcf07be7e0db46182c1821a7177eac0ccc755fc
BLAKE2b-256 checksum
How to use checksums
71f68143ebc84c79720c8c6a1672a1ff7e3979a64fe298f127ca832be79783d5
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 15, 2026.

Transparency log

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

Download URL zabgrab-1.0.0-py3-none-any.whl
Size 150.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05e83ba9f1671cc37671e9ceafe124f4b43410820c56843b4f6d8bd965788578
BLAKE2b-256 checksum
How to use checksums
6966d271dd14af819e234f81efdde48f2a86f57ec431636f3b11fd2fc0e30b67
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

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