diff --git a/api.go b/api.go index c123433..5afaa7b 100644 --- a/api.go +++ b/api.go @@ -24,7 +24,7 @@ const ( // List of string constants from the XML API responses. const ( OperStateOK = "OPERATIONAL" - NetworkAccessAllowed = "NetworkAccess" + NetworkAccessAllowed = "Allowed" ) // CMSystemInfo shows cable modem system info. diff --git a/collector.go b/collector.go index d7a1f9c..8a1323e 100644 --- a/collector.go +++ b/collector.go @@ -67,7 +67,7 @@ func (c *Collector) collectCMSSystemInfo( }, []string{"mode"}) cmHardwareVersionGauge := prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "connect_box_cm_hardware_version", - Help: "Hardware_version.", + Help: "Hardware version.", }, []string{"version"}) cmMacAddrGauge := prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "connect_box_cm_mac_addr",