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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zabgrab-1.1.0.tar.gz | 448.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zabgrab-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 617.8 kB
Release files / zabgrab-1.1.0.tar.gz
| Download URL | zabgrab-1.1.0.tar.gz |
|---|---|
| Size | 448.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c76b258585ad6e8165b97ed203e9f13ffcccc7c6a0370d582fe620655080fd04
|
|
BLAKE2b-256 checksum How to use checksums |
8893a8454db61bfc4afa8c6dab591109bd6085aa6e5da3cee65319898ca21885
|
| 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 logRelease files / zabgrab-1.1.0-py3-none-any.whl
| Download URL | zabgrab-1.1.0-py3-none-any.whl |
|---|---|
| Size | 169.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a6a411fee7d47eef332aad775c89647ca4dff6024698db517d4c1c18692a952
|
|
BLAKE2b-256 checksum How to use checksums |
2a90a9118c31f49a89eb4069704e213989f4c721abfe2b0e8104d82ef039cbd6
|
| 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 logSecurity for zabgrab 1.1.0
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.
Attestation for zabgrab-1.1.0.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 logA 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.