Automation and quality
Automated remediation: Let a health alert start a safe, limited fix
When a computer raises a health alert, ResolveDesk can call your own tool with a signed request, or ask the computer's agent to run a safe action from a fixed list, with approval, limits and a check afterwards.
What automated remediation means in ResolveDesk
Some alerts have a routine fix. Automated remediation lets an organisation decide which alert starts which action, so the fix starts without waiting for someone to notice. It is switched off until an administrator turns on its master switch, and it needs health alerts to be on.
An action is either a signed call to your own tool, such as a script runner, or one of a short, fixed list of actions that the computer's agent can carry out: collect system information, check disk usage, list the heaviest processes, clean old temporary files, or restart the agent. The server only ever sends the name of the action. The agent carries out only the actions it knows and refuses anything else, and there is no way to send it a script.
Actions that change the computer wait for a person's approval, and the approval expires after 24 hours. Every action has a daily limit and a cooldown for each computer. After a set number of minutes ResolveDesk checks whether the alert has cleared and writes the result on the incident. Every run and step is recorded.
Administrators can also use the same fixed list directly from a computer's Details: restart or shut the computer down, with a reason that is recorded and a two-minute warning shown on the person's screen, or list the names of the programs that are running. Restarts and shutdowns are limited and are never sent to a computer without a reason.
Capabilities
What you can do
A master switch, off by default
Remote actions are off until an administrator switches them on. Switching them on needs health alerts to be on, and the change is recorded.
A signed call to your own tool
ResolveDesk sends the alert details to your address, signed with a secret that is shown once, so your tool can check where the call came from. Your tool must verify the signature itself.
A fixed list of safe actions
System information, disk usage, the heaviest processes, clean up temporary files, restart the agent, and for direct use restart, shut down and list running programs. Cleanup deletes only files older than seven days inside folders literally named tmp or temp.
Approval where it matters
Actions that change the computer wait for approval, and a request expires after 24 hours.
Limits and a check afterwards
A daily limit per action, a cooldown per computer, and a check after a few minutes that says whether the alert resolved. The result is written on the incident.
Every run recorded
Runs and their steps are kept in an unchangeable history with who approved what.
Agents that update themselves
A computer's agent checks for a newer version, verifies it and replaces itself. Agents older than 1.2.0 cannot do this and need the install command run once more.
How it works
From first step to done
- 1
Turn on health alerts
Under Device monitoring, Reporting and alerts, switch on alerts so a computer's condition raises an incident.
- 2
Open Automated remediation
Choose Automated remediation in the main menu and switch on the master switch.
- 3
Create an action
Choose which alert starts it, whether it calls your tool or runs a safe action on the computer, its limits and when to check the result.
- 4
Approve what changes a computer
Requests that change a computer appear under Waiting for approval. Approve or reject them.
- 5
Read the runs
Recent runs shows what happened and whether the alert cleared.
Who does what
People and access
- People who can manage integrations, normally Administrators and the Organisation Owner, switch remote actions on and create actions.
- People with the approval permission approve or reject runs that change a computer.
Honest about the edges
What automated remediation does not do yet
- Actions reach a computer with its next report, which can take up to about 15 minutes. If it does not arrive in time the run fails.
- An alert that a computer is offline cannot start an action on that computer, because it cannot receive one.
- There are no custom scripts, by design. Only the fixed list can run on a computer.
- Your tool must check the signature on calls it receives. ResolveDesk has not been run against a receiver of its own.
- The restart and shutdown buttons were checked on macOS and Ubuntu; Windows has not been checked by hand.
Learn more
Step-by-step guides
- How to set up automated remediationSwitch on remote actions, create an action for an alert, approve what changes a computer, and read the runs.
- How to monitor computers with the install linkCreate the install link, run one command on a Mac, Linux or Windows computer, see it on the Device monitoring page, and give it to a new owner later.
Automated remediation: questions people ask
Can it run any script on our computers?
No. The agent carries out only the actions on its fixed list and refuses anything else, so a mistake or a stolen request cannot run arbitrary commands.
Is it on by default?
No. It stays off until an administrator switches it on, and it needs health alerts.
What happens if a fix does not work?
The check after a few minutes records that the alert did not clear, and that is written on the incident so a person can take over.
Keep exploring
More in Automation and quality
See automated remediation working
Open the shared demo organisation as any role, or start a free trial of your own.