Skip to content

Initial Release - LPMonitor_Restart v1.0.0

Latest
Compare
Choose a tag to compare
@reponomadx reponomadx released this 12 Jun 20:30
· 4 commits to main since this release
ff575f5

🎉 Initial public release of `LPMonitor_Restart, a macOS Bash-based monitoring and remediation tool for GroundControl Launchpads.

This tool monitors your Imprivata MAM environment for smart hub disconnects, no device count and uses the Workspace ONE UEM API to remotely trigger soft reset commands for associated devices.


✅ Features

  • Queries GroundControl API for all Launchpads tied to a specific service account
  • Checks for:
    • Online/offline status
    • Smart Hub (badge reader) presence
    • Docked device count
  • Triggers soft resets via Workspace ONE using OAuth authentication
  • Token caching to reduce API calls
  • Cooldown logic to avoid duplicate actions
  • Logging and alert sounds for local awareness
  • Runs silently every 60 seconds as a LaunchAgent

📂 Included Files

  • LPMonitor_Restart.sh: Main monitoring and restart logic
  • Update LP List.sh: Keeps device serial mappings up to date
  • manage_gc_monitor.sh: Helper script to control the LaunchAgent
  • com.imprivata.groundcontrolmonitor.plist: LaunchAgent config to run every 60 seconds
  • README.md: Setup instructions and usage guide
  • LICENSE: MIT License

🚀 Recommended Setup

  1. Customize BASE_DIR, API credentials, and target email
  2. Run Update LP List.sh initially to populate serial lookup
  3. Install and load the LaunchAgent to begin 60-second monitoring cycles

MIT Licensed. Contributions welcome!