ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
460 stars 64 forks source link

report swap usage #84

Closed brunob45 closed 1 year ago

brunob45 commented 1 year ago

Report SwapTotal and SwapFree information in the monitor memory field. The swap is a disk partition used to store RAM data when the actual RAM is full.

When the swap partition is disabled, both SwapTotal and SwapFree are 0.

ironsheep commented 1 year ago

Thank you for contributing this change. It will appear in v1.8.2 and later.