Installing and configuring the Linux agent

With you workspace credentials, you can install the Linux agent by calling a wrapper-script hosted on GitHub. Perform the following steps:

  1. Run the following command to download the OMS agent for Linux, validate the checksum and install and onboard the agent to your Log Analytics workspace:
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <YOUR WORKSPACE ID> -s <YOUR WORKSPACE PRIMARY KEY>
  

If you must use the Linux agent with a proxy, you can make use of the additional -p switch for specifying the proxy, and use the following command during installation:

wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh ...

Get Microsoft Operations Management Suite Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.