XYMONCFG(1)
π XYMONCFG π
okay so bestie, welcome to the xymoncfg page from the General Commands Manual β yes it's section 1, yes it's a command, yes it's lowkey iconic π
β¨ NAME β¨
xymoncfg β output the full hosts.cfg file π¦
πΈ SYNOPSIS πΈ
xymoncfg [--web] [--net] [filename]
π DESCRIPTION π
so xymoncfg(1) dumps the full hosts.cfg file straight to stdout. no cap. it follows the include tags inside your hosts.cfg files and prints out the whole entire contents exactly as seen by the xymongen(1) and xymonnet(1) utilities π
basically it's giving "here's the receipts, all of them, nothing hidden" β¨
if you don't hand it a filename, xymoncfg just shows you the file that the HOSTSCFG environment variable is pointing at. simple as that π«Ά
π OPTIONS π
--webβ shows thehosts.cfgfile followingincludestatements the way a Xymon web-server would do it π--netβ shows thehosts.cfgfile followingincludestatements the way it gets done when you runxymonnetπ-sβ outputs only the lines that look like environment variable definitions, in a format that's suitable for Bourne-style shells (thinkbash,ksh). you'll probably not use this with the defaulthosts.cfginput file, but like, e.g.xymonserver.cfgis the vibe. and to define all the variables inxymonserver.cfginside your shell script, you can use:
eval `xymoncfg -s /etc/xymon/xymonserver.cfg`
-cβ similar to-s, but for C-shell. same energy, different shell π
π§ ENVIRONMENT VARIABLES π§
HOSTSCFGβ filename for thehosts.cfg(5)file. it's the fallback bestie when you don't pass a filename πΈ
π SEE ALSO π
hosts.cfg(5), xymonserver.cfg(5)
and that's the whole thing, periodt π this lil gem is brought to you by Xymon, Version 4.3.30, dated 4 Sep 2019 β mwah, go read your config files bestie, ily π«Άβ¨
π¦ where this page comes from
- debian bookworm: xymon-client 4.3.30-1+b2 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: xymon-client 4.3.30-4 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon-client 4.3.30-1build2 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon-client 4.3.30-1ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon-client 4.3.30-2build3 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon-client 4.3.30-2ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: xymon-client 4.3.30-4
- ubuntu resolute: xymon-client 4.3.30-5 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: xymon-client 4.3.30-6 Β· GPL-2.0-only WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms