Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandChecker ¶
NewCommandChecker create a Command checker
Types ¶
type CommandChecker ¶
type CommandChecker struct {
// contains filtered or unexported fields
}
CommandChecker is a plugin to check status code of command
func (CommandChecker) Name ¶
func (c CommandChecker) Name() string
Name returns the name of the checker
func (CommandChecker) Periodicity ¶ added in v1.3.0
func (c CommandChecker) Periodicity() *time.Duration
Periodicity returns the delay between two checks
func (*CommandChecker) Run ¶
func (c *CommandChecker) Run(ctx context.Context) plugins.Result
Run is performing the checker protocol
func (CommandChecker) ServiceName ¶
func (c CommandChecker) ServiceName() string
ServiceName returns the name of the NSCA service associated to the checker
Click to show internal directories.
Click to hide internal directories.