STATUSREPORT.CGI(1)
π STATUSREPORT.CGI π
okay bestie, so this is statusreport.cgi, a CGI program that spills the tea on the status of a whole group of servers. it lives in section 1 of the manual (General Commands Manual), which is giving very "type it in your terminal" energy β¨
β¨ NAME β¨
statusreport.cgi β a CGI program that reports a status for a group of servers π«Ά
π SYNOPSIS π
statusreport.cgi --column=COLUMNNAME [options]
πΈ DESCRIPTION πΈ
so like, statusreport.cgi is a CGI tool that makes a simple HTML report showing the current status of a single column for a group of Xymon hosts. one column, all the hosts, one cute little table. periodt π
for example (fr fr, this is the actual vibe): you can use this report to get an overview of all of the SSL certificates that are about to expire. not me being the most useful tool in the whole Xymon directory π
the generated webpage is a simple HTML table, and it's suitable for copying into other documents or e-mail. slay, portable queen π
statusreport.cgi runs as a CGI program, invoked by your webserver. it's normally run via a wrapper shell-script in the CGI directory for Xymon. iykyk π§
π₯ EXAMPLES π₯
the Xymon installation includes two web report scripts using this CGI tool, and they ate:
- the
certreport.shscript generates a list of SSL server certificates that are yellow or red (i.e. they will expire soon) β like, go fix those bestie, they're about to ghost you π - the
nongreen.shscript generates a report of all statuses that are currently non-green β all the drama, in one table
these can be accessed from a web browser through a URL referencing the script in the Xymon CGI directory (e.g. "/xymon-cgi/xymon-nongreen.sh"). iconic π
π OPTIONS π
--column=COLUMNNAMEβ report the status of the COLUMNNAME column. this is the main character option, everything else is supporting cast π--allβ report the status for all hosts known to Xymon. by default, this tool reports only on the hosts found on the current page from where the CGI was invoked (by looking at the"pagepath"cookie). so without this flag it's like, "just my page bestie", and with it it's "everyone, come through" π--filter=CRITERIAβ only report on statuses that match the CRITERIA setting. see thexymon(1)man-page β in the"xymondboard"command description β for details about specifying filters. yes, it's a whole other manual, go read it, i'll wait π«Ά--heading=HTMLβ defines the webpage heading, i.e. the"title"tag in the generated HTML code. give your report a cute name, it deserves one π--show-columnβ include the column name in the display. like, tell the people which column this even is π--show-colorsβ show the status color on the generated webpage. the default is to not show the status color. (so if you want the colors, you have to ask for them, she's not gonna assume β)--no-colorsβ do not include text showing the current color of each status in the report. this is the default. so it's just, like, the calm neutral option πΈ--show-summaryβ show only a summary of the important lines in the status message. by default, the entire status message appears in the generated HTML code. this option causes the first non-blank line of the status message to be shown, and also any lines beginning with"&COLOR"which is used by many status messages to point out lines of interest (non-green lines only, though). tl;dr: the sparknotes version, and it only shows the interesting non-green bits π--show-messageβ show the entire message on the webpage. this is the default. the full essay, no cuts, director's commentary and all π--linkβ include HTML links to the host"info"page, and the status page. clickable, navigable, connected π«--embeddedβ only generate the HTML table, not a full webpage. this can be used to embed the status report into an external webpage. like a little widget you can drop anywhere, so versatile π¦--env=FILENAMEβ load the environment from FILENAME before executing the CGI π±--area=NAMEβ load environment variables for a specific area. NB: if used, this option must appear before any--env=FILENAMEoption. β οΈ so like, order matters bestie, put it first or it's not gonna work, no cap
π SEE ALSO π
β οΈ quick vibe check:statusreport.cgiis a CGI program β it gets invoked by your webserver, not by you typing it all casual. and it's normally run via a wrapper shell-script in the CGI directory for Xymon. also don't forget the--area=NAMEbefore--env=FILENAMEthing, that one's a whole trap π
and that's the whole page bestie, we did it π this gorgeous thing is from Xymon, Version 4.3.30: 4 Sep 2019, filed under STATUSREPORT.CGI(1) β go make a cute HTML table, mwah πβ¨π¦
π¦ 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