---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Install ACC on a Linux system

# Install Agent Client Collector on a Linux system {#ariaid-title1}

* Release version: Yokohama
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read

Install Agent Client Collector using a package distribution tool. Before that, you can manually install the Agent Client Collector on a few machines to verify that your agents contain the correct policies and checks.

## Before you begin

* Ensure that the Agent Client Collector Listener is configured on your MID Servers, and the service is available from your target hosts, see [Configure the websocket server on the MID Server](https://servicenow-prod.fluidtopics.net/Nhz4taSWhPBGMQb4g~EIQg "Configure the websocket server on MID Servers to enable connections from agents to the MID Server. You can configure only one websocket server per MID Server.").
* Verify that your server's OS and version is supported. For a list of supported OS's and versions, see [ServiceNow Store Page](https://store.servicenow.com/store/app/bc09636e1be06a50a85b16db234bcbd1).
* Verify whether there are restrictions or requirements to be aware of during deployment, such as specifying an account other than the default servicenow account. For more information about embedding the agent into your own automated system, see [ITOM Agent Client Collector documentation
  material \[KB1122613\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1122613).
* Ensure that the MID Server and its MID Web Server and ACC Websocket Endpoint extensions are up and running.
* Enable golden image mode for cloning additional agents by setting the golden image marker located at /tmp/acc-goldenimage. The golden image marker takes no action during new Linux installations, as there is nothing which requires cleaning.
* Retrieve the MID Server ACC Listener information to be specified in the agent's backend-url parameter.
  1. Navigate to AllAgent Client CollectorDeploymentMID Servers.
  2. Select a MID Server.
  3. Select the ACC Websocket Endpoints tab.
  4. Select a websocket endpoint.
  5. Copy the value in the Endpoint URL field.
  {#install-acc-linux__ol_wpd_4bj_pvb}
* Retrieve the MID Server API key specified in the agent's api-key parameter.
  1. Navigate to AllAgent Client CollectorDeploymentMID Web Server API Key.
  2. Select the API key you want to use.
  3. In the Related Links section, select View API key.
  4. Copy the API key value and close the pop-up window.
  {#install-acc-linux__ol_i4d_4dj_pvb}
{#install-acc-linux__ul_cvh_2z3_pvb}

Role required: agent_client_collector_admin

## About this task

During Linux installation (and upgrade), the agent executable file is enabled with Linux capabilities (CAP_SETFCAP, CAP_SETPCAP) by default. Store apps such as Agent Client Collector Log Analytics (ACC-L) can use this to grant capabilities to read the entire
file system (CAP_DAC_READ_SEARCH). The system undergoes various security measures, such as double verification of the content origination, leveraging the plugin verification process and more, to ensure that granting capabilities
does not pose a security risk. This procedure assumes that you are familiar with commands for Linux capabilities.

To opt out of these enhanced capabilities, run the following commands, based on your Linux OS/packaging system:
{#install-acc-linux__table_zgx_pfw_vcc__entry__2}

| OS/Packaging System | Commands |
|-|-|
| RPM | `ACC_SKIP_CAPS=true yum / dnf localinstall` `ACC_SKIP_CAPS=true rpm -vi agent-client-collector-<version number>-x86_64.rpm` |
| Debian | `ACC_SKIP_CAPS=true apt-get install` `ACC_SKIP_CAPS=true dpkg -i agent-client-collector-<version number>-<distro>_amd64.deb` |
| SLES | `ACC_SKIP_CAPS=true zypper install` |
[Table 1. Linux enhanced capability opt-out commands]

{#install-acc-linux__table_zgx_pfw_vcc}

## Procedure

1. Download the relevant installation packages.
   * For manual installation:
     1. Navigate to Agent Client CollectorDeploymentAgent Downloads.
     2. Download the relevant .rpm or .deb installation file.
     3. Download the relevant signature files to validate the installation files.
     {#install-acc-linux__ol_adz_cfj_pvb}
   * For command-line installation, run the following commands to download both the signature and installation files to your local machine:

         curl -LO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-<version_number>-x86_64.rpm
         curl -LO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-<version_number>-x86_64-rpm-rpm.zip

     Note:  
     Each curl command must appear on a single line.
   {#install-acc-linux__choices_t4l_52j_pvb}
2. **Optional:** Verify the package signature.
   1. Extract the installation file (if it is compressed) by running the following command:  
      `unzip
      agent_client-collector-<version_number>-x86_64-rpm-rpm.zip`
   2. Validate the installation file signature by running the indicated commands.  
      * On an RPM-based system:  

            openssl dgst -sha256 -verify {<ServiceNow DGST pem key>} -signature {<signature file>} agent-client-collector-<version number>-x86_64.rpm

        Where `<ServiceNow DGST pem key>` is the .pem file extracted from the .zip file, and `<signature file>` is the
        .bin file extracted from the .zip file.  
        For example:

            $ curl -sLO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-3.0.0-x86_64.rpm
            $ curl -sLO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-3.0.0-x86_64-rpm-rpm.zip
            $ unzip agent-client-collector-3.0.0-x86_64-rpm-rpm.zip
            Archive: agent-client-collector-3.0.0-x86_64-rpm-rpm.zip
            inflating: ServiceNow_Digicert_DGST.pem
            extracting: agent-client-collector-3.0.0-x86_64.bin
            $ openssl dgst -sha256 -verify ServiceNow_Digicert_DGST.pem -signature agent-client-collector-3.0.0-x86_64.bin agent-client-collector-3.0.0-x86_64.rpm
            Verified OK

        Note:  
        Each command must appear on a single line.
      * On a Debian-based system:`gpg --import ServiceNow_Digicert_Public.gpg`

        `sudo gpg --verify agent-client-collector-<version
        number>-<distro>_amd64.deb`  
        For example:

            $ curl -sLO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-3.0.0-debian-9_amd64.deb
            $ curl -sLO https://install.service-now.com/glide/distribution/builds/package/app-signed/agent-client-collector-3.0.0-debian-9_amd64-deb-deb.zip
            $ unzip agent-client-collector-3.0.0-debian-9_amd64-deb-deb.zip
            Archive: agent-client-collector-3.0.0-debian-9_amd64-deb-deb.zip
            extracting: ServiceNow_Digicert_Public.gpg
            $ gpg --import ServiceNow_Digicert_Public.gpg
            gpg: /home/admin/.gnupg/trustdb.gpg: trustdb created
            gpg: key 985DD52C6A0ABB45: public key "ServiceNow, Inc. (Signing) <seceng@servicenow.com>"
            imported
            gpg: Total number processed: 1
            gpg: imported: 1
            $ dpkg-sig --verify agent-client-collector-3.0.0-debian-9_amd64.deb
            Processing agent-client-collector-3.0.0-debian-9_amd64.deb...
            GOODSIG _gpgbuilder 9B928FB49771DF6C047430DD985DD52C6A0ABB45 1665054068

        Note:  
        Each command must appear on a single line.
      {#install-acc-linux__ul_jpv_tw4_pvb}
   {#install-acc-linux__substeps_pmf_l54_pvb}
3. Install the Agent Client Collector package using the package manager associated with Linux distribution.  
   {#install-acc-linux__table_oqf_1bp_pvb__entry__2}

   | OS | Command |
   |-|-|
   | RHEL-based | `yum / dnf localinstall` |
   | SLES | `zypper install` |
   | Debian-based | `apt-get install` |
   [ ]

   {#install-acc-linux__table_oqf_1bp_pvb}

   Alternatively, if these commands aren't configured correctly, you can use the core commands that are configured to run with the package manager commands.
   * RPM-based system: `# rpm -vi agent-client-collector-<version number>-x86_64.rpm`
   * Debian-based system: `# dpkg -i agent-client-collector-<version number>-<distro>_amd64.deb`

   {#install-acc-linux__ul_zcn_2dp_pvb}

   Verify that the package commands are configured correctly with your system administrator.  
   Note:  
   Some file systems may have restrictions enabled; for example, /var/ may be mounted with a noexec flag. Because the agent must execute Agent Client Collector plugins that are normally stored in the /var/cache directory, you must deploy the application into specific folders by customizing the installation paths using the --relocate option as an .rpm parameter.

   For example: `rpm -i --relocate /var/cache=/opt/cache agent-client-collector-<version_number>-x86_64.rpm`
   The following paths can be relocated:{#install-acc-linux__table_mjp_j2p_pvb__entry__2}

   | Path | Notes |
   |-|-|
   | /etc | When updating, you must also update the allow-list parameter in the acc.yml file with the new path. |
   | \<usr share location\>/usr/share | N/A |
   | \<cache dir location\>/var/cache | Updating the /var directory retains all /var subdirectories, nested under the new directory. |
   | /var/log | Updating the /var directory retains all /var subdirectories, nested under the new directory. |
   | /var/run | Updating the /var directory retains all /var subdirectories, nested under the new directory. |
   | /var | Updating the /var directory retains all /var subdirectories, nested under the new directory. |
   [ ]

   {#install-acc-linux__table_mjp_j2p_pvb}

   After relocating an installation path, update the relevant `ACC_UPGRADE_CMD` string described in step [7](https://servicenow-prod.fluidtopics.net/gnStIIij9QHlEGg9eHnQWA#install-acc-linux__step7).

   Review the paths in /usr/lib/systemd/system/acc.service to ensure that they appear as expected.
4. When installing a .deb package, configure the agent's acc.yml configuration file.
   1. Copy the sample configuration file by running the following command.  
      `# cp -p /etc/servicenow/agent-client-collector/acc.yml.example /etc/servicenow/agent-client-collector/acc.yml`
   2. Rename the allow list file.  
      `# cp -p /etc/servicenow/agent-client-collector/check-allow-list.json.default /etc/servicenow/agent-client-collector/check-allow-list.json`

   {#install-acc-linux__substeps_ehc_nfp_pvb}  
   Note:  
   This step is not relevant for .rpm packages, which come with acc.yml and check-allow-list.json files included in the base system.
5. Update the configuration file, adding check-allow-list.json to /etc/servicenow/agent-client-collector and copying the backend-url and api-key from the instance.  
   For example:

       ---
       # Agent Client Collector configuration
       backend-url:
        - "wss://YOUR_MID_ENDPOINT_HERE:YOUR_MID_PORT_HERE/ws/events"
       api-key: "YOUR_API_KEY_HERE"
       log-level: "info"
       insecure-skip-tls-verify: false
       allow-list: /etc/servicenow/agent-client-collector/check-allow-list.json
       verify-plugin-signature: true
       max-running-checks: 10
       disable-sockets: true
       disable-api: true
       statsd-disable: true
       enable-auto-mid-selection: false
       agent_cpu_threshold:
        cpu_percentage_limit: 25
        repeated_high_cpu_num: 3 
        monitor_interval_sec: 60
        agent_cpu_threshold_disabled: false

   The allow-list feature, indicating the commands permitted to be executed by the agent, is enabled.
6. Configure sudoers.  
   Configuration is typically automated by your Linux sysadmin. To manually configure ensuring correctness before full configuration, run the following to create a new sudoers file for the agent service user:

   `visudo -f /etc/sudoers.d/01_servicenow`
7. Add the sudoers configuration according to your Linux distribution.  
   * When installing agents on a deb/ubuntu system, run the following:

         User_Alias ACC_USERS = servicenow
         Cmnd_Alias ACC_CMD = /usr/sbin/dmidecode -s baseboard-serial-number,/usr/sbin/dmidecode -s chassis-serial-number,/usr/sbin/dmidecode -s system-serial-number,/usr/sbin/dmidecode -s system-uuid,/usr/sbin/ss -tanp,/usr/bin/systemctl start 
         acc,/usr/bin/systemctl stop acc,/usr/bin/dpkg --install --refuse-downgrade --skip-same-version /var/cache/servicenow/agent-client-collector/upgrade/agent-client-collector-upgrade*
         Cmnd_Alias ACC_CMD_SETENV = /usr/bin/netstat -ltnup,/usr/bin/ls -l /proc/*,/usr/bin/cat /proc/*
         ACC_USERS ALL = (root) NOPASSWD:ACC_CMD
         ACC_USERS ALL = (root) NOPASSWD:SETENV:ACC_CMD_SETENV
         Defaults:ACC_USERS !requiretty

         Cmnd_Alias ACC_UPGRADE_CMD = /usr/bin/systemd-run --unit=acc-upgrade --collect /usr/share/servicenow/agent-client-collector/embedded/bin/ruby /var/cache/servicenow/agent-client-collector/acc-f-commons/bin/linux_run_upgrade.rb /usr/bin/dpkg\ --install\ --refuse-downgrade\ --skip-same-version /var/cache/servicenow/agent-client-collector/upgrade/agent-client-collector-upgrade.deb /usr/bin/systemctl\ start\ acc /usr/bin/systemctl\ stop\ acc /usr/bin/systemctl\ daemon-reload /var/log/servicenow/agent-client-collector/upgrade.log *
         ACC_USERS ALL = (root) NOPASSWD:ACC_UPGRADE_CMD

   * When installing agents on an RPM system, run the following:

         User_Alias ACC_USERS = servicenow
         Cmnd_Alias ACC_CMD = /usr/sbin/dmidecode -s baseboard-serial-number,/usr/sbin/dmidecode -s chassis-serial-number,/usr/sbin/dmidecode -s system-serial-number,/usr/sbin/dmidecode -s system-uuid,/usr/sbin/ss -tanp,/usr/bin/systemctl start 
         acc,/usr/bin/systemctl stop acc,/usr/bin/rpm -Uv /var/cache/servicenow/agent-client-collector/upgrade/agent-client-collector-upgrade.rpm
         Cmnd_Alias ACC_CMD_SETENV = /usr/bin/netstat -ltnup,/usr/bin/ls -l /proc/*,/usr/bin/cat /proc/*
         ACC_USERS ALL = (root) NOPASSWD:ACC_CMD
         ACC_USERS ALL = (root) NOPASSWD:SETENV:ACC_CMD_SETENV
         Defaults:ACC_USERS !requiretty

         Cmnd_Alias ACC_UPGRADE_CMD = /usr/bin/systemd-run --unit=acc-upgrade --collect /usr/share/servicenow/agent-client-collector/embedded/bin/ruby /var/cache/servicenow/agent-client-collector/acc-f-commons/bin/linux_run_upgrade.rb /usr/bin/rpm\ -Uv /var/cache/servicenow/agent-client-collector/upgrade/agent-client-collector-upgrade.rpm /usr/bin/systemctl\ start\ acc /usr/bin/systemctl\ stop\ acc /usr/bin/systemctl\ daemon-reload /var/log/servicenow/agent-client-collector/upgrade.log *
         ACC_USERS ALL = (root) NOPASSWD:ACC_UPGRADE_CMD

   {#install-acc-linux__ul_vvt_kxm_p3c} {#install-acc-linux__step7}
{#install-acc-linux__step7}
8. Configure the agent to run as a service.
   1. Safeguard resource consumption by adding the indicated values to the /usr/lib/systemd/system/acc.service file.  
      * CPUShares=128
      * CPUQuota=10%
      * MemoryLimit=192M
      * BlockIOWeight=10
      * LimitNICE=15

      {#install-acc-linux__ul_eyh_msp_pvb}

      For example:

          # vi /usr/lib/systemd/system/acc.service
          [Unit]
          Description=Agent-Now acc
          After=network-online.target
          [Service]
          Environment=AGENT_ROOT=/usr/share
          Environment=AGENT_CACHE_ROOT=/var/cache
          Environment=AGENT_CONFIG_ROOT=/etc
          Environment=AGENT_LOG_ROOT=/var/log
          Environment=AGENT_RUN_ROOT=/var/run
          Environment=RUBYOPT=-Eutf-8
          User=servicenow
          Group=servicenow
          ExecStart=/usr/share/servicenow/agent-client-collector/bin/acc-service start acc
          KillMode=process
          Restart=on-failure
          RestartSec=1min
          CPUShares=128
          CPUQuota=10%
          MemoryLimit=192M
          BlockIOWeight=10
          LimitNICE=+15
          [Install]
          WantedBy=network-online.target

   2. Run the reload daemon command If you modified the service file after enabling the acc service.  
      `# systemctl daemon-reload`
   3. Enable and start the service by running the following commands.  
      `# systemctl enable acc`

      `# systemctl start acc`
   {#install-acc-linux__substeps_v55_ry1_rvb}
{#install-acc-linux__steps_kgm_ck4_fwb}

*[\>]: and then


