Configure the NVIDIA-SMI Collector

  1. Install NVIDIA driver version 550.x or later. Verify the driver version using the following command:
    Note: If GPU drivers are not installed, install the compatible drivers. For example, the following command installs drivers on Ubuntu 22.04 for Tesla GPUs:
    sudo apt-get update && sudo apt-get install -y build-essential
     
    BASE_URL=https://us.download.nvidia.com/tesla
    DRIVER_VERSION=550.54.14
    curl -fSsl -O $BASE_URL/$DRIVER_VERSION/NVIDIA-Linux-x86_64-$DRIVER_VERSION.run
    sudo sh NVIDIA-Linux-x86_64-$DRIVER_VERSION.run --dkms
    Refer the following documents for more information on NVIDIA drivers:
  2. Use any of the following methods to enable GPU support:
    • Controller Configuration File (controller-info.xml):
      <gpu-enabled>true</gpu-enabled>
    • System Property:
      -Dappdynamics.machine.agent.gpu.enabled=true
    • Environment Variable:
      APPDYNAMICS_MACHINE_AGENT_GPU_ENABLED=true
  3. Set the following system property to activate NVML-based collection:
    -Dappdynamics.machine.agent.gpu.collection.nvml.enabled=true
  4. Enable GPU monitoring at the Controller account level using the following flag:
    sim.cluster.gpu.enabled=true