The documentation of the systemmonitor
integration shows the possibility to monitor certain host processes:
sensor:
- platform: systemmonitor
scan_interval: 60
resources:
- type: process
arg: 'VBoxHeadless'
- type: process
arg: 'glances'
But whatever is entered as arg:
(and the process is running) – it is off
all the time (and doesn’t switch to on
if the process gets terminated, so at least it’s not only a wrong way 'round-implementation).
How are we supposed to use this (or is it broken and we’d have to use a command_line
sensor for the time being)?
It’s no binary_sensor
, that much is true (systemmonitor
only supports sensor
s, even if they are binary by nature)…