Documentation ¶
Overview ¶
2018-12-25 (cc) <paul4hough@gmail.com>
process alert ansible remediation - create inventory file w/ node - create playbook with variables from labels - run ansible role - return output
2019-01-07 (cc) <paul4hough@gmail.com> create remed instance 2019-02-14 (cc) <paul4hough@gmail.com> run alert remediation 2018-12-25 (cc) <paul4hough@gmail.com> process alert script remediation
Index ¶
- type Metrics
- type Remed
- func (r *Remed) AGroupHasRemed(ag alert.AlertGroup) bool
- func (r *Remed) AlertHasRemed(a alert.Alert) bool
- func (r *Remed) Ansible(node string, labels alert.LabelSet) (string, error)
- func (r *Remed) AnsibleAvail(labels alert.LabelSet) bool
- func (r *Remed) Del()
- func (r *Remed) Remed(a alert.Alert, nid nid.Nid)
- func (r *Remed) Script(node string, labels alert.LabelSet) (string, error)
- func (r *Remed) ScriptAvail(labels alert.LabelSet) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remed ¶
type Remed struct {
// contains filtered or unexported fields
}
func (*Remed) AGroupHasRemed ¶ added in v0.9.3
func (r *Remed) AGroupHasRemed(ag alert.AlertGroup) bool
Click to show internal directories.
Click to hide internal directories.