| •1 |
This README describes a set of diffmon releated files I collected for |
| 2 |
Jeff Bailey <[email protected]> who is packaging it (for Debian?) and |
| 3 |
releasing it. |
| 4 |
|
| 5 |
Why diffmon is useful |
| 6 |
********************* |
| 7 |
|
| •8 |
diffmon is a program that looks at system configuration files and |
| 9 |
reports the differences between the saved version and the current |
| 10 |
version via e-mail. diff-options and who gets the e-mail can be |
| 11 |
specified for each file. |
| 12 |
|
| 13 |
The saved version can also be used to restore a file accidently or |
| 14 |
maliciously deleted. Without going to the backup medium. And the |
| 15 |
diffmon saved version is often more current then one on backup. |
| 16 |
|
| 17 |
And it's useful for any file - particularly those shared by a |
| 18 |
group/community of people. It lets them track changes made to a |
| 19 |
shared resource. Proofread the changes and fix any errors quickly. |
| 20 |
|
| 21 |
Files in this shar distribution |
| 22 |
******************************* |
| 23 |
|
| 24 |
README - this file |
| 25 |
diffmon - the BASH executable |
| 26 |
diffmon-web.sed - used in nightly-diffmon to modify the diffmon-web.cf after |
| 27 |
it is generated. |
| 28 |
diffmon.cf - a list of files that diffmon is run on |
| 29 |
nightly-diffmon - a script from a web server that runs diffmon that is called |
| 30 |
once a night from cron |
| 31 |
nightly-vars - called at start of nightly-diffmon to set some variables |
| 32 |
test.cf - a config file that can be used to test a diffmon install, |
| 33 |
note the GNU Emacs compile-command at the end. |
| 34 |
|
| 35 |
Example crontab |
| 36 |
*************** |
| 37 |
|
| 38 |
---------------------------------------------------------------------- |
| 39 |
# DO NOT EDIT THIS FILE - edit the master and reinstall. |
| 40 |
# (- installed on Mon Jan 7 00:04:03 2002) |
| 41 |
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) |
| 42 |
|
| 43 |
0 4 * * * /home/sys/bin/nightly-diffmon |
| 44 |
---------------------------------------------------------------------- |
| 45 |
|
| 46 |
Known Difficulties |
| 47 |
****************** |
| 48 |
|
| •49 |
diffmon doesn't deal with file names that contain colons ":". There |
| 50 |
is a workaround for this in file "nightly-diffmon". |
| 51 |
|
| •52 |
It might also be nice, if the time to run the diffmon on the file was |
| 53 |
in the configuration - right now, you need a config file for each set |
| 54 |
of times that is ran from cron at that set of time. |