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