CRITICALVIEW.CGI(1)
π CRITICALVIEW.CGI π
okay bestie, so this is the manual page for criticalview.cgi β it lives in section 1 of the General Commands Manual and honestly? she's a little legend. sit down, grab a strawberry, let's get into it πβ¨
β¨ NAME β¨
criticalview.cgi β the Xymon Critical Systems view CGI. that's her. that's the whole vibe. π
πΈ SYNOPSIS πΈ
criticalview.cgi
no args, no drama, she just is. periodt.
π¦ DESCRIPTION π¦
so criticalview.cgi gets invoked as a CGI script β and like, through the criticalview.sh CGI wrapper, okay? that's the whole entrance, the red carpet moment. π
what she does: she takes all the current critical statuses and matches them up against the critical.cfg(5) file. then she generates the "Critical Systems" view. that's it. that's the job. no cap.
π RELATION TO OLD CRITICAL PAGE π
okay this is the glow-up section. this view is a replacement for the statically generated "critical" page that shipped in versions of Xymon prior to version 4.2. so old money, basically.
and yeah, the "critical" pages are still supported all the way through Xymon 4.x β no one's coming for them β but the recommendation is that You (capital-Y You, bestie) switch over to the newer Critical Systems view that this CGI gives you. it's giving upgrade era. π«Ά
π OPTIONS π
--acklevel=NUMBERβ sets the acknowledgment level for acknowledgments that get sent through theackinfo.cgi(1)page. heads up tho: this can be overridden by the configuration of theackinfo.cgiutility. so she says one thing, the config might say another. π--tooltipsβ hides the host description inside a"tooltip", which means it only pops up when your mouse hovers over the hostname on the webpage. super lowkey. and the reason it slaps? it saves space on the display so there's way more room for the status columns. main character energy, minimal footprint. β¨--hffile=PREFIXβ defines the header/footer files used when building the webpage. the actual files it uses will bePREFIX_headerandPREFIX_footer, and they live in the~xymon/server/web/directory. Default:critical.--env=FILENAMEβ loads the environment defined inFILENAMEbefore executing the CGI script. pre-game ritual, basically. πΈ--area=NAMEβ loads environment variables for a specific area. NB: if you use this one, it must appear before any--env=FILENAMEoption. order matters, bestie, don't play yourself. π--debugβ enables debugging output. she starts telling you everything. π--config=FILENAMEβ useFILENAMEas the configuration file for the Critical Systems information. the default is to load this from$XYMONHOME/etc/critical.cfg.--config=ID:FILENAMEβ allows the use of multiple Critical Systems configuration files on a single webpage."ID"is a text that will be shown on the web page prior to the critical systems fromFILENAME. and the fun part: this option can be repeated to include critical systems from multiple configurations. stacking them like bracelets. π
π§ ENVIRONMENT VARIABLES π§
XYMONHOMEβ used to locate the template files for the generated web pages. she needs to know where home is. relatable.QUERY_STRINGβ contains the parameters for the CGI script. the receipts, basically. π
π SEE ALSO π
okay that's the whole page, go forth and be critical (systems view). π₯
signed, sealed, delivered: this page is brought to you by Xymon, Version 4.3.30, dated 4 Sep 2019 β mwah, love that for us ππ«
π¦ 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