Skip to content

Synology DSM

LCM supports Synology DSM as its own device type - connected through the DSM web API, not over 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 sudo would 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.

AreaContents
Systemmodel, DSM version, serial number, CPU cores, RAM, uptime
Updateswhether a newer DSM release is available (and which) - the central status criterion
Packagesinstalled DSM packages with version (visible in the packages tab)
Storagevolumes: total size, usage and health - feeds the disk status and the storage history
Timetime zone and NTP state including the time server (see Time & NTP)
Securitythe 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.

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.

  1. In DSM, create a dedicated account for LCM: Control Panel → User & Group, member of the administrators group.

  2. In LCM click “+ Add server” and choose the Synology DSM mode at the top.

  3. Enter name, host, DSM port (default 5001), account and password, then click Next.

  4. 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).

  5. 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.

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.