Prerequisites for installing the Node.js agent

Prerequisites for Node.js agent installation

For a smooth Node.js agent installation, ensure that you've fulfilled the following prerequisites.
  1. The environment should have node version 16.20.2 or above installed.
  2. The application user should have full permission to access the agent directory.
  3. The server hosting the application should have internet connectivity, either directly or via a proxy server.
  4. Ensure the specified ports and IPs are added to the allow list to enable the agent to communicate with the Site24x7 server, as outlined in this document.
  5. Please verify the reachability from your environment to the Site24x7 endpoint by executing one of the following commands.
    For Linux:
    curl -v 'https://plusinsight.site24x7.com'

    For Windows:
    Invoke-WebRequest -Uri 'https://plusinsight.site24x7.com' -UseBasicParsing

  6. Replace the domain (.com) with the URL that you use to access Site24x7.
Warning
Please keep in mind that installing the Node.js agent requires restarting your application server.

    • Related Articles

    • Prerequisites for Java agent installation

      For a smooth Java agent installation, ensure that you've fulfilled the following prerequisites. The environment should have Java version 8 or above installed. The application user should have full permissions over the agent directory. The server ...
    • APM Insight agent log paths

      Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs ...
    • Basic troubleshooting tips for the APM Insight Node.js agent

      If you have installed the APM Insight Node.js agent and are facing issues with it, follow the instructions below to troubleshoot your application. License key and logs Check whether your apminsightnode.json file contains the correct license key ...
    • Managing Node.js applications using PM2 Process Manager

      Configure PM2 to manage Node.js applications Follow the instructions below to configure PM2 to manage Node.js applications. Steps to configure PM2 Configure the processManagerEnabled key in the already created apminsightnode.json file. Pass the value ...
    • Adding APM Insight Node.js agent in Kubernetes via InitContainers

      To integrate the APM Insight Node.js agent into your Kubernetes applications using InitContainers, follow the steps given below: Step 1: Create an empty volume that will be used to copy the agent files during the initContainers process. Example: ...