title: Linux hardware: eMMC health
agents: linux
catalog: os/hardware
license: GPLv2
distribution: check_mk
description:
 Health of eMMC storage, which has no SMART: the card's own wear estimate (EXT_CSD
 life time, types A and B, in 10 % steps; levels on the step's upper bound, default
 80/90 %; past the rated life time CRIT), the reserved blocks (pre-EOL: warning WARN,
 urgent CRIT), kernel I/O errors on the card and errors of its MMC controller since
 boot, partitions that were read-write at discovery and are now read-only (CRIT), and
 the data written per day and drive writes per day (no levels by default). The kernel
 log needs root - with a non-root agent the error counts are left out.
 Rule: "Linux hardware: eMMC and SD card".

item:
 The block device, e.g. mmcblk1.

discovery:
 One service per eMMC card (mmcblk*, not its boot and RPMB partitions).
