Synology DSM
LCM supports Synology DSM as its own device type - connected through the DSM web API, not over SSH.
Why the API instead of SSH
Section titled “Why the API instead of SSH”DSM is Linux-based, but it is not a manageable Linux server:
- There is no
/etc/os-release- LCM’s operating-system detection would come up empty. - The kernel is an old fork maintained by Synology (e.g. 4.4.x). A CVE scan against it would produce false alarms by the dozen: the security fixes live in Synology’s own builds, not in the version numbers a CVE database compares against.
- Packages are managed by
synopkg, not apt or dnf. - Users, services and the firewall are managed by DSM itself. An LCM service
user with
sudowould sit next to DSM’s own configuration management - and might be overwritten by the next DSM update.
The documented web API, by contrast, delivers exactly what matters for monitoring - and it does so the way DSM itself sees things.
What LCM collects
Section titled “What LCM collects”| Area | Contents |
|---|---|
| System | model, DSM version, serial number, CPU cores, RAM, uptime |
| Updates | whether a newer DSM release is available (and which) - the central status criterion |
| Packages | installed DSM packages with version (visible in the packages tab) |
| Storage | volumes: total size, usage and health - feeds the disk status and the storage history |
| Time | time zone and NTP state including the time server (see Time & NTP) |
| Security | the findings of the DSM Security Advisor (levels risk and danger), broken down by category |
For the Security Advisor, LCM deliberately adopts DSM’s own assessment instead of rebuilding it without shell access - Synology knows best what counts as a misconfiguration on a DSM.
What does not work on DSM
Section titled “What does not work on DSM”Firewall management, CVE scan, repositories, package updates, user sync, SSH hardening, restricted mode and script/custom actions are blocked - they require a shell or a package manager. Called through the API, LCM answers with a message that names the reason (HTTP 409) instead of running into a follow-up error. Inside a server group such rules are skipped by name on DSM devices - a mixed schedule therefore stays green.
Health check and system sync do run: on an API device they re-collect the device state. That is the factual equivalent of an availability ping there, and it keeps status, update state and storage history current.
Adding a device
Section titled “Adding a device”-
In DSM, create a dedicated account for LCM: Control Panel → User & Group, member of the administrators group.
-
In LCM click “+ Add server” and choose the Synology DSM mode at the top.
-
Enter name, host, DSM port (default
5001), account and password, then click Next. -
LCM shows the SHA-256 fingerprint of the TLS certificate. Compare it in DSM under Control Panel → Security → Certificate and confirm.
DSM ships a self-signed certificate - there is no chain to verify here. LCM pins this fingerprint and aborts the connection if it ever changes (protection against man-in-the-middle, exactly like the SSH host key).
-
After adding, LCM collects the state immediately and shows the device online.
The password is stored AES-GCM encrypted (like all credentials in LCM) and is used solely to authenticate against the DSM API.
Status
Section titled “Status”Without package and CVE visibility, two criteria carry the assessment:
- A newer DSM release is available → yellow, with the version.
- Security Advisor findings (risk/danger) → yellow, with count and categories.
On top of that come the general criteria that apply to every server: reachability, disk usage and storage forecast.