Tracking Changes in Configuration Files

The new cfgmon utility enables administrators to track changes in critical configuration files. Below are examples of commands.

To display a list of configuration files that are tracked for changes, run the following command:

# plesk sbin cfgmon --list-all

For each file, you will see the path to the file and the time when the file's was last modified.


To see the history of changes for the /etc/httpd/conf.d/ssl.conf file:

# plesk sbin cfgmon -s /etc/httpd/conf.d/ssl.conf

A list of revisions will be displayed with paths to each revision.


To see the exact changes that were made to a file (for example /etc/httpd/conf.d/ssl.conf) in a certain revision (for example, 48), run the following command:

# plesk sbin cfgmon -r 48 | diff /etc/httpd/conf.d/ssl.conf


To display all commands of the cfgmon utility, run the command:

# plesk sbin cfgmon --help



Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.