TORRUS_DEVDISCOVER(8)
π TORRUS_DEVDISCOVER π
okay bestie, welcome to devdiscover β it's one of the torrus family (that's the manual, section 8, system admin girlies π«Ά) and it's literally the SNMP discovery bestie you never knew you needed.
β¨ NAME β¨
devdiscover β does SNMP discovery and then generates a Torrus XML configuration file. no cap, that's the whole job. π
πΈ SYNOPSIS πΈ
torrus devdiscover [--in=XMLFILE] [options...] [XMLFILES]
π¦ DESCRIPTION π¦
So here's the tea: devdiscover does SNMP discovery using XMLFILE for the discovery instructions, and then it spits out a matching Torrus XML configuration file. that's it, that's the vibe. β¨ for the full lore, go read the Torrus SNMP Discovery User Guide.
The generic input file β also known as the device discovery XML, or DDX if you're on nickname terms β can be generated by the genddx utility, and then edited and maintained by hand, like a little craft project π. You can pass multiple input files by giving several instances of the --in option, or honestly just throw them in as plain arguments. both work, we don't gatekeep.
When it's looking for an input file name, it checks the current directory first, and then it checks /etc/torrus/discovery/. in that order. periodt.
π OPTIONS π
--mkdirβ creates"data-dir"directories. yes queen, make the folders. π--limit=REGEXPβ limits the discovery to only the output files that match the regular expression REGEXP. if you give multiple--limitoptions, an output file only needs to match at least one of them to get processed (so it's an OR situation, not an AND situation, bestie π). bundle files get written if all of their member XML files are available.--forcebundleβ turn this on and"devdiscover"will write the bundle file even if some of the bundle members weren't created because of errors. chaotic but valid. π₯--fallback=INTEGERβ heads up, this one requires--forcebundle. if an SNMP device isn't available, the bundle file will include an older version of the XML output file β but only if that file exists and it's not older than the specified number of days. so INTEGER = how many days back you're willing to accept. β--threads=INTEGERβ if threads are enabled in your local Perl, this decides how many parallel discovery threads get executed. the discovery jobs are distributed per output file, so it only really makes sense to use threads when there are many output files defined in a single DDX file. one DDX, lots of files, that's the moment. π--verboseβ prints extra information. more words, more better. π--debugβ prints debugging information. for when you need to know why, not just what. π--snmpdebugβ prints SNMP protocol details
π FILES π
/etc/torrus/conf/devdiscover-siteconfig.plβ thedevdiscoversite configuration file. that's where the site-level settings live. π
π SEE ALSO π
π§ NOTES π§
for more details, see the Torrus SNMP Discovery User Guide over at the Torrus home page: http://torrus.org β go read it, iykyk. πΈ
β AUTHOR β
Stanislav Sinyagin <ssinyagin@k-open.com> β the icon, the legend, the moment. π
and that's the whole page, bestie!! this is torrus 3.00, dated 2023-05-02 β mwah, slay, go discover some SNMP π β¨π¦
π¦ 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