Expand description
This library was created to fit basic needs for parsing and creating Performance Data (Perfdata) commonly used by check commands from monitoring engines like Icinga2 or Nagios.
Usually the data will be turned into a time series, and - if defined - will be used to determine the status of a monitoring object based on ThresholdRanges.
Parsing and output is implemented to the Nagios Reference.
Structs§
- Perfdata
Perfdatais the core data structure of this crate. APerfdatarepresents a named metric recurrently observed by a monitoring check. Almost every current monitoring engine is able to interpretPerfdatain its string representation.- Perfdata
Set - A PerfdataSet is a collection of Perfdata. It can be built via
PerfdataSet::new(), from Iterators withItem=<Perfdata>, or from aVec<Perfdata>. - Threshold
Range - A
ThresholdRangedelimits a numerical range in which a Perfdata Value will be considered Warning or Critical ( See Perfdata::with_crit() andPerfdata::with_warn())
Enums§
- Monitoring
Status - Monitoring Status representing the Status reported to Monitoring Engines like Nagios, Naemon or Icinga.