Expand description
A Rust library for interacting with the Zabbix API.
This crate provides a convenient and idiomatic way to communicate with a Zabbix server, handling authentication, version checking, and raw API requests.
§Example
use http_request_zabbix::{ZabbixInstance, AuthType};
let zabbix = ZabbixInstance::builder("http://zabbix.example.com/zabbix")
.build()
.unwrap()
.login(AuthType::UsernamePassword("Admin".to_string(), "zabbix".to_string()))
.unwrap();
println!("Zabbix Version: {}", zabbix.get_version().unwrap());Structs§
- Zabbix
Instance - Represents an active connection to a Zabbix server.
- Zabbix
Instance Builder - A builder for creating a
ZabbixInstance.
Enums§
- ApiRequest
Params - An enum representing the types of parameters that can be passed to the Zabbix API.
- Auth
Type - Enum representing the type of authentication to use.
- Zabbix
Error - Error type for Zabbix interactions.