HOSTGRAPHS.CGI(1)
β¨ HOSTGRAPHS.CGI(1) β the hostgraphs.cgi glow-up β¨
General Commands Manual π bestie, pull up a chair, we're looking at the CGI script that shows you multiple graphs at once.
πΈ NAME πΈ
hostgraphs.cgi β a CGI program that shows you a whole bunch of graphs, like a little gallery but make it monitoring πβ¨
π SYNOPSIS π
hostgraph.cgi
(yeah that's it, she's low maintenance)
π¦ DESCRIPTION π¦
okay so. hostgraph.cgi gets invoked as a CGI script, and it gets there via the hostgraph.sh CGI wrapper. that's the whole entrance situation. πͺβ¨
If you invoke it with no parameters at all? She serves you a form. A cute little form where you pick a time period, one or more hosts, and a set of graphs. Very choose-your-own-adventure, very main character energy. π«Ά
Then all those parameters you picked get passed to a second invocation of hostgraph.cgi, and that one gives you a webpage with a list of graph images, built from the trend data stored about the hosts. it's giving glow-up, honestly. π₯
If you select multiple graph-types, hostgraph.cgi shows you a list of graphs β one graph per type. Simple. Clean. Iconic. π
If you select multiple hosts, hostgraph.cgi will try to show a multi-host graph for each type, where all the hosts' graphs get overlayed into a single image. so you can compare them side by side without playing spot-the-difference. it's the comparison arc we deserve π
Now, the hostlist: it uses the PAGEPATH cookie that Xymon webpages provide, to figure out which hosts to present. Only the hosts visible on the page where hostgraph.cgi is invoked from will be visible. no sneaky peeking at hosts that aren't on that page, periodt. π«π
And bestie, listen β the resulting graph page can be bookmarked! cute! but β οΈ the bookmark also fixates the time period shown. so your bookmark is a lil time capsule. it will always show that period. not a bug, just the vibe. π°οΈ
π OPTIONS π
--env=FILENAMEβ loads the environment defined inFILENAMEbefore executing the CGI script. basically a pre-game warmup for your env vars π
π BUGS π
ngl, some stuff here is a little unhinged:
- This utility is experimental. It may change in a future release of Xymon. so don't get too attached, she's still figuring herself out π
- It is possible for the user to select graphs which do not exist. This results in broken image links. yeah. you'll get the little sad broken-image icon. we've all been there π
- The set of graph-types is fixed in the
server/web/hostgraphs_formtemplate and does not adjust to which graphs are actually available. so the menu is the menu, whether the graphs show up or not. she does not read the room π - If the tool is invoked directly, all hosts defined in Xymon will be listed. every single one. no filtering, no chill. π₯
π SEE ALSO π
hosts.cfg(5), xymonserver.cfg(5) β go read your besties too π«Ά
okay that's the whole page!! mwah π this manual page came to you from Xymon, Version 4.3.30, dated 4 Sep 2019 β an absolute vintage, we love a classic, slay β¨ππ¦
π¦ where this page comes from
- debian bookworm: xymon 4.3.30-1+b2 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: xymon 4.3.30-4 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon 4.3.30-1build2 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon 4.3.30-1ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon 4.3.30-2build3 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon 4.3.30-2ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: xymon 4.3.30-4
- ubuntu resolute: xymon 4.3.30-5 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: xymon 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