Skip to content

Releases: vshn/go-icinga2-client

v0.0.17

21 Jun 06:27
v0.0.17
0bebf56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.16...v0.0.17

v0.0.16

10 Oct 15:16
9723969
Compare
Choose a tag to compare

Add support for testing and updating the Icinga2 API URL of an existing client object

v0.0.15

10 Oct 15:15
v0.0.15
b157d0f
Compare
Choose a tag to compare

Add support for HTTP Proxies

Release v0.0.14

08 Mar 17:57
v0.0.14
1725426
Compare
Choose a tag to compare

Fixed

  • Correctly marshal query filter to JSON (#7)

Release v0.0.13

05 Mar 16:27
c74545e
Compare
Choose a tag to compare

Fixed

  • Correctly implement filtering for ListServices and ListDowntimes (#6)

Release v0.0.12

15 Feb 16:03
d0af3cf
Compare
Choose a tag to compare

Added

  • Use Icinga's standard service template (generic-service) when creating services (#5)

Release v0.0.11

13 Oct 15:01
a80a68a
Compare
Choose a tag to compare

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

25 Sep 08:44
17ed971
Compare
Choose a tag to compare

Added

  • Support for check_period parameter on Host and Service objects (#3)

Release v0.0.9

28 Aug 08:01
Compare
Choose a tag to compare

Fixed

  • Adjust mock client to implement new ListHosts and ListHostGroups interface

Release v0.0.8

28 Aug 07:00
fd0f204
Compare
Choose a tag to compare

Added

  • ListHosts and ListHostGroups take a query parameter (#2).