iEntry 10th Anniversary LinuxHaxor WH MH

diffmon – Monitor files on your System


This tool is run by a nightly cron job, and takes a `diff’ of specified system configuration files and emails them to a specified email address. Options to diff can be specified. This is useful in friendly environments where there are multiple sysadmins working on configuration files/setups and everyone’s changes are reported. CVS is a better answer, but most of us don’t want to have the hassle of putting system files in a repository.

-D, –debug Turn on shell debugging (“set -x”).
-C, –compress-program CPROG Use CPROG to compress saved file images
-c, –config-file FILE Use FILE as the config file instead of the default, searching DIFFMONPATH if FILE not absolute pathname.
-e, –errors-to MAINTAINER Stderr is reported to maintainer via email. If MAINTAINER is set to “maintainer”, the default maintainer is assumed (see above).
-h, –help You’re looking at it.
-o, –old DIR Old reference files are kept and looked for in DIR instead of the default.
-p, –config-path CPATH Use CPATH to search for configuration files instead of default path. Overrides value of DIFFMONPATH environment variable.
-S, –suffix SUFFIX Compressed file suffix.
-Z, –zcat-program ZPROG Use ZPROG to read compressed file and output uncompressed version (should not uncompress file itself).
-n, –no-update Don’t update the saved file images

[ Manpage ]

2008-01-21-215948_1280x800_scrot.png


Comments are closed.