unifi

package
v0.0.0-...-69f9896 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnifiCollector

type UnifiCollector struct {
	Url    string
	Cookie string
}

func NewUnifiCollector

func NewUnifiCollector(apiUrl, apiUser, apiPass string) (*UnifiCollector, error)

NewUnifiCollector create a collector to get metrics from unifi controller

func (*UnifiCollector) Collect

func (c *UnifiCollector) Collect(ch chan<- prometheus.Metric)

Collect implements Prometheus Collector interface

func (*UnifiCollector) Describe

func (c *UnifiCollector) Describe(ch chan<- *prometheus.Desc)

Describe implements Prometheus Collector interface

Jump to

Keyboard shortcuts

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