Can anyone help?
I was getting lots of monit messages in syslog for my disks exceeding usage limit-
monit: 'fs_media_48b3563b-9ef9-47a3-953d-df8c90510038' space usage 82.6% matches resource limit [space usage>80.0%]
So I (stupidly) tried to fix it by modifying /etc/monit/conf.d/openmediavault-filesystem.conf
and changing 80% to 90% in the following line for all my disks
# Alert if filesystem is missing or disk space gets low
check filesystem fs_media_48b3563b-9ef9-47a3-953d-df8c90510038 with path /media$
if space usage > 80% for 5 times within 15 cycles
then alert else if succeeded for 10 cycles then alert
I now get errors on reboot saying -
/etc/monit/conf.d/openmediavault-filesystem.conf.bak:7: Error: service name conflict, fs_media_48b3563b-9ef9-47a3-953d-df8c90510038 already defined '/media/99cfeb1a-024b-46e8-b1bc-b6d64a91bdd7'
I tried putting back the original openmediavault-filesystem.conf but the errors still occur
What did I do wrong?