Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct { Name string Config *config.CheckPlugin }
Checker is the main interface of check monitoring. It invokes its given command and transforms the result to a Report to be sent to Mackerel periodically.
type Report ¶
type Report struct { Name string Status Status Message string OccurredAt time.Time NotificationInterval *int32 MaxCheckAttempts *int32 }
Report is what Checker produces by invoking its command.
Click to show internal directories.
Click to hide internal directories.