jhoblitt / puppet-smartd

Manages the smartmontools package including the smartd daemon
Other
14 stars 24 forks source link

-M exec not supported #54

Closed lelutin closed 6 years ago

lelutin commented 8 years ago

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.