> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/sonar/administration/automation.md). Agents can also search and read this documentation through its [MCP server](https://wiki.datadike.com/~gitbook/mcp).

# Automation

| Page                                                                                                                           | What it covers                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Script library](https://wiki.datadike.com/sonar/administration/automation/scripts.md)                                         | Build and maintain the script library under Management › Scripts: create, upload, clone, test, favorite, hide and download scripts, and reuse code with snippets.                          |
| [Run a command or a script on a device](https://wiki.datadike.com/sonar/administration/automation/run-commands-and-scripts.md) | Send a shell command or run a library script on one device, choose what happens to the output, and find every run in the device's History tab.                                             |
| [Run actions across many devices](https://wiki.datadike.com/sonar/administration/automation/bulk-actions.md)                   | Send one command, one script or one patch action to every device of a client, a site, a hand-picked list or your whole scope, filtered by operating system and device type.                |
| [Automated tasks](https://wiki.datadike.com/sonar/administration/automation/automated-tasks.md)                                | Schedule scripts and commands on a device or through a policy: triggers, actions, collector tasks, run now, how Windows and Linux/macOS schedule them, and where the results appear.       |
| [Checks](https://wiki.datadike.com/sonar/administration/automation/checks.md)                                                  | Monitor devices with checks (CPU load, disk space, memory, ping, Windows service, event log, script): thresholds, failure counts, intervals, run now, reset, run history and alerts.       |
| [Automation policies](https://wiki.datadike.com/sonar/administration/automation/automation-policies.md)                        | Group checks, tasks, a patch policy and an alert template into an automation policy, assign it to clients, sites or devices, and control inheritance, precedence and exclusions.           |
| [Alerts and alert templates](https://wiki.datadike.com/sonar/administration/automation/alerts.md)                              | Work with alerts raised by overdue devices, failing checks and failing tasks, and configure alert templates: channels, severities, resends, actions, exclusions and where templates apply. |
