Documentation
¶
Index ¶
Constants ¶
View Source
const Copyright = `
Copyright (C) 2024 NETWAYS GmbH <info@netways.de>
`
View Source
const License = `` /* 661-byte string literal not displayed */
Variables ¶
View Source
var Timeout = 30
Timeout is the default timout for the plugin
Functions ¶
Types ¶
type Config ¶
type Config struct {
BasicAuth string `env:"NOTIFY_ZAMMAD_BASICAUTH"`
Token string `env:"NOTIFY_ZAMMAD_TOKEN"`
CAFile string `env:"NOTIFY_ZAMMAD_CA_FILE"`
CertFile string `env:"NOTIFY_ZAMMAD_CERT_FILE"`
KeyFile string `env:"NOTIFY_ZAMMAD_KEY_FILE"`
Hostname string `env:"NOTIFY_ZAMMAD_HOSTNAME"`
ZammadGroup string
ZammadCustomer string
IcingaHostname string
IcingaServiceName string
IcingaCheckState string
IcingaCheckOutput string
IcingaNotificationType string
IcingaAuthor string
IcingaComment string
IcingaDate string
Port int
Insecure bool
Secure bool
}
Click to show internal directories.
Click to hide internal directories.