Concepts¶
LiMDM follows the model of Apple's Declarative Device Management: the server describes the desired state, the agent makes the device match it on its own, keeps enforcing it while offline and reports the result. There are no remote procedure calls except a few one off commands.
Agent cycle¶
Every check in interval (checkin_seconds in com.limdm.agent, default 300 seconds, plus
up to 10 percent random delay so a fleet does not check in at the same moment) the agent:
- renews its client certificate when it expires within 30 days or the server asks, and requests or renews its EAP-TLS network certificate when a network profile needs one,
- picks up recovery key requests, confirms or reports an agent update, collects tamper reports and keeps the watchdog timer enabled,
- converges: applies the declarations, runs the compliance checks, remediates where allowed,
- collects inventory and the desktop login results,
- checks in over mTLS: sends status and package list (each only when it changed), command results, script results, events, metrics, app requests and escrowed recovery keys; receives declarations (only when the token changed), desktop users, commands, branding, the software catalog, a new command key or device CA, renewal requests, an agent update and the server's privacy settings.
When something changed (new declarations, new users, a command), the agent runs the next cycle after 5 to 60 seconds instead of waiting for the interval. Besides the cycle it asks the server every minute whether a command or an agent update waits (Command delivery).
When the server is unreachable the agent keeps enforcing the stored declarations.
com.limdm.agent with offline_lock_hours locks the device after a defined time without
server contact (Offline lock).
Status¶
Per declaration the agent reports whether it is valid (payload accepted) and active
(desired state reached), with reasons. A failing compliance check marks the declaration
whose goal it verifies as not active. Compliance results, inventory and declaration status
appear on the device page; the overview and compliance pages aggregate them.
Device states:
| State | Meaning |
|---|---|
compliant |
every counted check passes |
in grace |
checks fail, the grace period of the compliance item is still running |
non-compliant |
at least one check fails and the grace period is over; notification and automatic lock follow if the compliance item sets them |
stale |
no check in for longer than Device counts as stale after (hours) in Settings, General; the shown state may be outdated |
pending |
enrolled, but no compliance results yet |
retired |
no longer managed; the certificate is revoked and the device cannot check in |
The help page of the console and the tooltips of the status labels use the same wording.
Help in the console¶
Help in the sidebar explains the terms the console uses, the device states, the roles and the device actions by impact (lock, lost mode, retire, wipe). Page headers link the matching documentation, status labels explain themselves on hover, and the overview shows admins a first steps checklist until company settings, sign in, an enrollment token, a blueprint and a device exist. Console describes every page.