TORRUS_GENDDX(8)
π TORRUS_GENDDX(8) π
okay bestie, gather round, because this is the page for torrus genddx β the section 8 manual for the torrus genddx command. yes it's giving sysadmin, yes it's giving SNMP, and yes we're gonna make it make sense. no cap. π¦
β¨ NAME β¨
genddx β generates the SNMP discovery instructions file for devdiscover
πΈ SYNOPSIS πΈ
torrus genddx --host=HOSTNAME | --hostfile=HOSTFILENAME \ [options...]
π DESCRIPTION π
so genddx generates the SNMP discovery instructions file, right? and that file can later be used as input for the devdiscover utility, which then produces the corresponding Torrus XML configuration file. it's giving pipeline. it's giving workflow. π₯
you gotta tell it which router(s) to include in the SNMP discovery, and you do that with either:
--hostβ for a single router--hostfileβ for a whole list of them
if you go the --hostfile route, the file HOSTFILENAME must contain a space-separated list of router hostnames. and plot twist: hostnames may have the form "host:devname" where "devname" is a symbolic device name. π
ngl this utility is designed to be used only once, to generate the discovery XML canvas for further manual editing. it generates only a basic set of parameters, and there are so many more of those that you may use to customize the discovery process. it's a starter pack, not the whole closet. π
if you want something more flexible and complex, go look at torrus_ttproclist(8) for a more flexible and complex DDX generator. main character energy, honestly.
more info lives in the Torrus SNMP Discovery User Guide. iykyk. β¨
π OPTIONS π
--out=OUTFILENAMEβ sets the output file to OUTFILENAME. default isrouters.ddx. without an absolute path, the file will be placed in/etc/torrus/discovery. π--discout=FILENAMEβ sets the discovery output file to FILENAME. this will be the filename of the Torrus XML configuration file once the output file ofgenddxis processed by thedevdiscoverutility. default value isrouters.xml. without an absolute path, the file would be resided in/etc/torrus/xmlconfig.--domain=DOMAINβ sets the DNS domain name to DOMAIN. π--version=SNMPVERSIONβ sets discovery SNMP version to SNMPVERSION. default value is"2c".--community=COMMUNITYβ sets discovery SNMP read community value to string COMMUNITY. default is"public".--port=PORTβ sets SNMP port to PORT. default is161.--retries=NUMRETRIESβ sets number of retries to NUMRETRIES. default value is2.--timeout=TIMEOUTβ sets SNMP timeout to TIMEOUT seconds. default value is10.--subtree=SUBTREEβ sets the subtree name to SUBTREE. default is"/Routers". π²--datadir=DATADIRβ sets the path of the directory where SNMP data is collected to DATADIR. default value is/var/lib/torrus/collector_rrd.--holtwintersβ enables Holt-Winters analysis. π
π¦ FILES π¦
/etc/torrus/discovery/routers.ddxβ the default output file ofgenddx. π/etc/torrus/xmlconfig/routers.xmlβ the default Torrus XML configuration file which will be written once thegenddxoutput file is processed with thedevdiscoverutility.
π SEE ALSO π
torrus(8), torrus_devdiscover(8), torrus_ttproclist(8)
π NOTES π
see more documentation at Torrus home page: http://torrus.org β¨
π AUTHOR π
Stanislav Sinyagin <ssinyagin@k-open.com>
and that's the whole page, bestie!! πβ¨π this was torrus 3.00, dated 2023-05-02, and it's the TORRUS_GENDDX(8) manual β so go forth, discover some SNMP, and slay. 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