Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

torrus_rrddir2xml(8) [debian man page]

TORRUS_RRDDIR2XML(8)						      torrus						      TORRUS_RRDDIR2XML(8)

NAME
rrddir2xml - Searches a directory for RRD files and generates Torrus XML configuration file. SYNOPSIS
torrus rrddir2xml --dir=DIR [options...] DESCRIPTION
rrddir2xml searches in a given directory for RRD files and creates Torrus XML configuration file suitable for browsing ofthose data files. With default options, it is usable for RRD files generated by Torrus' SNMP collector, where the file name starts with the host name, separated by underscore from interface name or other MIB specifics. With these defaults, it creates a subtree per each host name, and all RRD files belonging top that host name are sorted alphabetically in that subtree. OPTIONS
--dir=DIR Absolute path to the directory for searching. The directory may contain also non-RRD files. Only regular files are processed, and the symlinks are ignored. --recursive If specified, the directory will be searched recursively. All file names across all subdirectories must be unique. Symlinks to other directories are ignored. --filter=Regexp If the filter is specified, then rrddir2xml lists only those files and subdirectories whose names match the given regular expression. --out=FILE Output XML file name. If relative path given, the file is placed in /etc/torrus/xmlconfig. Default: rrddir.xml. --subtree=SUBTREE Top subtree path in the generted XML. Default is the top of the tree ("/"). --split=REGEXP Regular expression used for splitting the file name into parts to build the subtree hierarchy. Default is a sequence of underscores ("_+"). --levels=INTEGER Number of levels of hierarchy to build by splitting the file names. Default is 2 levels. --comment=TEXT Text to put as "comment" parameter to the top subtree. --holtwinters If specified, Holt-Winters prediciton boundaries and failures are displayed in the graphs. --verbose Prints extra diagnosics. --debug Prints debugging information. SEE ALSO
torrus(8) NOTES
See more documentation at Torrus home page: http://torrus.org AUTHOR
Stanislav Sinyagin <ssinyagin@yahoo.com> torrus 2.03 2013-07-26 TORRUS_RRDDIR2XML(8)

Check Out this Related Man Page

TORRUS_NODEID(8)						      torrus							  TORRUS_NODEID(8)

NAME
nodeid - Torrus utility SYNOPSIS
torrus nodeid --tree=TREENAME --cmd=CMD options... DESCRIPTION
This command provides a way to integrate Torrus with external OSS systems. It operates with nodeid, a unique identifier for Torrus datasource subtrees and leaves. The command prints the data on the standard output in JSON data format. OPTIONS
--tree=TREE [Mandatory] Defines the datasouerce tree. --cmd=CMD [Mandatory] Defines the action command. The following commands are supported: o info Prints information about the nodeid. Requires --nodeid. o search Performs a prefix or substring search on node IDs and prints the results. Requires --prefix or --substring. o render Renders a specified datasource node and prints the resulting MIME type and the file name. Requires --nodeid and --view. Optional --out defines a file name to copy the output to. --nodeid=NODEID Specifies the Node ID string for the commands info and render. --details Toggles verbose output for the commands info and search. --prefix=STR Specifies the prefix search string for the command search. --substring=STR Specifies the search substring for the command search. --view=VIEW Specifies the view name for the command render. The following views are defined by standard Torrus XML files and render a PNG graph: "short", "last24h-small", "last24h", "lastweek", "lastmonth", "lastyear". The following views are printing the datasource value in a text format: "rrd-print-daily", "rrd-print-last". --out=FILE If defined, instructs the utility to copy the rendered data into a specified file. Otherwise the file is created in the standard renderer's cache directory. --help Displays a help message. SEE ALSO
torrus(8) NOTES
See more documentation at Torrus home page: http://torrus.org AUTHOR
Stanislav Sinyagin <ssinyagin@yahoo.com> torrus 2.03 2013-07-26 TORRUS_NODEID(8)
Man Page