v1.0.3 Latest Latest

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

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




This section is empty.


This section is empty.


func NewCollector

func NewCollector() collector.Collector

NewCollector returns a new aaa.Collector instance.


type Collector

type Collector struct {

Collector gathers metrics for radius servers configured on the remote device by running `show aaa servers`

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 RadiusServer

type RadiusServer struct {
	ID             string
	Priority       string
	Host           string
	AuthPort       string
	AccountingPort string

	Up            float64
	UpDuration    float64
	DeadTotalTime float64
	DeadCount     float64

	Quarantined float64

	Requests        map[string]float64
	Timeouts        map[string]float64
	Failovers       map[string]float64
	Retransmissions map[string]float64

	Responses    map[string]map[string]float64
	ResponseTime map[string]float64

	SuccessfullTransactions map[string]float64
	FailedTransactions      map[string]float64
	ThrottledTransactions   map[string]float64
	ThrottledTimeouts       map[string]float64
	ThrottledFailures       map[string]float64
	MalformedResponses      map[string]float64
	BadAuthenticators       map[string]float64

	EstimatedOutstandingAccessTransactions     float64
	EstimatedOutstandingAccountingTransactions float64
	EstimatedThrottledAccessTransactions       float64
	EstimatedThrottledAccountingTransactions   float64
	RequestsPerMinuteHigh                      float64
	RequestsPerMinuteLow                       float64
	RequestsPerMinuteAverage                   float64

RadiusServer is a representation of the Cisco CLI outputs concerning a radius server.

func NewRadiusServer

func NewRadiusServer() *RadiusServer

NewRadiusServer returns a new instance of aaa.RadiusServer and initializes some fields.

Jump to

Keyboard shortcuts

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