Re: Auto-reload of configuration files

Lutz Mader <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello Eric,
are you interresting in doing an config reload only.

> I'm working on a project that would like the ability to re-load the monit
> configuration automatically when it changes.

I do monitoring some application server folder to find new application
to be configured to monit and add the additional configuration based on
a template.
After I create a new config file based on the template I use the syntax
check to check the new config file. If the check will be passed, the new
config will be loaded by reinitializing monit.

This is my way, but I never monitor the monit config folder to find
changes and do an automatic reload.

With regards,
Lutz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.