Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CableModemClient ¶
type CableModemClient struct {
// contains filtered or unexported fields
}
func NewCableModemClient ¶
func NewCableModemClient(connectionString string, timeout time.Duration) *CableModemClient
func (*CableModemClient) Collect ¶
func (c *CableModemClient) Collect(ch chan<- prometheus.Metric)
func (*CableModemClient) Describe ¶
func (c *CableModemClient) Describe(ch chan<- *prometheus.Desc)
func (*CableModemClient) GetModemStatus ¶
func (c *CableModemClient) GetModemStatus() (ModemStatus, error)
type DownStatus ¶
type DownStatus struct {
Id string
Lock string
Mod string
Freq int
Power float64
Snr float64
Corr int
Uncorr int
}
func (*DownStatus) Collect ¶
func (ds *DownStatus) Collect(ch chan<- prometheus.Metric)
type ModemStatus ¶
type ModemStatus struct {
Startup StartupStatus
Ds []DownStatus
Us []UpStatus
}
type StartupStatus ¶
type StartupStatus struct {
Acquire string
ConnState string
BootState string
DownFreq int
ConfigFile string
SecurityState string
SecurityType string
DocsisAccess string
}
func (*StartupStatus) Collect ¶
func (s *StartupStatus) Collect(ch chan<- prometheus.Metric)
Click to show internal directories.
Click to hide internal directories.