CRITICAL.CFG(5)

πŸ’– CRITICAL.CFG(5) πŸ’–

okay bestie, gather round, because this is the tea on critical.cfg β€” it's a File Formats Manual page and it's literally the little config file that runs the show. no cap.


✨ NAME ✨

critical.cfg β€” the configuration of the showgraph CGI. yes, that's what it says. that's the whole name. slay.


✨ SYNOPSIS ✨

$XYMONHOME/etc/critical.cfg

that's it. that's the path. iconic.


✨ DESCRIPTION ✨

so critical.cgi(1) reads this config file β€” $XYMONHOME/etc/critical.cfg β€” to figure out which of the statuses that are currently sitting in a red or yellow state should actually show up on the Critical Systems view. like, it's the bouncer at the club deciding who gets in. πŸ’…

⚠️ bestie, do NOT edit this file by hand. seriously. it's maintained by criticaleditor.cgi(1), which is a whole web-based frontend. it's giving "hands off, the tool handles it." 🫢

✨ FILE PERMISSIONS ✨

okay so because this file is kept alive by a web front-end tool, the userid that's running the Web CGI scripts must have write-permission to the file. no write permission, no vibes. 😭

typically that means:

  • it needs to have a group-ownership matching your webserver userid, and
  • it needs group-write permissions β€” that's mode 664.

and here's the lil plot twist: when you edit the file through the web front-end, a backup file gets created. so the critical.cfg.bak file needs to have identical permissions. same energy, same access, fr fr. πŸŽ€


✨ SEE ALSO ✨

go read those too, iykyk. 🌸


okay that's the whole page, mwah πŸ’‹ this lil love letter came to you from Xymon, Version 4.3.30: 4 Sep 2019 β€” periodt. πŸ¦‹βœ¨

πŸ“¦ where this page comes from