Trait nagiosplugin::Checkable[][src]

pub trait Checkable {
    fn name(&self) -> &str;
fn description(&self) -> Option<&str>;
fn state(&self) -> Option<State>;
fn perf_string(&self) -> Option<String>; }

The checkable trait represents anything that has some relevance as a checkable entity in icinga. Most notably Metrics. There are also StaticCheckables which do not contain any metrics but influence the service state and output of the plugin.

Required methods

fn name(&self) -> &str[src]

fn description(&self) -> Option<&str>[src]

fn state(&self) -> Option<State>[src]

fn perf_string(&self) -> Option<String>[src]

Loading content...

Implementors

impl Checkable for StaticCheckable[src]

impl<T: ResourceMetric> Checkable for T[src]

Loading content...