Installs monit and generates the configuration file.