A W.I.P. set of utility tools to manage Zabbix data. I've created this because the other tools either assumed you knew the request paths and/or had no type-safety.
The API surface for Zabbix is huge, so any contributions are welcome. I'm not demanding at all with PRs as long as you write the tests for them. Priority #1 is to cover as much of the API surface as possible, then next priority would be to start thinking about optimizing and linting the with a consistent ruleset repository.
Everything here was made using Deno and assumes you would be using it as well.
- Clone the repo.
- Edit the
.envfile with your own zabbix server link and API key.- If you don't have an API token, you can create one in your Zabbix frontend
in
Users > API Tokens.
- If you don't have an API token, you can create one in your Zabbix frontend
in
- Edit
main.tswith whatever functions you need. There will be some there commented out by default, feel free to use/delete them as you see fit and save. - Run
deno task devin your terminal to runmain.tswith all proper network access and env permissions.
You can test all functions with the deno task test command. It already has all
the proper network access and env permissions.