Versions in this module Expand all Collapse all v1 v1.0.0 Aug 17, 2017 Changes in this version + func FatalCheck(e error) + func LogMsg(s string) + func ParseFlags(c, p *string) (*string, *string) + func ParseQuery(w http.ResponseWriter, r *http.Request) (*regexp.Regexp, error) + func PrometheusFormatResponse(c Config) (string, error) + func SoftCheck(e error) bool + type Config struct + Scripts []ScriptConfig + Version string + func BatchExecute(c *Config, p *regexp.Regexp) (Config, error) + func ParseConfig(c string) (Config, error) + type CredentialConfig struct + Host string + KeyFile string + Port string + ResultPatternMatch int8 + ScriptError string + ScriptResult string + ScriptReturnCode int + User string + type ScriptConfig struct + Credentials []CredentialConfig + Ignored bool + Name string + ParsedTimeout time.Duration + Pattern string + Script string + Timeout string Incompatible versions in this module v2.0.0+incompatible Mar 30, 2018