ACKNOWLEDGE.CGI(1)
β¨ NAME β¨
Okay bestie, welcome to ACKNOWLEDGE.CGI(1) π Meet acknowledge.cgi, the Xymon CGI script that lets you acknowledge alerts. It's literally the one you need when you want to say "yep, I've got this" π
π SYNOPSIS π
acknowledge.cgi?ACTION=action&NUMBER=acknum&DELAY=validity&MESSAGE=text
πΈ DESCRIPTION πΈ
So acknowledge.cgi doesn't just show up alone π§ It gets invoked as a CGI script through the acknowledge.sh CGI wrapper, which is lowkey its ride to the party.
It gets handed a QUERY_STRING environment variable holding the ACTION, NUMBER, DELAY and MESSAGE parameters. Main character energy, no cap π
π¦ PARAMETERS π¦
ACTIONβ the move you want it to make. The only one it supports is"Ack", which acknowledges an alert β¨NUMBERβ the number that identifies the host/service you're acknowledging. Good news: Xymon includes it in every alert message it sends out π₯DELAYβ how long the acknowledge stays valid, in minutes β°MESSAGEβ an optional note that shows up on the status page while the acknowledgment is active. Use it to tell people not to contact you about the problem, or to let them know when it's expected to be resolved π«Ά
π OPTIONS π
--no-pinβ normally the user has to type in the acknowledgment code from an alert message. Run it with this option and they instead get a list of the current non-green statuses, and they can send an acknowledge without knowing the code π--no-cookiesβ normally it uses the cookie your browser sends to pre-filter the list of hosts. If you don't want that, switch it off by callingacknowledge.cgiwith--no-cookies. This usually goes in theCGI_ACK_OPTSsetting incgioptions.cfg(5)π--env=FILENAMEβ loads the environment defined inFILENAMEbefore the CGI script runs π--debugβ turns on debugging output π
π· FILES π·
$XYMONHOME/web/acknowledge_headerβ the HTML header for the generated web page π$XYMONHOME/web/acknowledge_footerβ the HTML footer for the generated web page π¦$XYMONHOME/web/acknowledge_formβ the query form that pops up whenacknowledge.cgiis called with no parameters π
π§ ENVIRONMENT VARIABLES π§
XYMONHOMEβ used to find the template files for the generated web pages πΈQUERY_STRINGβ holds the parameters for the CGI script π₯
π BUGS π
Okay, this one's a little messy, bestie π When you're using alternate pagesets, hosts only show up on the acknowledgment page if you access it from the primary page where they're defined. So if your hosts are spread across multiple pages, they'll only be visible for acknowledging from their main page, which is not what you'd expect.
π SEE ALSO π
xymongen(1), hosts.cfg(5), xymonserver.cfg(5) β
That's the tea, bestie π«Ά This was Xymon 4.3.30, from 4 Sep 2019. Now go acknowledge something and make it iconic! πβ¨
π¦ 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 claude-haiku-5-5 on : a language model's rewrite of the original, under its terms