RECAP.CONF(5)
πΈ RECAP.CONF πΈ
okay bestie, welcome to the recap.conf page β that's the recap configuration file, and it lives in the File Formats Manual section of the man pages. grab a snack, we're going in π
β¨ NAME β¨
recap.conf β the recap configuration file, aka the glow-up settings sheet for recap π
π DESCRIPTION π
so like, the /etc/recap.conf file holds all the configuration info for recap. it's where you stash the default values that decide which reports get generated and how many reports are generated. it's giving "control room" energy fr fr.
and where do the output files from the script actually go? they get written to BASEDIR. that's the spot. periodt.
π OPTIONS π
BASEDIRβ the directory where recap logs get written. if it's defined, it's used byrecaplogandrecaptool. (default:/var/log/recap) πMAILTOβ set this variable if you want your reports to be sent over email. like, sliding into your inbox πMIN_FREE_SPACEβ the minimum free disk space (in MB) that's required in${BASEDIR}for recap to even run. (Disabled by default) (default:0) π¨
π REPORTS π
USEFDISKβ can be set toyesornoto enable or not"fdisk ${OPTS_FDISK}". this output is written in${BASEDIR}/fdisk.log(default:no)USEPSβ can be set toyesornoto enable or disable theps.log. (default:yes)USERESOURCESβ can be set toyesornoto enable or disable theresources.log. (default:yes)USEDFβ can be set toyesornodepending on whether or not"df ${OPTS_DF}"output should be stored in the report output. β οΈ this requires thatUSERESOURCESbe set toyes. (default:yes)USESLABβ can be set toyesornodepending on whether or not the slab counters should be stored in the report output. β οΈ this requires thatUSERESOURCESbe set toyes. (default:no)USESARβ can be set toyesornodepending on whether or not"sar"output should be stored in the report output. β οΈ this requires thatUSERESOURCESbe set toyes. (default:yes)USESARQβ can be set toyesornodepending on whether or not"sar -q"(Queue length, load) output should be stored in the report output. β οΈ this requires thatUSERESOURCESbe set toyes. (default:no)USESARRβ can be set toyesornodepending on whether or not"sar -r"(memory data) output should be stored in the report output. β οΈ this requires thatUSERESOURCESbe set toyes. (default:no)USEFULLSTATUSβ can be set toyesornodepending on whether or not a http request (GET) toOPTS_STATUSURLis required. it requires that the webserver url (OPTS_STATUSURL) is configured to respond to this request. Nginx (nginx_status) and Apache HTTPD (server-status) both offer a functionality to provide the status of the webserver via URL. β οΈ this requires thatUSERESOURCESbe set toyes. (default:no)USEPSTREEβ can be set toyesornodepending on whether or not the output of the"pstree"command should be recorded. makes use ofOPTS_PSTREEto modify its options. π³ please note that this output is written to a separate file in${BASEDIR}/pstree.log(default:no)USENETSTATβ can be set toyesornodepending on whether or not the output of"ss ${OPTS_NETSTAT}"command should be recorded. please note that this output is written to a separate file in${BASEDIR}/netstat.logβ and it's required byUSENETSTATSUM. (default:yes)USENETSTATSUMβ can be set toyesornodepending on whether or not the output of"nstat ${OPTS_NETSTAT_SUM}"command should be recorded. β οΈ this report requires thatUSENETSTATbe set to"yes". this output is written in${BASEDIR}/netstat.log(default:no)USEMYSQLβ can be set toyesornodepending on whether or not the output of"mysqladmin status"command should be recorded. π¨ before enabling this option, please make sure thatDOTMYDOTCNFpoints to the file that has appropriate credentials for accessing MySQL. please note that this output is written to a separate file in${BASEDIR}/mysql.log(default:no)USEMYSQLPROCESSLISTβ can be set toyesornodepending on whether or not the output of"mysqladmin processlist"command should be recorded. β οΈ this report requires thatUSEMYSQLbe set to"yes". this option makes use ofMYSQL_PROCESS_LIST, to produce the output vertical or in a table. this output is written in${BASEDIR}/mysql.log(default:no)USEINNODBβ can be set toyesornodepending on whether or not the output of"mysql show engine innodb status"and other variables (pid_files, tmpdir) command should be recorded. β οΈ this report requires thatUSEMYSQLbe set to"yes". this output is written in${BASEDIR}/mysql.log(default:no)
π¦ COMMAND OPTIONS π¦
options used by the tools generating the reports, iykyk π§
DOTMYDOTCNFβ option required byUSEMYSQL,USEMYSQLPROCESSLIST,USEINNODB. it defines the path to the mysql client configuration file. (default:"/root/.my.cnf")MYSQL_PROCESS_LISTβ the format to display the MySQL process list. options are"table"or"vertical". β οΈ this requires thatUSEMYSQLPROCESSLISTbe set"yes". (default:table).OPTS_LINKSβ options used by links, when usingUSEFULLSTATUS(default:'-dump')OPTS_DFβ df options (default:'-x nfs')OPTS_FDISKβ option used byUSEFDISK. (default:"-l")OPTS_FREEβ free options (default:"")OPTS_IOSTATβ iostat options (default:"-t -x 1 3")OPTS_IOTOPβ iotop options (default:"-b -o -t -n 3")OPTS_NETSTATβ ss options (default:"-atunp")OPTS_NETSTAT_SUMβ nstat statistics options (default:"-a")OPTS_PSβ ps options (default:"auxfww")OPTS_PSTREEβ pstree options (default:"-p")OPTS_STATUSURLβ the URL to perform the http request on whenUSEFULLSTATUSis enabled. (default:"http://localhost:80/server-status")OPTS_VMSTATβ vmstat options (default:"-S M 1 3")
π REPORTING BUGS π
found a bug? an issue? a little glitch that's giving chaos? bestie, submit it via github: <https://github.com/rackerlabs/recap/issues>. they'll take care of you, no cap π«Ά
π AUTHOR π
the recap scripts are maintained by Rackspace, and the full list of contributors is available at <https://github.com/rackerlabs/recap/blob/master/CHANGELOG.md#contributors>. iconic behaviour honestly π
π SEE ALSO π
recap(8), recaplog(8), crontab(5) systemd.timer(5)
and that's the whole page, bestie!! this one's from the File Formats Manual, dated July 7, 2017 β yeah she's an elder but she ATE and she's still serving. go configure something slay πβ¨π
π¦ where this page comes from
- debian bookworm: recap 2.1.0-1 Β· GPL-2.0-or-later
- debian trixie: recap 2.1.0-1 Β· GPL-2.0-or-later
- epel 9: recap 2.1.0-13.el9 Β· GPLv2
- fedora 43: recap 2.1.0-17.fc41 Β· GPLv2
- fedora 43: recap 2.1.0-21.fc43 Β· GPL-2.0-only
- fedora 44: recap 2.1.0-22.fc44 Β· GPL-2.0-only
- ubuntu jammy: recap 2.1.0-1 Β· GPL-2.0-or-later
- ubuntu noble: recap 2.1.0-1 Β· GPL-2.0-or-later
- ubuntu resolute: recap 2.1.0-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: recap 2.1.0-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms