opticsxe

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector() collector.Collector

NewCollector returns a new opticsxe.Collector instance.

Types

type Collector

type Collector struct {
}

Collector gathers transceiver metrics on Cisco devices running IOS XE.

func (*Collector) Collect

func (c *Collector) Collect(ctx *collector.CollectContext)

Collect implements the collector.Collector interface's Collect function

func (*Collector) Describe

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

Describe implements the collector.Collector interface's Describe function

func (*Collector) Name

func (*Collector) Name() string

Name implements the collector.Collector interface's Name function

type XETransceiver

type XETransceiver struct {
	Slot          string
	Subslot       string
	Port          string
	Enabled       bool
	Temperature   float64
	BiasCurrent   float64
	TransmitPower float64
	ReceivePower  float64
}

XETransceiver represent a transceiver inserted into a cisco device running IOS XE.

Jump to

Keyboard shortcuts

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