Releases: vshn/go-icinga2-client
Releases · vshn/go-icinga2-client
v0.0.17
What's Changed
- Add support for selecting service template by @pdorschner in #10
Full Changelog: v0.0.16...v0.0.17
v0.0.16
v0.0.15
Release v0.0.14
Fixed
- Correctly marshal query filter to JSON (#7)
Release v0.0.13
Fixed
- Correctly implement filtering for ListServices and ListDowntimes (#6)
Release v0.0.12
Added
- Use Icinga's standard service template (
generic-service
) when creating services (#5)
Release v0.0.11
Changed
- Allow users to provide arbitrary tls.Config for WebClient (#4)
Notes
When upgrading to go-icinga2-client v0.0.11, users that made use of either WebClient.InsecureTLS
or WebClient.RootCAs
must update their code to provide a full tls.Config
with the respective fields configured instead. For example
client, err := icinga2.New(icinga2.WebClient{
URL: icingaURL,
Username: icingaUser,
Password: icingaPassword,
InsecureTLS: icingaInsecureTLS,
DisableKeepAlives: icingaDisableKeepAlives,
RootCAs: rootCAs})
becomes
import "crypto/tls"
[...]
tlsConfig := &tls.Config{
InsecureSkipVerify: icingaInsecureTLS,
RootCAs: rootCAs,
}
client, err := icinga2.New(icinga2.WebClient{
URL: icingaURL,
Username: icingaUser,
Password: icingaPassword,
DisableKeepAlives: icingaDisableKeepAlives,
TLSConfig: tlsConfig})
Going forward this change allows users to provide arbitrary tls.Config
objects to the Icinga2 WebClient.
Release v0.0.10
Added
- Support for
check_period
parameter on Host and Service objects (#3)
Release v0.0.9
Fixed
- Adjust mock client to implement new ListHosts and ListHostGroups interface
Release v0.0.8
Added
- ListHosts and ListHostGroups take a query parameter (#2).