Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigurationParser ¶
type ConfigurationParser interface {
ParseConfiguration(content []byte) ([]monitoring_node.Node, error)
}
type XmlNode ¶
type XmlNode struct { NodeList []XmlNode `xml:"node"` ActionList []XmlAction `xml:"action"` Silent bool `xml:"silent,attr"` SilentUntil string `xml:"silentuntil,attr"` Disabled bool `xml:"disabled,attr"` Check string `xml:"check,attr"` Port int `xml:"port,attr"` Retrycount int `xml:"retrycount,attr"` Timeout int `xml:"timeout,attr"` Host string `xml:"host,attr"` Url string `xml:"url,attr"` Name string `xml:"name,attr"` ExpectBody string `xml:"expectbody,attr"` ExpectContent string `xml:"expectcontent,attr"` ExpectStatusCode int `xml:"expectstatuscode,attr"` ExpectTitle string `xml:"expecttitle,attr"` Username string `xml:"username,attr"` Password string `xml:"password,attr"` PasswordFile string `xml:"passwordfile,attr"` }
Click to show internal directories.
Click to hide internal directories.