Trait simple_munin_plugin::MuninNodePlugin
[−]
[src]
pub trait MuninNodePlugin { fn config(&self); fn run(&self); fn check_autoconf(&self) -> bool { ... } fn autoconf(&self) { ... } fn get_env_threshold(level: Level, field: &str) -> Option<String> { ... } fn get_env_threshold_as<T>(level: Level, field: &str) -> Option<T>
where
T: FromStr, { ... } fn print_if_env(level: Level, field: &str) { ... } fn start(&self) -> i32 { ... } }
Required Methods
Provided Methods
fn check_autoconf(&self) -> bool
fn autoconf(&self)
fn get_env_threshold(level: Level, field: &str) -> Option<String>
fn get_env_threshold_as<T>(level: Level, field: &str) -> Option<T> where
T: FromStr,
T: FromStr,
fn print_if_env(level: Level, field: &str)
fn start(&self) -> i32
Plugin entry point