Documentation ¶
Overview ¶
Package network provides core checks for networking
Index ¶
- type NTPCheck
- func (c *NTPCheck) Configure(data check.ConfigData, initConfig check.ConfigData) error
- func (c *NTPCheck) GetMetricStats() (map[string]int64, error)
- func (c *NTPCheck) GetWarnings() []error
- func (c *NTPCheck) ID() check.ID
- func (c *NTPCheck) Interval() time.Duration
- func (c *NTPCheck) Run() error
- func (c *NTPCheck) Stop()
- func (c *NTPCheck) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NTPCheck ¶
type NTPCheck struct {
// contains filtered or unexported fields
}
NTPCheck only has sender and config
func (*NTPCheck) Configure ¶
func (c *NTPCheck) Configure(data check.ConfigData, initConfig check.ConfigData) error
Configure configure the data from the yaml
func (*NTPCheck) GetMetricStats ¶
GetMetricStats returns the stats from the last run of the check
func (*NTPCheck) GetWarnings ¶
GetWarnings grabs the last warnings from the sender
Click to show internal directories.
Click to hide internal directories.