Skip to content

debarshri/go-icinga2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-icinga2

go-icinga2 is a Go client library for accessing the Icinga2 API.

License Build Status Go Report Card codecov GoDoc

Status

In very early stage of development. We'd love to accept your pull requests and contributions to this project.

Usage

Not very usable at the moment.

transport := &icinga.BasicAuthTransport{
	Username: "user",
	Password: "pass",

	Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
}

icinga := icinga.NewClient("https://localhost:5665/", transport.Client())

host, resp, err := icinga.Hosts.Get("hostname")

Licence

This library is distributed under the New BSD License found in the LICENSE file.

About

Golang Icinga2 API library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%