Crate nagiosplugin[][src]

Structs

CheckResult

Represents a single item of a check. Multiple of these are used to form a Resource.

Metric

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.

PerfData

Represents a single performance metric.

PerfString

Newtype wrapper around a string to “ensure” only valid conversions happen. If you want to create

Resource

Represents a single service / resource from the perspective of Icinga.

Runner
ServiceStateFromStrError

Enums

RunnerResult
ServiceState
TriggerIfValue

Defines if a metric triggers if value is greater or less than the thresholds.

Traits

ToPerfString

Implement this if you have a value which can be converted to a performance metric value.