Does somebody have a powershell script or anything else for monitoring his MobileIron MDM environement? I saw some scripts for nagios so i guess that should be possible for MobileIron as well, but i'm sadly bad on scripting...
Article Comments
This Thread is a little bit older but I want to add some Information.
At the Moment we monitor two things over the Rest-API
- Number of Registered Devices
- Days until the Apple VPP Token expires.
For Both you need the HTTP XML-/REST-Value Sensor:
For 1 you have to add the folowing URL:
https://<your Company mdm URL>/api/v2/devices/count?adminDeviceSpaceId=1&query="common.retired" = false
The XML Node is: totalCount
For 2 you have to add the Following URL:
https://mdm.warema.de/msa/v2/vpp/accounts
The XML Node is: numDaysToExpire
For both you have to add the Authorization Header in the "Header" Field of the Sensor: Authorization:Basic YXBp.................==
So you need an local User on MobileIron and with Username and Password you have to create an Basic Value. You can do this here: https://www.debugbear.com/basic-auth-header-generator
Nov, 2021 - Permalink
Hi there,
A quick search showed that MobilIron offers an API that maybe can be utilized via the REST Custom Sensor. Have you already looked into that?
https://www.mobileiron.com/en/resources-library/faq
Best regards.
Jan, 2019 - Permalink