Hello, the hosts are added automatically when you add "set mmonit" statement to Monit's configuration file + reload Monit. The configuration file may be /etc/monitrc (default) or /etc/monit.conf if you installed Monit for example using some 3rd party package which customizes the path. The ~/.monitrc is one of configuration file paths Monit checks when it starts.
Please see M/Monit manual for more details (chapter "Configuration" on page 16): http://mmonit.com/documentation/mmonit_manual.pdf Regards, Martin On 26 Aug 2014, at 11:07, Anthony Griffiths <[email protected]> wrote: > I've just installed mmonit-3.2.2 on centos 7. > 1) in the readme it says: > 'Setup Monit on each host you want to monitor', so I went into the browser > gui and went to Admin/Hosts but there's nowhere to add a host. It just says > "No records found" under Hosts. How does one set up a host? > 2) the readme also says: 'Put the following into your Monit control file, > .monitrc:', but there is no .monitrc file. Should I create this file myself? > if so, where is it supposed to go? > I did check the manual before posting this but that didn't shed any light > either. > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
