# SCCM

## Sources

| Download                                       | Sources                               |
| ---------------------------------------------- | ------------------------------------- |
| <https://github.com/pluginsGLPI/sccm/releases> | <https://github.com/pluginsGLPI/sccm> |

***

## Requirements (self-hosted)

This plugin requires :

* PHP 7.2 or higher
* GLPI >= 9.4
* FusionInventory plugin for GLPI
* SCCM >= 1802
* PHP curl\_init and sqlsrv\_connect
* Microsoft System Center Configuration Manager
* Microsoft Drivers for PHP for Microsoft SQL Server

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
This plugin is available without a [GLPI Network](https://services.glpi-network.com/#offers) subscription. It is not available on [GLPI Cloud](https://glpi-network.cloud).
{% endhint %}

***

## Features

Plugin to synchronize computers from SCCM (version 1802) to GLPI (version 9.3 and 9.4). It uses the "FusionInventory for GLPI" plugin and the power of its internal engine.

***

## Workflow

* This plugin add two automatic actions : "SCCMCollect" et "SCCMPush"
* The automatic action "SCCMCollect" queries the SCCM server with MsSQL queries.
* This same action builds an XML foreach computer (in FusionInventory format).
* The automatic action "SCCMPush" injects XML files into GLPI over HTTP(s) (via cURL and FusionInventory) to display computer in GLPI.

## Schematic diagram

![image](https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-0c7dfa403e5b2836178a38b9a8e4658889bb59a0%2Fworkflow.png?alt=media)

***

## Collected data

Depending on data availability in the SCCM server, foreach computer we collect:

* Computer: name, last connected user, UUID, user login, domain, comments, serial
* Operating system: name, architecture, version, service pack
* BIOS information: tag, model, type, manufacturer, serial, install date, version
* CPU: description (or name), manufacturer, frequency, type (arch), nb core, nb threads
* Softwares: name, version, editor, install date
* Memory (RAM): capacity, decription, frequency, type, bus, serial
* Graphical card: name, chipset, memory
* Sound card: name, manufacturer
* Network card: name, MAC address, IP address (v4, v6)
* Disk part: name, mount type, total size

***

## Automatic actions

![image](https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-cc9708b026b58bb339b8acb1e18d82c67d4ba2ec%2Factions.png?alt=media)

***

### SCCMCollect

Action to collect data from SCCM to XML files.

***

### SCCMPush

Action to push XML file to FusionInventory plugin

***
