NAME

configsnapshot - Generates a configuration snapshot for a RRFW tree.


SYNOPSIS

configsnapshot --tree=TREENAME [options...]


DESCRIPTION

This command generates a configuration snapshot from current datasources for tree TREENAME. The output is an XML file, ready for compilation, representing all datasources, monitors and tokensets of a given tree. The snapshot does not include view definitions. Templates and file patterns are expanded inside the file. It does not require any other XML configuration files, except for defaults.xml and your custom view definitions.

Warning: configsnapshot from RRFW release 0.1.5 will not work correctly with databases from previous releases. Use release 0.1.4bf2 instead. configsnapshot utility from release 0.1.4bf2 does not preserve aliases.

This utility is useful in RRFW upgrade process. In case when RRD files structure is changing in RRFW default templates, and user(s) demand to preserve the historical data, the following steps could be done:


OPTIONS

--out=FILE
Sets the output file to FILE. Default is snapshot.xml.

--verbose
Displays some extra information.

--help
Displays a help message.


FILES

/usr/local/rrfw-0.1/share/rrfw/xmlconfig/defaults.xml
XML configuration file with default settings for the datasources and tokensets, as well as default view definitions.

snapshot.xml
Default configsnapshot output file.


SEE ALSO

compilexml(1)


NOTES

See more documentation at RRFW home page: http://rrfw.sf.net


AUTHOR

Stanislav Sinyagin <ssinyagin@yahoo.com>