Zabbix API
This is a partial implementation of the Zabbix API client, created specifically for my pet project, wszl. Due to the extensive nature of the Zabbix API, I have been unable to allocate sufficient time to cover 100% functionality.
Getting started
Add dependencies in your Cargo.toml
:
[]
= { = "0.12.7", = ["blocking", "json"] }
= "0.2.2"
Then use:
use ClientBuilder;
use ZabbixApiV6Client;
use ZabbixApiClient;
- You can make raw api calls.
Versions
- Stable:
0.2.2
- Dev:
0.2.3
API Methods
- Get API info
- Authentication
- RAW API Call
- Search
- Host Group
- Hosts
- Items
- Triggers
- Web-scenarios
- User Group
- User
- Create
- Host Group
- Host
- Item
- Trigger
- Web-scenario
- User Group
- User
TODO
- Add examples
- Use enums for Zabbix types (trigger type, value type, etc.)
Limitations
- API support: v6
- Synchronous requests only