OpsMgr 2012 R2 UNIX and Linux Agent Installation. Getting the .rpm and .deb Agent Files

Chiyo OdikaOpsMgr, SCOMLeave a Comment

A client recently asked me how to obtain the agent files for installing UNIX/ Linux OpsMgr agents outside of OpsMgr, and from the command line for instance. After the cursory search for a good article on the web to pass along, I came up with nothing, and decided to correct that. This article will simply walk through how to obtain the agent files. I will not go over agent installation steps as there are numerous articles on the web that sufficiently cover that.


1. Let’s start by obtaining the management packs for UNIX/ Linux. Management packs can be found here: https://www.microsoft.com/en-us/download/details.aspx?id=29696


2. Select the relevant files for your UNIX/ Linux distros. In my case, 2 flavors of CentOS and SUSE Enterprise 12.


3. After downloading the files and documentation, review the documentation to get a good measure of the capabilities

4. Accept the terms and click Next to proceed


5. Install to the default or other directory of your choosing


6. After the installation, management pack and bundles will now be visible in your installation directory.


Proceed to install the management packs from disk.

7. Log on to the computer with an account that is a member of the Operations Manager Administrators role.

8. In the Operations console, click Administration.

9. Right-click Management Packs, and then click Import Management Packs.

10. The Import Management Packs wizard opens. Click Add, and then click Add from disk.

11. The Select Management Packs to import dialog box appears. If necessary, change to the directory that holds your management pack file. Click one or more management packs to import from that directory, and then click Open.



NOTE: After the import completes, the Downloadedkits folder (which will contain the agent files) will NOT immediately be visible in the directory “C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\UnixAgents” , and could lead to some confusion if you are expecting to find the files there Nerd smile. The files are not immediately visible becuase a workflow has to run in order for the agents to be available. That workflow is enabled by the RPM and DEB discoveries for the respective management packs.



NOTE: If you’d rather not wait, you can speed up the workflow tasks by restarting the HealthService on your Management server

Get-Service HealthService | Restart-Service -verbose


After the service restart, the DownloadedKits folder is now visible in the path: C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\UnixAgents


And the selected agent files will be visible within the folder.


You can now use the agents for install operations from the command line as detailed in this Microsoft Article https://technet.microsoft.com/en-us/library/hh212686.aspx. I hope this is instructive.



The following two tabs change content below.
Author, consultant, strategist and thought leader who is passionate about data-driven management and architecture. Chiyo excels at helping clients think strategically about how to use technology to optimize the service delivery to the business, and to create fundamental business change and value.

Latest posts by Chiyo Odika (see all)

Chiyo OdikaOpsMgr 2012 R2 UNIX and Linux Agent Installation. Getting the .rpm and .deb Agent Files