Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
NewCollector returns a new aaa.Collector instance.
Types ¶
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
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.
Click to show internal directories.
Click to hide internal directories.