System monitor Swap use always 0?

HI,

using the system monitor https://www.home-assistant.io/components/sensor.systemmonitor/ swap resource types always show 0:

36

is this to be expected, or do I have a configuration error at hand…

  - platform: systemmonitor
    resources:
      - type: disk_use
        arg: /home
      - type: disk_use_percent
        arg: /home
      - type: disk_free
        arg: /home
      - type: network_in
        arg: eth0
      - type: network_out
        arg: eth0
      - type: packets_in
        arg: eth0
      - type: packets_out
        arg: eth0
      - type: load_1m
      - type: load_5m
      - type: load_15m
      - type: processor_use
      - type: memory_free
      - type: memory_use_percent
      - type: memory_use
      - type: swap_use_percent
      - type: swap_use
      - type: swap_free
      - type: last_boot
      - type: since_last_boot
      - type: ipv4_address
        arg: eth0

left out the ‘process’ since that never showed anything either, and I dont have any hints on what to use as an argument there?

Please have a look
thanks,
Marius

the time when your “swap” was zero is over. use glances https://github.com/hassio-addons/addon-glances

1 Like