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 in FILENAME before 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_form template 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