mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-07 19:16:36 +00:00
nps: refactor collector (#1764)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
32
internal/collector/nps/const.go
Normal file
32
internal/collector/nps/const.go
Normal file
@@ -0,0 +1,32 @@
|
||||
package nps
|
||||
|
||||
const (
|
||||
// NPS Authentication Server
|
||||
accessAccepts = "Access-Accepts"
|
||||
accessChallenges = "Access-Challenges"
|
||||
accessRejects = "Access-Rejects"
|
||||
accessRequests = "Access-Requests"
|
||||
accessBadAuthenticators = "Bad Authenticators"
|
||||
accessDroppedPackets = "Dropped Packets"
|
||||
accessInvalidRequests = "Invalid Requests"
|
||||
accessMalformedPackets = "Malformed Packets"
|
||||
accessPacketsReceived = "Packets Received"
|
||||
accessPacketsSent = "Packets Sent"
|
||||
accessServerResetTime = "Server Reset Time"
|
||||
accessServerUpTime = "Server Up Time"
|
||||
accessUnknownType = "Unknown Type"
|
||||
|
||||
// NPS Accounting Server
|
||||
accountingRequests = "Accounting-Requests"
|
||||
accountingResponses = "Accounting-Responses"
|
||||
accountingBadAuthenticators = "Bad Authenticators"
|
||||
accountingDroppedPackets = "Dropped Packets"
|
||||
accountingInvalidRequests = "Invalid Requests"
|
||||
accountingMalformedPackets = "Malformed Packets"
|
||||
accountingNoRecord = "No Record"
|
||||
accountingPacketsReceived = "Packets Received"
|
||||
accountingPacketsSent = "Packets Sent"
|
||||
accountingServerResetTime = "Server Reset Time"
|
||||
accountingServerUpTime = "Server Up Time"
|
||||
accountingUnknownType = "Unknown Type"
|
||||
)
|
||||
Reference in New Issue
Block a user