monit binary already has the ability to do syntax checking for config files. But it is not flexible that the check needs a server with monit installed.
In our automated deployment process, the config files wont't get checked before deployed to servers, and sometimes the config files may be broken. If we can do the syntax check during build phase, it will reduce many trouble.
So is it possible to compile a lightweight executable that merely do the syntax check.