TORRUS_RRDDIR2XML(8)
π NAME π
rrddir2xml β she goes snooping through a directory for RRD files and then whips up a Torrus XML config file out of them. no cap, that's the whole job.
β¨ SYNOPSIS β¨
torrus rrddir2xml --dir=DIR [options...]
π¦ DESCRIPTION π¦
okay so bestie, here's the tea. rrddir2xml walks into a directory you point her at, hunts down all the RRD files chilling in there, and builds you a Torrus XML configuration file that's all set up for browsing those data files. iconic behaviour honestly.
and with the default options? she's literally made for RRD files that Torrus' SNMP collector spat out β you know the ones, where the file name kicks off with the host name, then an underscore, then the interface name or whatever other MIB specifics. with those defaults she makes one subtree per host name, and every RRD file belonging to that host name gets sorted alphabetically inside that subtree. so organized. so main character. πΈ
π OPTIONS π
--dir=DIRβ the absolute path to the directory she should search. ngl, this directory can absolutely contain non-RRD files too, she doesn't care. only regular files get processed, and symlinks get straight-up ignored. π--recursiveβ say the word and she'll search that directory recursively. β οΈ heads up though: all file names across all subdirectories must be unique. also, symlinks pointing to other directories? ignored.--filter=Regexpβ give her a filter and she'll only list the files and subdirectories whose names match that regular expression. picky queen, we love her for it.--out=FILEβ the output XML file name. if you hand her a relative path, the file lands in/etc/torrus/xmlconfig. default isrrddir.xml.--subtree=SUBTREEβ the top subtree path in the generated XML. default is the very top of the tree,"/".--split=REGEXPβ the regular expression she uses to split the file name into parts so she can build the subtree hierarchy. default is a sequence of underscores,"_+".--levels=INTEGERβ how many levels of hierarchy to build by splitting the file names. default is2levels.--comment=TEXTβ the text to drop in as the"comment"parameter on the top subtree.--holtwintersβ if you specify this, Holt-Winters prediction boundaries and failures get displayed in the graphs. π₯--verboseβ prints extra diagnostics.--debugβ prints debugging information.
π SEE ALSO π
π NOTES π
more documentation lives at the Torrus home page: http://torrus.org
π AUTHOR π
Stanislav Sinyagin <ssinyagin@k-open.com>
and that's the whole page bestie, you ate it up fr fr π
this was brought to you by torrus 3.00, dated 2023-05-02 β she's been serving since way back, periodt β¨
π¦ where this page comes from
- debian bookworm: torrus-common 3.00-2
- debian trixie: torrus-common 3.00-2
- ubuntu noble: torrus-common 3.00-2
- ubuntu questing: torrus-common 3.00-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms