Zoomed Image

Agent Roles

Endpoint Management Guide

Managing the Agent

Agent Roles

A role is a standing job that an agent runs on a schedule. Two roles exist: Performance Monitoring and Outside-in Monitoring. You add computers to a role, and xAssets deploys the role's schedule to them. Membership is the switch: a member gets the schedule, and a computer that leaves has it withdrawn.

Role Menu What the agent does
Performance Monitoring Manage > Performance Role Samples CPU, memory, disk and page file use every 5 minutes and checks each reading against the thresholds
Outside-in Monitoring Manage > Probe Station Role Tests other computers' TCP ports from the network every 60 minutes and reads their TLS certificates. A member is called a probe station

Endpoints > Endpoint List > select computers > Manage > Performance Role or Probe Station Role.

The dialog

The dialog is titled Performance Monitoring Role or Outside-in Monitoring Role. The menu fills in every field.

Field What it does Default
Computer Names The computers to add or remove The selected computers
Role The role name performance monitoring or outside-in monitoring
Action add adds the computers to the role. remove takes them out add
Reconcile 1 deploys and withdraws at once. 0 leaves it to the hourly routine job 1

To take a computer out of a role, change Action to remove and click OK.

Performance Monitoring Role dialog with DEVDC in Computer Names, Role performance monitoring, Action add and Reconcile 1

After you click OK

The membership change runs at once. A result box shows the outcome, for example "Role 'Performance Monitoring' add for DEVDC - now 3 member(s)".

When the fourth field is 1, xAssets then compares the members with the computers that have the role:

  • A member with no recent evidence of the role gets a deploy run. The runs are named Deploy Performance Monitoring and Deploy Outside-in Monitoring.
  • A computer that has the role and is no longer a member gets a withdraw run.

Evidence means a reading from the role within its window: 3 hours for performance, 48 hours for probes. A successful deploy run since the last withdraw also counts. Deploy and withdraw runs appear on Activity > Jobs like any other action.

A routine job repeats the comparison every hour. A computer that misses a deploy because it was offline gets it on a later hour. See Routine Jobs.

Eligible members

Only in-service assets in a PC or server category are added. Other computer names in the list are skipped. Members need the agent, because the agent runs the schedule.

Performance Monitoring

Each member samples every Performance sampling interval minutes (default 5). It compares each reading with Performance thresholds:

Measure Warning Critical
cpu (%) 85 95
memory (%) 90 97
disktime (%) 85 95
pagefile (%) 80 95
diskqueue (queue length) 2 5

For one reading on demand, use Fetch > Current Performance. See Current Performance.

Outside-in Monitoring

Each probe station tests every target every Outside-in probe interval minutes (default 60).

  • Targets come from Outside-in probe targets. Blank means every in-service PC and server. A station probes at most 200 targets in one run.
  • Ports come from Outside-in probe TCP ports. The default is 3389,445,5985,135,22,80,443,1433,3306,5900,8080,44320,44399.
  • The station reads the TLS certificate on ports 443, 3389, 44320 and 44399.

The routine job Outside-in Assessment runs daily at 06:45 UTC. It compares the latest probe of each target with what that target reports about itself. It records findings in Security > Findings:

Finding Raised when
Exposure conflict The target's enforced baseline blocks inbound traffic except declared ports, yet the station reached an undeclared port
Reachability closed An enforced baseline declares management ports, and the station reached none of them
Reachability invisible The target has no baseline and reported within the hour, but nothing answered the station
Certificate expiring or expired A certificate the station read expires within 30 days, or has expired

A later pass resolves the finding. For one probe on demand, use Fetch > Check Open Ports From Selected Computer. See Check Agent Connection and Check Open Ports.

Undo

Withdrawing is the undo for a deploy. Remove the computer from the role, or run the withdraw from Activity. Readings missed while a role was withdrawn do not come back.

Key points

  • Choose probe stations in different network segments. A station tests only what its own network can connect to.
  • Interval, thresholds, targets and ports are fixed when the role is deployed. After changing a setting, remove and re-add the members to deploy the new values.
  • Settings: see Endpoint Settings.