Install MID-less Agent Client Collector manually in a macOS environment

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:5分
  • Install MID-less Agent Client Collector manually on a macOS machine to enable sending data from the agent to the instance through the cloud. Sending information through the cloud allows the MID Server to be used for more persistent resources.

    始める前に

    • Install the ITOM Cloud Services Core (sn_itom_cloud_svc) plugin.
    • Onboard your instance to use ITOM Cloud Services. For details, contact Customer Support.
    • Configure an agent registration key. For details, see Configure an agent registration key.
    • Role required: agent_client_collector_admin

    このタスクについて

    For details on sending data through the cloud in a MID-less deployment, see DEX Architecture.

    手順

    1. Download the installation files to your local machine.
      curl -L <download link from the Agent Downloads page on the instance>
    2. Validate the installation file signature.
      pkgutil --check-signature agent-client-collector-<version number>-macos-catalina_x64.pkg
      注:
      Ensure that the pkg certificate chain has the ServiceNow developer ID installer certificate.
    3. Install the Agent Client Collector package.
      sudo installer -pkg agent-client-collector-<version number>-macos-catalina_x64.pkg -target /
    4. Copy the installation files.
      1. Sample configuration file:
        sudo cp -p /Library/Application\ Support/servicenow/agent-client-collector/acc.yml.example /Library/Application\ Support/servicenow/agent-client-collector/acc.yml
      2. Sample allow list file:
        sudo cp -p /Library/Application\ Support/servicenow/agent-client-collector/check-allow-list.json.default /Library/Application\ Support/servicenow/agent-client-collector/check-allow-list.json
    5. オプション: To create new check definitions to be included in the allow list, first disable the allow list by commenting out the allow-list parameter in the acc.yml file.

      sudo -H -u _servicenow vi /Library/Application\ Support/servicenow/agent-client-collector/acc.yml

      注:
      This action compromises your system's security and is recommended only as a temporary measure until you finish updating the allow list. After completing the update, uncomment the allow list parameter in the configuration file to re-activate the allow list.

      For details on adding custom checks to an allow list, see Generate an Agent Client Collector allow list.

    6. In the acc.yml configuration file:
      1. Set the following parameters:
        Parameter Value
        backend-url "<gateway URL>"
        connect-without-mid true
        instance-url "<instance URL>"
        registration-key "<regsitration-key>"
        insecure-skip-tls-verify false
      2. Comment out the api-key parameter.
    7. Save the configuration file.
    8. To ensure that the configuration file points to a valid endpoint, run the following commands to restart the Agent Client Collector:
      sudo launchctl unload -w /Library/LaunchDaemons/com.sn.acc.plist
      sudo launchctl load -w /Library/LaunchDaemons/com.sn.acc.plist
      注:
      By default, exiting the installation program causes the program to restart immediately. To ensure that the program remains stopped after exiting, set the KeepAlive property in the /Library/LaunchDaemons/com.sn.acc.plist file to false.