Crate nagiosplugin
source ·Structs
- Represents a single item of a check. Multiple of these are used to form a Resource.
- Defines a metric with a required name and value. Also takes optional thresholds (warning, critical) minimum, maximum. Can also be set to ignore thresholds and have a fixed ServiceState.
- Represents a single performance metric.
- Newtype wrapper around a string to “ensure” only valid conversions happen. If you want to create
- Represents a single service / resource from the perspective of Icinga.
Enums
- Defines if a metric triggers if value is greater or less than the thresholds.
Traits
- Implement this if you have a value which can be converted to a performance metric value.