Open ronaldbckl opened 2 years ago
Hi,
As it is indicate in the ReadMe here :
, you have to install the OMS Agent ( aka MMA ) in place of the SCOM agent. This agent is the Log Analytics Agent, but it is compatible with SCOM.
An alternative that I found is to only install the Docker Provider for OMI.
You can find it here :
https://github.com/microsoft/Docker-Provider/releases?q=docker-cimprov
After restarting the omi agent, you can test locally with :
/opt/omi/bin/omicli ei root/cimv2 Container_ContainerInventory
or with your winrm query :
winrm e http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/Container_ContainerInventory?__cimnamespace=root/cimv2 -r:https://HOSTNAME:1270/wsman -auth:basic -skipCACheck -skipCNCheck -encoding:utf-8 -format:pretty -u:USER -p:"PASSWORD"
It works for me. Hope it will help.
The majority of my docker servers are not discovered by this pack.
To a non discovered server (linux) i ran the winrm command: _winrm e http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/Container_HostInventory?__cimnamespace=root/cimv2 -r:https://fqdn:1270/wsman -auth:basic -skipCACheck -skipCNCheck -encoding:utf-8 -format:pretty -u:svcscom -p:"password"_
Output: _wsa:DestinationUnreachable</SOAP-ENV:Value>