Installing on MacOS (OSX)

brew install monit
mkdir -p /usr/local/etc/monit
svn co http://svn.grimore.org/configuration-templates/monit/macOS/templates

this will have the effect of creating a templates folder that you can update with svn update when there are template updates.

svn export http://svn.grimore.org/configuration-templates/monit/macOS/monitrc --force .

and adjust as necessary.

chmod 0700 /usr/local/etc/monit/monitrc

and change the ownership to root and group wheel:

chown root:wheel /usr/local/etc/monit/monitrc
mkdir -p /usr/local/etc/monit/conf.d
ln -sf /usr/local/etc/monit/templates/openvpn /usr/local/etc/monit/conf.d/
svn export http://svn.grimore.org/configuration-templates/monit/macOS/launchd/ --force .
launchctl load -w /Library/LaunchDaemons/org.grimore.monit.plist
launchctl load -w /Library/LaunchDaemons/org.grimore.monit.reload.plist

Index