Automatically restart APM Insight PHP agent during system reboots

Automatically restart APM Insight PHP agent during system reboots

To automatically restart APM Insight PHP agent during system reboots, use the below given steps:

For systemd servers:

From APM Insight PHP agent version 2.8, agent will automatically start during server reboots for systemd supported Linux flavors.

 

For non systemd servers:

1. Edit the /etc/rc.local file

2. Add the following lines to the rc.local,

        1. cd /opt/zpa/bin
       2. sh run.sh restart

Note: The above steps apply to systemd servers using APM Insight PHP agent versions below 2.8.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Self monitor Applications Manager using APM Insight Java Agent

                      Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                    • Uninstrumented Block of Code - APM Insight

                      In the traces tab --> Slowest Method Calls and Count we show if you find Un-instrumented block of code the reason is as follows: Basically, What is un-instrumented block of code in APM Insight? By default, APM Insight agent monitors known frameworks ...
                    • How to rename an existing APM - Java agent application's monitor?

                      In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
                    • Reconfigure APM Insight PHP agent after PHP version upgrade

                      If you have upgraded your PHP version and face problems in monitoring after the upgrade, here's how you can resolve it.In general, APM Insight PHP agent registers with the PHP version present in the server at the time of installation.So when you ...
                    • APM Insight agent log paths

                      Folder path to view .NET agent logs .NET agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData\ from Vista onwards, which is a hidden folder). Check the following folder paths: For agents v2.5.4 and ...