On this page you'll find extra resources about the Webhooks: A Better Way Of Asset Tagging session on MacSysAdmin. In the session Mathijs explains how to use technologies like webhooks and REST API to automate parts of your asset management. In the following sections you will find out how this was setup and which software was used. If you still want to learn more about how this can be useful in your organisation, feel free to contact us at any time!
In the session we use a web-based CMDB called Snipe-IT. It's open source and free to use. Snipe-IT runs on any Linux or Windows-based webserver. To install it, follow the instructions on snipe-it.readme.io/docs. Snipe-IT also offers their CMDB tool in the form of a SaaS-offering, where they do the hosting for you.
Mobile Device Management
For our Mobile Device Management software we're using VMware Workspace ONE UEM. This is the software in which the devices are enrolled, and which then sends the webhook to the middleware server. For demonstration purposes we used a shared SaaS tenant. Other options include dedicated SaaS and even on premises. To learn more about this, contact us!
In the demo we use a middleware server to send the webhooks to. This is a light virtual machine which is running Ubuntu 20.04 Server. On the server we have installed both Apache and PHP. In the web directory we then created some a few PHP files. That is where the logic is programmed to listen to incoming webhooks and to communicate to Workspace ONE UEM (AirWatch) and Snipe-IT (CMDB). These files are available to download on Github in the following repository: github.com/EUCTechTopics/MacSysAdmin-2020-Demo/. Sensitive information such as API keys and passwords have of course been redacted from the files, so replace the sample values in the Config file for your testing!
To stop using physical asset stickers and present the asset tag in the menu bar of the Mac we used Hello-IT, an open source tool created by Yoann Gini. Hello-IT can be fully customisable using configuration profiles. The tool can be download on Yoann's Github repository: github.com/ygini/Hello-IT. The configuration profile we used in the demo can be downloaded on Mathijs's Github repository: github.com/EUCTechTopics/MacSysAdmin-2020-Demo.