Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prerequisites:

Note: The Linux agent/agentless approach requires a user with root permissions to get PID-to-network mapping, certain hardware details, and data on logical/physical disk volumes. Become a root user either through "sudo -s" or "su", ; most systems use sudo.  

Procedure:

Launch Login to your Cloudamize console here, or launch the application from your Partner Dashboard or login directly here. Open if you have one.

Navigate to the Settings page by clicking the Edit Configuration button. If your assessment is already running, click your username in the upper right-hand corner and select select Settings from the dropdown menu. Navigate to Agent Setup > Assess and select the Linux tab. 

Note: the commands below represent our US infrastructure. If you are using use our EU infrastructure, copy and paste the commands directly from your assessment. 

...

Step 2:  Execute the command listed in the assessment portal, eg:

Code Block
sh <(curl -s https://agentmanager1.cloudamize.com/cxf/downloadFile/installCloudamizeAgentV2.sh)

This will differ if your assessment is on console.cloudamize.com, and will include your customer key:

Code Block
%> sh$ sh <(curl -X POST 'https://am.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F ?custkey=<YOUR CUSTOMER KEY> -F &filename=installCloudamizeAgentV2.sh' -L)

...

...

If you want to route the data through your own proxy server, click the checkbox as shown in the image below , and use the following command for app.cloudamize.com assessments (commands listed in console.cloudamize.com assessments have the command listed in the portal):

...

If you want to use your own proxy server and the server requires authentication, click the designated checkbox and use the following, updated command.

Code Block
sh <(curl --proxy http://www.yourproxy.com:proxy_port --proxy-user username:password -s https://agentmanager1.cloudamize.com/cxf/downloadFile/installCloudamizeAgentV2.sh) <http://www.your_own_proxy.com> <proxy_port> <user_name> <password>

...

.

...


Linux Install with Proxy

...

Linux Install with Authenticated Proxy

...

Deploy from Central Repository:

Installation of Agent

The customer should decide whether to use rpm /or deb, but in general, rpms are used by Red Hat, CentOS, SuSESUSE, and Oracle Linux, and deb is used by Debian and Ubuntu.

For Assessments on app.cloudamize.com (old infra)Download:

  • RPM URLUS:  

    • %> sh <(curl -X POST https://agentmanager1am.cloudamize.com/cxf/downloadFile/cloudamize_agent.rpm (US)downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=installCloudamizeAgentV2.sh)

  • EU:

    • %> sh <(curl -X POST https://agentmanageram-de.cloudamize.com/cxf/downloadFile/cloudamize_agent.rpm (EU)

  • RPM Install: CLOUDAMIZE_CUSTOMER_KEY=xxxx rpm -i cloudamize_agent.rpm

  • DEB URL:

    • https://agentmanager1downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=installCloudamizeAgentV2.sh)

  • UAE:

    TGZ URL:

    • %> sh <(curl -X POST https://am-ae.cloudamize.com/cxf/downloadFile/cloudamize_agent.deb

    • https://agentmanager-de.cloudamize.com/cxf/downloadFile/cloudamize_agent.deb (EU)

  • DEB Install: CLOUDAMIZE_CUSTOMER_KEY=xxxx dpkg -i cloudamize_agent.deb

    • https://agentmanager1downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=installCloudamizeAgentV2.sh)

Install:

  • US:

    US:

    • RPM:

      • curl -X POST https://am.cloudamize.com/cxf/

      downloadFile/cloudamize_agent.tgz (US)
    • https://agentmanager-de.cloudamize.com/cxf/downloadFile/cloudamize_agent.tgz (EU)

TGZ Install:

  1. tar xf cloudamize_agent.tgz

  2. cd cloudamize_agent

  3. CLOUDAMIZE_CUSTOMER_KEY=xxxx bash install.sh

  4. cd .. && rm -Rf cloudamize_agent cloudamize_agent.tgz

For Assessments on console.cloudamize.com (new infra):

Download:

    • %> sh <(
      • downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.rpm -o cloudamize_agent.rpm

    • DEB:

      • curl -X POST https://am.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=

      installCloudamizeAgentV2.sh)

    EU:

    US
    • %> sh <(
      • cloudamize_agent.deb -o cloudamize_agent.deb

    • TGZ:

      • curl -X POST https://am

      -de
      • .cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=

      installCloudamizeAgentV2.sh)

Install:

      • cloudamize_agent.tgz -o cloudamize_agent.tgz

  • EU:

    • RPM:

      • curl -X POST https://am-de.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.rpm -o cloudamize_agent.rpm

    • DEB:

      • curl -X POST https://am-de.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.deb -o cloudamize_agent.deb

    • TGZ:

      • curl -X POST https://am-de.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.tgz -o cloudamize_agent.tgz

  • EUUAE:

    • RPM:

      • curl -X POST https://am-deae.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.rpm -o cloudamize_agent.rpm

    • DEB:

      • curl -X POST https://am-deae.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.deb -o cloudamize_agent.deb

    • TGZ:

      • curl -X POST https://am-deae.cloudamize.com/cxf/downloadFileV3 -H 'content-type: multipart/form-data' -F custkey=<custkey> -F filename=cloudamize_agent.tgz -o cloudamize_agent.tgz

Note: If for some reason environment variables cannot be used during the installinstallation, the customer can configure later by running /usr/local/cloudamize/bin/configure.sh

...

The agent can be configured while installed or after it is installed. The following environment variables are can be used to configure. If they the variables are set during install, installation they will be used to configure. Otherwise, the customer must run /usr/local/cloudamize/bin/configure.sh

...

  • export CLOUDAMIZE_CUSTOMER_KEY=xxxx
    dpkg -i cloudamize_agent.deb

  • CLOUDAMIZE_CUSTOMER_KEY=xxxx dpkg -i cloudamize_agent.deb

  • sudo CLOUDAMIZE_CUSTOMER_KEY=xxxx dpkg -i cloudamize_agent.deb

  • curl https://agentmanager1am.cloudamize.com/cxf/downloadFile/installCloudamizeAgentV2.sh | sudo CLOUDAMIZE_CUSTOMER_KEY=xxxx bash

  • CLOUDAMIZE_CUSTOMER_KEY=xxxx /usr/local/cloudamize/bin/configure.sh

Available options are:

Env Variable

Parameter*

Description

CLOUDAMIZE_CUSTOMER_KEY

--customer-key

REQUIRED. The customer key to register with.

PROXY_SERVER

--proxy-server

Customer proxy server address to use with curl.

PROXY_PORT

--proxy-port

Customer proxy port.

PROXY_UNAME

--proxy-user

Customer proxy user name.

PROXY_PSWD

--proxy-pass

Customer proxy user password.

 

Click here for steps to troubleshoot installation issues. 

Click here for instructions on how to uninstall the linux Linux agents.