scc-collect.pl(1)



NAME


	scc-collect - collect system configuration in a SCC-snapshot

RELEASE


	scc-win	1.8.11

SYNOPSIS


	scc-collect [ --extra <mod> ]

DESCRIPTION


	This program collects configuration data from a system and writes
	it to stdout as a SCC-snapshot. A snapshot is a file containing 
	configuration data. Each line of configuration-data is prefixed with
	a classification. Refer to scc-win(4) for a detailed description of the
	format of the contents of a snapshot.

	Part of the classification is an indicator whether the data is fixed 
	or variable. This makes it possible to compare snapshots and report 
	any difference in the configuration data that was supposed to be fixed.

	The entire process of creating a new snapshot, comparing it with the
	previous one and adding the differences to a logbook is done by 
	scc-log(1).

ARGUMENTS


	None.

OPTIONS


	--extra <mod>	Execute additional, user modules.

RETURN VALUE


	Upon completion, the program returns one of the following values:

		0 successful completion
		2 runtime error

COPYRIGHT


	scc-collect is free software under the terms of the GNU General Public 
	License. Copyright (C) 2006-2015 QNH.

FILES


	bin\scc_modules - directory with modules
		scc_[0-9][0-9][0-9][0-9]_s_*
		modules distributed with scc and always executed
		scc_[0-9][0-9][0-9][0-9]_u_*
		user plug-ins, only executed with -e option
		they leave their output in the file:
		/var/opt/scc/data/plugin_data/<module>
	tmp - directory for temporary files
	data - directory for data files
		scc.<hostname>.cur - current SCC-snapshot
		scc.<hostname>.html - current SCC-snapshot in HTML-format
		scc.<hostname>.old - previous SCC-snapshot
		scc.<hostname>.new - new (temporary) SCC-snapshot
		scc.<hostname>.log - logbook for changes in SCC-snapshot
		scc.<hostname>.log.html - logbook in HTML-format
		scc.<hostname>.keep - data kept from a previous run
		plugin_data - subdirectory for data from user modules
			scc.<hostname>.<mod> - data from <host> for module <mod>

SEE ALSO


	scc(1), scc-collect(1), scc-log(1), scc-log2html(1),
	scc-plugin(1), scc-snap2html(1), scc-win(4), scc-win(5)

VERSION


	$Revision: 5363 $