smartd.conf man page details a "-M exec" mode that can be used to run a shell script when an email should be sent. This is used by default in debian with "/usr/share/smartmontools/smartd-runner" to run all scripts dropped in a .d directory.
It would be nice to be able to set value of -M to exec with a script path in order to recreate debian's default behaviour, or implement something else with own script.
smartd.conf man page details a "-M exec" mode that can be used to run a shell script when an email should be sent. This is used by default in debian with "/usr/share/smartmontools/smartd-runner" to run all scripts dropped in a .d directory.
It would be nice to be able to set value of -M to exec with a script path in order to recreate debian's default behaviour, or implement something else with own script.