icinga2

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "icinga2"

Variables

View Source
var APIEndpoints []string

APIEndpoints saves the FQDN or ip address for the endpoints, that will be collected. Provided as arguments.

Functions

func Collect

func Collect(c *collection.Collection)

func InitAPICollection added in v0.10.0

func InitAPICollection(c *collection.Collection) error

InitAPICollection starts to collect data from the Icinga 2 API for given endpoints

Types

type UserAuth added in v0.10.0

type UserAuth struct {
	Username string
	Password string
}
var APICred UserAuth

APICred saves the user and password. Provided as arguments

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL