ENADIS.CGI(8)
πΈ ENADIS.CGI(8) β the group chat guide to your fave little CGI π
okay bestie, buckle up, because enadis.cgi is genuinely one of the most useful little gremlins in the whole System Manager's Manual and I need you to be obsessed with it like I am. β¨
β¨ NAME β¨
enadis.cgi β a CGI program that enables and disables Xymon tests. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
enadis.cgi (invoked via CGI from webserver)
like she doesn't take arguments from you directly, she gets invoked by the webserver. main character energy fr fr. π
π DESCRIPTION π
so enadis.cgi is a CGI tool for disabling and enabling hosts and tests monitored by Xymon. no cap, that's her whole thing. and she's flexible too: you can disable monitoring of
- a single test,
- all tests for a host,
- or multiple hosts,
and you can do it immediately or at a future point in time. the scheduling?? iconic. ποΈβ¨
she runs as a CGI program, invoked by your webserver. normally she's run via a wrapper shell-script in the secured CGI directory for Xymon. iykyk. π
and here's the part that matters: enadis.cgi is the back-end script for the enable/disable form that lives on the "info" status-pages. she can also run in "stand-alone" mode, and in that case she displays a web form letting users select what to enable or disable. so she's both the back-end AND the front-facing queen. multitasking, we love to see it. π
π OPTIONS π
--no-cookiesβ normally,enadis.cgiuses a cookie sent by the browser to initially filter the list of hosts presented. if that's not the vibe for you, you can turn this behaviour off by callingacknowledge.cgiwith the--no-cookiesoption. (yes, bestie, that is literally what it says, i'm just the messenger π«Ά) this would normally be placed in theCGI_ENADIS_OPTSsetting incgioptions.cfg(5).--env=FILENAMEβ load the environment from FILENAME before executing the CGI. like a lil pre-game ritual. π--area=NAMEβ load environment variables for a specific area. NB: if used, this option must appear before any--env=FILENAMEoption. order matters, bestie, don't test her. π
π FILES π
$XYMONHOME/web/maint_{header,form,footer}β HTML template header
π BUGS π
okay so this is the part where she's not perfect and we have to be honest: when using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. so if you have hosts on multiple pages, they will only be visible for disabling from their main page β which is, and i quote, "not what you would expect." π not me getting jump-scared by this behaviour. anyway. forewarned is forearmed. π
π SEE ALSO π
and that's the whole page, bestie!! you understood the assignment π«Ά
this lil love letter was brought to you by Xymon, Version 4.3.30: 4 Sep 2019. slay, bye πβ¨π
π¦ 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