Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAlertLevel ¶ added in v0.2.0
func ConvertAlertLevel(s string) mackerel.CheckStatus
無指定の場合は WARNING 入力は ValidateAlertLevel で検査されていること
func ValidateAlertLevel ¶ added in v0.2.0
Types ¶
type Config ¶
type Config struct {
MIB *MIB `yaml:"mib"`
TrapServer *TrapServer `yaml:"snmp"`
Trap []*Trap `yaml:"trap"`
LogLebel string `yaml:"log-level"`
DryRun bool `yaml:"dry-run"`
Mackerel *Mackerel `yaml:"mackerel"`
Encoding []*Encoding `yaml:"encoding"`
}
func (*Config) GetLogLebel ¶ added in v0.2.2
func (*Config) RunningMode ¶
func (*Config) SortedTrapRules ¶ added in v0.2.1
type TrapServer ¶
Click to show internal directories.
Click to hide internal directories.