Monitoring Ubuntu 20/Debian 10/Debian 11/Oracle Linux 8 in SCOM

“A picture is worth a hundreds words” : News!! News!! SCOM 2019 UR3 supports Ubuntu20.04/Debian10/Debian 11/Oracle Linux 8 servers monitoring.

In this blog I will explain:

  1. Pre-Requisites to add Ubuntu20.04 server to SCOM 2019 UR3.
  2. How to add the Ubuntu20.04 server to SCOM 2019 UR3?

Official Announcement here.
Supported Matrix here.

Pre-Requisites

  1. Make sure you have SCOM 2019 UR3 properly configured in SCOM. Refer to this article in case you have not.
  2. Ubuntu20.04 is provisioned. If you need guidance on how to setup a X-Plat machine in Hyper-V refer to my other blog. ** I used an Azure CentOS box this time around. I will write a blog on how you can manage an Azure box in SCOM.
  3.  Firewall is configured on the Ubuntu box to open traffic on port 22 and 1270 from SCOM Management Servers/Gateways in the UNIX/LINUX Resource Pool.
  4. DNS entry is updated to resolve the hostname of the Ubuntu box. DNS entry should match the hostname.
  5. Sudoers file is configured for SCOM Run As Accounts (Maintenance and Monitoring). If you need guidance on how to configure your sudeors with minimum permission required for SCOM monitoring refer to my other blog.
    In the above DOC, use the below section.

    Linux – Universal DEB, RPM (Debian, Ubuntu, CentOS, Oracle, RHEL 8, SLES 15)

  6. The next steps are part of SCOM 2019 UR3 installation. However, these are important so reiterating just in case you have missed them.
    Import the UNIX/LINUX Management Pack. For Ubuntu we will need the Universal Debian Management Pack.- Download the UNIX/LINUX Management Packs MSI from here. – Extract the MSI file to get the MP files which you can import in SCOM.

    ** You can choose the location to extract the files. Default location is C:\Program Files (x86)\System Center Management Packs\Microsoft System Center 2019 MP for Unix and Linux (UR3)\
    ** After extraction you will see a bunch of MP and MPB files.– Import the required Management Packs in SCOM. Bear in mind, only import the MPs for the flavors you are using. DO NOT import all MPs, unless you have all versions of X-Plat we support. ** In my case, I am going for Library, Redhat7, SUSE12, Universal, Process and Log file ones.
    MP Version: 10.19.1138.0– Wait for some time to make sure the packages are copied to all the Management Servers in the UNIX/LINUX Resource Pool in the installation location like
    C:\Program Files\Microsoft System Center\Operations Manager\Server\AgentManagement\UnixAgents\DownloadedKits.
    ** If you do not like to wait, restart the Microsoft Monitoring Agent service on the Management Servers/Gateways in the UNIX/LINUX Resource Pool.
    ** After extraction you should see the some SH files like below. UR3 SCX version is 1.6.8-0

  7. Make sure the SCX certificates are configured properly in all the Management Servers in your UNIX/LINUX Resource Pool. For a new deployment you need to exchange the SCX certificate of all the MSs/GWs in the UNIX/LINUX resource pool  to the other MSs/GWs in the UNIX/LINUX resource pool.
  8. UNIX/LINUX Run As Accounts and Profiles are configured properly. If you need guidance on how to configure them refer to my other blog.
  9. Run the discovery wizard and follow the below steps.
  10. After a few minutes, once all the workflows in SCOM run against the agent, it will be healthy.

  11. Repeat the same steps for Debian 10, Debian 11 and Oracle Linux 8. My tests against those distros were successful.

Take Away

  1. Ubuntu 20.04/ Debian 10/Debian 11 Oracle Linux OS are officially supported from SCOM 2019 UR3.
  2. For all these OS we use the Universal Debian package.

Hope that was helpful! Explore, Learn, Share, Repeat!