Expand description
§pistachio
Pistachio is a Prometheus exporter written in Rust, designed for monitoring UPS devices using Network UPS Tools (NUT).
Structs§
- Args
- A collection of arguments to be parsed from the command line or environment.
- Metrics
- A collection of all registered metrics, both labelled and unlabelled.
Functions§
- create_
connection - Creates a connection for communicating with the NUT server.
- get_
ups_ vars - Connects to the NUT server to produce a map of all available UPS variables, along with their values and descriptions.