Extending Inventory on Linux and UNIX computers using Open Management Infrastructure (OMI)

The Configuration Manager client for Linux and UNIX consists of two services, ccmexec which is the equivalent of the Windows client executable with the same name, and omiserver which is the OMI service that provides CIM server functionality that is similar to Windows Management Infrastructure (WMI) that is available on Windows-based computers. The ccmexec service communicates with the Configuration Manager server roles, receives directives from Configuration Manger and responds with appropriate status and information.

To collect inventory the ccmexec service interacts with the omiserver service which is OMI running on Linux and UNIX.

Full article here


Configuration Manager 2012 Linux Client Command Line Syntax

Some command line syntax that will help you navigate working with the ConfigMgr Linux client more easily

Return the client version

/opt/microsoft/configmgr/bin/ccmexec –v

Force a policy refresh*

/opt/microsoft/configmgr/bin/ccmexec –rs policy

The Linux client has no concept of user policy, so this refresh is machine policy only!

Force hardware inventory to run immediately

/opt/microsoft/configmgr/bin/ccmexec –rs hinv

Force software inventory to run immediately

/opt/microsoft/configmgr/bin/ccmexec –rs sinv

Tail the ConfigMgr Linux Client Log

Tail is a command in Linux that print the last 10 lines of the specified file to standard output, allowing you to easily see the latest additions to the ConfigMgr Linux client log on a managed system.

tail –f /var/opt/microsoft/scxcm.log

Query Inventory (from the command line)

To view inventory data on the client directly, you use nwcli utility to query the OMI equivalent of the WMI database. The following example returns details of the SCXCM_ComputerSystem class.

/opt/microsoft/nanowbem/bin/nwcli ei root/cimv2 SCXCM_ComputerSystem

Uninstall the Client