File: README

package info (click to toggle)
diffmon 20020222-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 232 kB
  • sloc: sh: 1,789; makefile: 31; sed: 21
file content (54 lines) | stat: -rw-r--r-- 2,132 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
This README describes a set of diffmon releated files I collected for
Jeff Bailey <jbailey@nisa.net> who is packaging it (for Debian?) and
releasing it.

Why diffmon is useful
*********************

diffmon is a program that looks at system configuration files and
reports the differences between the saved version and the current
version via e-mail.  diff-options and who gets the e-mail can be
specified for each file.

The saved version can also be used to restore a file accidently or
maliciously deleted.  Without going to the backup medium.  And the
diffmon saved version is often more current then one on backup.

And it's useful for any file - particularly those shared by a
group/community of people.  It lets them track changes made to a
shared resource.  Proofread the changes and fix any errors quickly.

Files in this shar distribution
*******************************

README		- this file
diffmon		- the BASH executable
diffmon-web.sed - used in nightly-diffmon to modify the diffmon-web.cf after
		  it is generated.
diffmon.cf	- a list of files that diffmon is run on
nightly-diffmon - a script from a web server that runs diffmon that is called
		  once a night from cron
nightly-vars	- called at start of nightly-diffmon to set some variables
test.cf		- a config file that can be used to test a diffmon install,
		  note the GNU Emacs compile-command at the end.

Example crontab
***************

----------------------------------------------------------------------
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Mon Jan  7 00:04:03 2002)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

0 4 * * *       /home/sys/bin/nightly-diffmon
----------------------------------------------------------------------

Known Difficulties
******************

diffmon doesn't deal with file names that contain colons ":".  There
is a workaround for this in file "nightly-diffmon".

It might also be nice, if the time to run the diffmon on the file was
in the configuration - right now, you need a config file for each set
of times that is ran from cron at that set of time.