DX Application Performance Management

 View Only
  • 1.  NGINX Monitoring using field pack

    Posted Dec 08, 2015 04:19 AM
      |   view attached

    Hi,

     

    I have a requirement to monitor NGINX hosted in RedHat Linux server. I came across the field pack posted in CA-APM/ca-apm-fieldpack-nginx · GitHub .

     

    As node.js and npm were pre-requisites ,I installed them as it was not there in the server.

     

    But one of the fieldpack  installation step was to execute 'npm install request'.  The command failed as it was trying look for some files or repository in internet. Since ours was a UAT environment and has no access to internet , I was looking for a way to install it without any internet access.

     

    I have attached the error screenshot.

     

    Has anyone done this before?

     

    Geethu



  • 2.  Re: NGINX Monitoring using field pack

    Posted Dec 08, 2015 11:30 AM

    Hi Geethu,

     

    This should be possible.  It looks like you'd install the node part on another server then create a tar file of the contents you can move to your UAT system.

     

    It looks like I can make this easier by providing a package.json file, so let me give that a try for you and come back with some steps.

     

    Regards,

    Tim



  • 3.  Re: NGINX Monitoring using field pack

    Posted Dec 08, 2015 10:25 PM

    Thanks a lot Tim. It would be very helpful.

     

    Geethu



  • 4.  Re: NGINX Monitoring using field pack

    Posted Dec 09, 2015 12:59 PM
      |   view attached

    The following steps worked for me.

     

    On the non-UAT system:

     

    Now, copy the tgz file to your UAT system.

    On the UAT system, it should be one step to install:

    1. npm install --save ca-apm-fieldpack-nginx-1.0.0.tgz

     

    Now you can continue to the Configuration steps and run the application.

     

    Regards,

    Tim

    Attachment(s)

    zip
    package.json.zip   488 B 1 version


  • 5.  Re: NGINX Monitoring using field pack

    Broadcom Employee
    Posted Dec 09, 2015 04:16 PM

    You can also use npmbox (https://github.com/arei/npmbox/blob/master/README.md#user-content-using-npmunbox-without-npmbox-being-installed)

     

    or simply npm pack on a system with internet access, copy the tarball and use npm install <tarball> on the target system.

     

    Ciao,

    Guenter



  • 6.  Re: NGINX Monitoring using field pack

    Posted Dec 13, 2015 09:28 PM

    Thanks Guenter for the suggestion and help, Will try this option too.

     

    Geethu



  • 7.  Re: NGINX Monitoring using field pack

    Posted Dec 13, 2015 09:27 PM

    Thanks a lot Tim. Will try this and give you an update.

     

    Thanks a lot for the help.