Skip to main content

Enable/Disable Agent

  • Method 1: Enable/Disable Agent via the Report Console

    • Advantage: No need to restart apache or php-fpm
    • Disadvantage: The disabled Agent remains in the PHP process, only the data collection logic is not executed.
    • Disable method: In Configuration > Agent Management > Agent Management, click Disable in the Operation column of the application list.
    • Enable method: In Configuration > Agent Management > Agent Management, click Enable in the Operation column of the application list.
  • Method 2: Enable/Disable Agent via Configuration File

    • Advantage: The Agent is completely disabled and not loaded.
    • Disadvantage: apache or php-fpm needs to be restarted.
    • Disable method: Comment out extension=tingyun-xxx.so in the PHP configuration file php.ini, then restart apache or php-fpm.
    • Enable method: Uncomment extension=tingyun-xxx.so in the PHP configuration file php.ini, then restart apache or php-fpm.