Documentation ¶
Index ¶
- func CheckISMError(c *cli.Context) error
- func CheckIndiceLocked(c *cli.Context) error
- func CheckSLMPolicy(c *cli.Context) error
- func CheckSMError(c *cli.Context) error
- func CheckTransformError(c *cli.Context) error
- type Check
- type DefaultCheck
- func (h *DefaultCheck) CheckISMError(indiceName string, excludeIndices []string) (res *nagiosPlugin.Monitoring, err error)
- func (h *DefaultCheck) CheckIndiceLocked(indiceName string) (monitoringData *nagiosPlugin.Monitoring, err error)
- func (h *DefaultCheck) CheckSMError(snapshotRepositoryName string) (res *nagiosPlugin.Monitoring, err error)
- func (h *DefaultCheck) CheckSMPolicy(policyName string) (res *nagiosPlugin.Monitoring, err error)
- func (h *DefaultCheck) CheckTransformError(transformName string, excludeTransforms []string) (monitoringData *nagiosPlugin.Monitoring, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckISMError ¶
func CheckISMError(c *cli.Context) error
CheckISMError Wrap cli argument and call check
func CheckIndiceLocked ¶
func CheckIndiceLocked(c *cli.Context) error
CheckIndiceLocked wrap command line to check
func CheckSLMPolicy ¶
func CheckSLMPolicy(c *cli.Context) error
CheckSLMPolicy wrap command line to check
func CheckSMError ¶
func CheckSMError(c *cli.Context) error
CheckSLMError wrap command line to check
func CheckTransformError ¶
func CheckTransformError(c *cli.Context) error
CheckILMError Wrap cli argument and call check
Types ¶
type Check ¶
type Check interface { CheckISMError(indiceName string, excludeIndices []string) (*nagiosPlugin.Monitoring, error) CheckSMError(snapshotRepositoryName string) (*nagiosPlugin.Monitoring, error) CheckSMPolicy(policyName string) (*nagiosPlugin.Monitoring, error) CheckIndiceLocked(indiceName string) (*nagiosPlugin.Monitoring, error) CheckTransformError(transformName string, excludeTransforms []string) (*nagiosPlugin.Monitoring, error) }
Check is interface of Opensearch monitoring
type DefaultCheck ¶
type DefaultCheck struct {
// contains filtered or unexported fields
}
DefaultCheck implement the interface of Check
func (*DefaultCheck) CheckISMError ¶
func (h *DefaultCheck) CheckISMError(indiceName string, excludeIndices []string) (res *nagiosPlugin.Monitoring, err error)
func (*DefaultCheck) CheckIndiceLocked ¶
func (h *DefaultCheck) CheckIndiceLocked(indiceName string) (monitoringData *nagiosPlugin.Monitoring, err error)
func (*DefaultCheck) CheckSMError ¶
func (h *DefaultCheck) CheckSMError(snapshotRepositoryName string) (res *nagiosPlugin.Monitoring, err error)
CheckSMError check that there are no SM policy failed on repository
func (*DefaultCheck) CheckSMPolicy ¶
func (h *DefaultCheck) CheckSMPolicy(policyName string) (res *nagiosPlugin.Monitoring, err error)
func (*DefaultCheck) CheckTransformError ¶
func (h *DefaultCheck) CheckTransformError(transformName string, excludeTransforms []string) (monitoringData *nagiosPlugin.Monitoring, err error)
Click to show internal directories.
Click to hide internal directories.