5.5 Managing multiple agents
If you look after many machines, select them together in the agent list and run updates, status queries, and plan assignments in one go. All bulk actions need the Operator role.
Selecting machines
Use the checkboxes on the left of the list to select machines. The selection is kept while you page, search, or change the status filter, until you clear it with Clear or a bulk action consumes it (after Update, the selection is cleared). Revoked machines cannot be selected.
Control | Effect |
|---|---|
Checkbox of a row, Select in the context menu | Adds a machine to or removes it from the selection. |
Checkbox in the table header | Selects all machines on the current page; click again to deselect them. |
select all | Selects all machines of the current filter, across all pages. |
select outdated | Selects only the machines of the filter whose agent does not match the current package. If there are none, you see "No outdated agents in this filter". |
Select all n | Appears in the bar once something is selected; selects all n machines of the filter. |
Clear | Clears the selection. |
Above the list, the bar shows how many machines are selected and offers the bulk actions. Without a selection it says "Select agents for updates and plans, or select all".
Bulk actions
Button | Effect |
|---|---|
Update (n) | Installs the current agent package on the selected outdated machines (n is their number; without outdated machines the button is disabled: "All selected agents run the current package"). Online agents start at once, and each gets its own run. |
offline: on connect | On by default. Machines that are turned off have the update queued and receive it as soon as the agent connects again. Without the check mark, offline machines are skipped ("Agent is offline"). |
Refresh status | Asks all selected online machines for disks, workloads, and VMs. The message says for how many it worked and how many offline machines were skipped. |
Add planโฆ | Creates one job per selected machine from a template plan (see below). |
Select all n, Clear | Extend or clear the selection. |
The toolbar also has Update outdated. It is independent of the selection: it updates every online agent in the whole system whose program differs from the package. Right-clicking a checked machine opens a menu with the same actions for the whole selection (Update โฆ outdated, Refresh status, Add planโฆ, Clear selection).
Updating agents
The sequence on the machine (signature check, swap, rollback) is in section 5.1 How an agent works. For distribution, this matters:
After a server update the list shows Update or outdated for older agents. An agent counts as outdated when the checksum of its program does not match the server's package for its platform.
select outdated selects them; Update starts.
The server briefly reports how many updates were started or queued and which machines were skipped, with the reason: unknown, blocked (revoked), offline, no package for the platform. Machines that are already current count as "already current".
Every update appears in Runs as its own run. For a single agent the log opens right away. If the new version does not start, the agent restores the old one by itself.
A package older than the running agent is not installed unless an administrator explicitly asks for it (API only, chapter 12 Automation and Deployment). New functions need new agents: the agent reports its capabilities when it connects, and the interface offers only what is supported.
A queued update shows update queued in the list; click it (or Cancel queued update in the context menu) to cancel the queuing.
Distributing plans to several machines
Example: /etc should be backed up daily on all Linux servers.
Open Agents and check the Linux servers (or select all if the filter fits).
Click Add planโฆ in the bar. The dialog is titled "Add a plan to n agents".
Choose the Plan, for example "Linux: /etc". The list shows the template plans with their operating system.
Choose the Repository of the new jobs. If the plan has a default repository, the field is disabled ("The plan has a default repository").
Click Check. For each machine you see job created (only when really creating), an error (โ), or a warning (!). Machines with another operating system than the plan, machines that already have the plan, and machines with the same database are refused. Overlapping folders only warn.
Add creates the jobs. If there are warnings, the button reads Add anyway.
Each machine gets a job "machine - plan", for example "web01 - Linux: /etc". If you change the plan later (paths, schedule, retention), all these jobs change with it (chapter 07 Schedules and Plans). The same function exists for a single machine under Plans โ Add plansโฆ in the details (section 5.3 Agent list and details).