Agent Client Collector Monitoring, usually shortened to ACC-M, is the ServiceNow application that runs checks on your servers and applications and sends results to the instance through a MID Server. This page covers the data path, resource use, default checks, MID Server enablement and the properties that control behavior.
How ACC-M moves data from a host to the instance
ACC-M is built on the Sensu framework, so it can adopt and extend monitoring checks written for the Sensu framework and Nagios-compatible plugins. Checks and policies run on the agent, on the host itself. Each check turns raw host data into an event, which is an alert-style record with a severity, or into a metric, which is a numeric value tracked over time. The agent sends both through a MID Server, and the instance stores them in the relevant database. For the wider concept, see the MID Server explainer.
| Component | Role in ACC-M |
|---|---|
| Agent | Runs checks and policies and collects host data |
| MID Server | Carries events and metrics, and can serve more than one agent type |
| ServiceNow instance | Stores configuration item data, events and metric data |
| Metricbase (Clotho DB) | Needs a separate configuration request beyond the application install |
After installation, the agent collects information on its host and the processes running on it. The instance then creates configuration item records in the CMDB for the host and for applications it classifies from those processes, and events raised by checks go to the events table. If a host shows no check results, collection status is the first thing to read. If you are still deciding how discovery and agent-based monitoring fit together, the comparison of Discovery, Service Mapping and the Agent Client Collector is the next read.
Resource footprint on Linux and Windows hosts
The footprint figures come from two reference machines in the Brazil release: a CentOS 8 host with four CPU cores and 8 GB of memory, and a Windows Server 2019 host with two CPUs and 4 GB of memory. Use the reference figures below as a starting point and measure your own hosts before sizing a rollout.
| Measure | Linux test host | Windows test host |
|---|---|---|
| Network, agent to MID Server | About 10.64 KB/s | About 350 to 400 bytes/s |
| Network, MID Server to agent | About 48 bytes/s | About 5 to 15 bytes/s |
| Average CPU utilization | About 1% | About 3.89% |
| Maximum CPU per check | 10 to 15% | 15 to 20% |
| Average memory overhead | About 13.88 MB | About 31.15 MB |
Reading the table is a judgment. The Windows agent costs more CPU and memory per host, while the Linux agent sends far more data toward the MID Server. The per-check peak is the number to plan around, so a heavy check set on a small machine is usually where contention appears first. For MID Server capacity alongside the agent figures, see the MID Server requirements and sizing guide.
CPU protection mode
When CPU use on a device climbs too high, the agent switches into CPU protection mode automatically. The default trigger is agent CPU use above 5 percent in three consecutive 60-second monitoring intervals, and Windows event and metric checks need that limit raised to 10. With the default cpu_protection_behavior setting of all, every check on the agent is disabled and data collection pauses. The agent writes the protection state to its logs, and the disabled checks are listed on the Disabled Checks tab of the agent record. Recovery is manual: find what drove the CPU use, reduce it, then re-enable the disabled checks from the Disabled Checks tab of the agent record using the Re-enable disabled check action. A large check set on a small Windows server can push agent CPU use over the protection limit, so check host load before you add more checks.
Default checks and policies by platform
The default checks are a starting library, and you can edit them as needed, including their thresholds and parameters. It helps to read the library by platform.
| Platform | What the default checks watch | Example check |
|---|---|---|
| Linux host | Process count, CPU, load, disk, memory, swap, threads, uptime and network interfaces | os.linux.check-system-disk-usage |
| Linux logs | Log files owned by a regular user, and by root through sudo | util.check-logs-sudo |
| Windows host | Event log thresholds, services, user accounts, file changes, patch status, page file and processes | os.windows.check-event-log |
| MID Server | MID active state, errors in the MID log, and MID statistics | app.mid.check-active |
| HTTP endpoints | A 200 response with an optional pattern, a redirect limit, and curl metrics | util.check-http-response |
| Applications | Apache, IIS, Nginx, MySQL, MsSQL, PostgreSQL, MongoDB, Kafka, RabbitMQ, Varnish, JBoss/WildFly, Kubernetes and vSphere | k8s.check-kube-pods-restarting |
| Cloud | Azure Kubernetes services, Azure virtual machines and Google Compute Engine | azure.metrics-vm-cpu |
Some checks reward a closer look. Windows service checks count RUNNING as the one healthy state. File hash and file update checks need read permission on the watched file. The Windows environment variable check needs an agent restart to see variables created after installation. For log monitoring in more depth, see Agent Client Collector log analytics.
Kubernetes checks have their own thresholds. Pending pods time out at 300 seconds by default, and the restart check defaults to a count of 10. Checks for databases and API-backed services need database grants, API roles or OS-level access. Confirm those on the host before you enable the check.
Enabling ACC-M on a MID Server
Enabling ACC-M on a MID Server is one action that configures the Agent Client Collector framework (ACC-F) and the Metric Intelligence extensions together. It also turns on monitoring for agents connected to that MID Server. The role required is evt_mgmt_admin. For getting the agent onto a server or endpoint, see the agent installation guide.
- Go to All > Agent Client Collector > MID Servers.
- Open the MID Server you want to use.
- In Related Links, select Setup ACC Monitoring.
- Enter the port number in the MID Web Server Port field of the dialog.
The port prompt appears only on the first ACC Monitoring setup. Enabling is the first step, not the whole job. In the Brazil release, further configuration covers choosing and configuring the metrics to monitor, and setting the anomaly detection action level with the anomaly_detection_action_level configuration setting in a configuration settings rule. Varnish checks run only after the varnishstat application CI is discovered through Application Fingerprints and a basic discovery runs on the host. HAProxy metrics need a stats page added to the HAProxy configuration file and a restart of HAProxy. Creating a policy for Azure cloud metrics takes a .json script that sets which metrics are monitored. The operational metrics guides hub lists the rest of this series.
Controlling noise, pausing and verifying collection
Blocking events for missing processes, services and logs
Some checks raise an event when the thing they watch is absent. The skip_events_for_nonexistent parameter stops that. Its default is false, so notices still go out for missing entities. Set it to true on a check to stop event creation when the process, service or log cannot be found. To change it, open Agent Client Collector > Configuration > Check Definitions, locate the check, select skip_events_for_nonexistent on the Check Parameter Definitions tab, and tick Active. The role required is agent_client_collector_admin.
Pausing collection on a host
When CPU consumption on a server gets too high, you can pause collection by hand. Pausing stops all checks except the agent’s keep-alive messages. Go to All > Agent Client Collector > Agents, select the agent rows, and choose Pause data collection from the Actions on selected rows menu. Resume data collection reverses it.
Verifying host data collection
Open All > Agent Client Collector > Agents and check the Host Data Collection column. A green Collected icon indicates successful collection for that agent. Run this check after enabling monitoring, and again when a host goes quiet. If the problem looks like the MID Server rather than the host, see the MID Server troubleshooting guide.
System properties that shape behavior
| Property | Type | Default | What it controls |
|---|---|---|---|
| sn_itmon.enable_auto_alert_closing | String | true | Closes alerts once no policy or check monitors the item any more |
| sn_itmon.increased_threshold_for_proxy_agent | Integer | 30 | Extra checks a proxy agent can run beyond the non-proxy limit |
With auto-closing at true, an alert clears when the policy or check that raised it no longer covers the item. Proxy agents can run additional checks beyond the limit for a standard agent, so this threshold matters once you deploy them.
In the Brazil release, anomaly detection excludes metrics from configuration items in maintenance mode from model learning by default. Two system properties control this: sa_metric.maint_exclusion (default true) applies the exclusion, and sa.model_learner.maint_event_record_history_enabled (default true) records when items enter and leave maintenance.
Frequently asked questions
Does ACC-M need a separate MID Server for each agent type?
No. A MID Server can serve several agent types, including ACC-M and ACC-L. Enabling ACC-M on a MID Server also turns on monitoring for the agents connected to it.
Why does a host show no check results?
Start with the Host Data Collection column. A green Collected icon confirms that host data was gathered, and checks run after that step. If checks are not running, the agent may be in CPU protection mode, and the Disabled Checks tab on the agent record lists what was switched off. Off (manual) in the Data Collection status means someone paused collection by hand, and Resume data collection reverses it.
Why do I get an alert when a process, service or log file is missing?
The skip_events_for_nonexistent parameter defaults to false, so missing entities still raise notices. Setting it to true on the relevant check stops event creation for processes, services and log files that cannot be found.
What CPU should I plan for?
Plan around the per-check peak rather than the average. The Brazil reference values show about 1% average CPU on a Linux host and about 3.89% on a Windows host, with 10 to 15 percent per check on Linux and 15 to 20 percent on Windows. Measure your own hosts before sizing a rollout.