smartctlwich is part of the smartmontools. To use smart monitoring with cagent and cloudradar you must install the smartmontools manually before enabling it. Smartmontools version 7 are required. Only the most recent version of the Linux distributions provide it. Use
apt-cache show smartmontools. Ubuntu 20.04. for example provides version 7.1.
C:\Program Files\cagent\cagent.confwith an editor and change the existing lines to
apt-get install smartmontools
/usr/sbin/smartctland you can use it with cagent by adding the following lines to
systemctl restart cagentafter any change to the config file.
/usr/local/sbinwhich does not interfere or conflict with a version you might have installed with the package manager.
/etc/cagent/cagent.confand change the already present lines for smart monitoring to
smartctl --scan. Maybe you need to specify the full path to the command.
smartctl -a <DEVICE>for example
smartctl -a /dev/sdd.