Hosts for approved fixes
An approved fix plan runs its commands over SSH, one at a time, only on hosts you have explicitly opened to it. Each such host is an SSH provider with Allow approved fixes turned on.
-
On the host, create a user for AVACOM with only the rights the fixes need. For example, give it
sudofor the few commands it should run, not a full root shell. -
In AVACOM, open Providers, choose SSH and fill in:
Field Value SSH hostname The host, exactly as the RCA names it, for example db-core-01(or its full name)SSH user The user from step 1 SSH port Default 22 SSH private key or SSH password An RSA private key file, or a password Allow approved fixes On -
Press Connect.
A fix step for db-core-01 then runs through this provider, and the plan shows it as
db-core-01 · SSH (provider name as user@host).
What it runs
Section titled “What it runs”- One simple command per step. Commands that chain, pipe, redirect or substitute are left to a person, and so are programs that can delete data, stop machines, change accounts or fetch code. The full list is on Fix approval.
- Each command has five minutes. Its exit code and output are stored on the step and in the incident’s activity.
- The run stops at the first command that fails.
When a step is left to a person
Section titled “When a step is left to a person”| The plan says | Why |
|---|---|
| No SSH provider for host allows approved fixes. | No SSH provider matches the host, or Allow approved fixes is off |
| More than one SSH provider matches host; say which machine it is. | Two providers match: edit the step’s host to the exact one |
| Commands do not run over SSH while the server runs without sign-in. | AUTH_TYPE=NOAUTH: fixes run only when people sign in |