I have the following configuration in Monit:
check program raid-md127 with path "/sbin/mdadm --misc --test /dev/md127"
if status != 0 then alert
When restart monit, I get the following error:
root@NAS2:/etc/apt/sources.list.d# /etc/init.d/monit restart
Stopping daemon monitor: monit.
Starting daemon monitor: Syntax error:
/etc/monit/monitrc:29: Error: syntax error 'raid-md127'
Can you advice, please?