Documentation
¶
Index ¶
- func HostCreate(config ConfigTree, data map[string]interface{}, replaceHost bool) (ok bool)
- func HostDelete(config ConfigTree, hostname string) bool
- func HostFetch(config ConfigTree, host string)
- func QueueSave(config ConfigTree) bool
- func SendCheck(config ConfigTree, checkType string, data CheckResults)
- func SendCheckHost(config ConfigTree, hostname string, statusCode int, output string)
- func SendCheckService(config ConfigTree, hostname string, service string, statusCode int, ...)
- func ServiceCreate(config ConfigTree, data map[string]interface{}) (ok bool)
- type CheckResults
- type ConfigTree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostCreate ¶
func HostCreate(config ConfigTree, data map[string]interface{}, replaceHost bool) (ok bool)
func HostDelete ¶
func HostDelete(config ConfigTree, hostname string) bool
func HostFetch ¶
func HostFetch(config ConfigTree, host string)
func QueueSave ¶
func QueueSave(config ConfigTree) bool
func SendCheck ¶
func SendCheck(config ConfigTree, checkType string, data CheckResults)
func SendCheckHost ¶
func SendCheckHost( config ConfigTree, hostname string, statusCode int, output string, )
func SendCheckService ¶
func SendCheckService( config ConfigTree, hostname string, service string, statusCode int, output string, )
func ServiceCreate ¶
func ServiceCreate(config ConfigTree, data map[string]interface{}) (ok bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.