summaryrefslogtreecommitdiffstats
path: root/share/man/man5/periodic.conf.5
Commit message (Collapse)AuthorAgeFilesLines
* MFC r316945-r316946asomers2017-05-051-0/+9
| | | | | | | | | | | | | | | | | r316945: Add 410.status-mfi, a periodic script for mfi(4) arrays PR: 176049 Submitted by: doconnor@gsoft.com.au Reviewed by: scottl, Larry Rosenman <ler@lerctr.org> Relnotes: yes r316946: Reorder Makefile entries from r316945 PR: 176049 Reported by: Oliver Pinter X-MFC-With: 316945
* MFC r316342, r316358asomers2017-04-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | r316342: Consolidate random sleeps in periodic scripts Multiple periodic scripts sleep for a random amount of time in order to mitigate the thundering herd problem. This is bad, because the sum of multiple uniformly distributed random variables approaches a normal distribution, so the problem isn't mitigated as effectively as it would be with a single sleep. This change creates a single configurable anticongestion sleep. periodic will only sleep if at least one script requires it, and it will never sleep more than once per invocation. It also won't sleep if periodic was run interactively, fixing an unrelated longstanding bug. PR: 217055 PR: 210188 Reviewed by: cy MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D10211 r316358: Fix man page typo from r316342 Reported by: rgrimes MFC after: 20 days X-MFC-With: 316342
* Fix bunch of .Xrs.trasz2016-03-281-4/+4
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Allow additional flags to be passed to netstat -i in the daily status check.jhb2015-03-271-1/+11
| | | | | | | | | | | | | | In particular, this allows an administrator to specify "-h" for human readable output if that is preferred. The default setting passes "-d", so that can be excluded by using a custom setting. Differential Revision: https://reviews.freebsd.org/D2034 Submitted by: Lystopad Aleksandr <laa@laa.zp.ua> (patch to add option for -h) Reviewed by: bz MFC after: 1 week
* - Align comment for df flags variable in periodic.conf.jhb2015-03-131-1/+3
| | | | | | - Note default value of df flags variable in periodoc.conf(5). MFC after: 1 week
* o Typo: securiy -> security.maxim2015-02-221-6/+6
| | | | | | PR: 197927 Submitted by: mike.543@comcast.net MFC after: 1 week
* Evaluate running userland/kernel version in dailygjb2015-01-151-1/+6
| | | | | | | | | | periodic(8) run, taken from uname(1) '-U' and '-K' flags. Reviewed by: allanjude, dvl Differential Revision: https://reviews.freebsd.org/D1541 MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Various mdoc fixes.brueffer2014-12-211-1/+1
| | | | Found with: mandoc -Tlint
* use .Mt to mark up email addresses consistently (part6)bapt2014-06-231-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* Clean up manual pages after BIND removal.pluknet2013-12-251-12/+1
| | | | MFC after: 1 week
* Since r254974, periodic scripts' period can be configuredjlh2013-09-031-208/+236
| | | | | independently. There is no reason to leave their options with the daily ones, so move them to their own section.
* mdoc fixjoel2013-08-281-1/+1
|
* Make the period of each periodic security script configurable.jlh2013-08-271-18/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now six additional variables weekly_status_security_enable weekly_status_security_inline weekly_status_security_output monthly_status_security_enable monthly_status_security_inline monthly_status_security_output alongside their existing daily counterparts. They all have the same default values. All other "daily_status_security_${scriptname}_${whatever}" variables have been renamed to "security_status_${name}_${whatever}". A compatibility shim has been introduced for the old variable names, which we will be able to remove in 11.0-RELEASE. "security_status_${name}_enable" is still a boolean but a new "security_status_${name}_period" allows to define the period of each script. The value is one of "daily" (the default for backward compatibility), "weekly", "monthly" and "NO". Note that when the security periodic scripts are run directly from crontab(5) (as opposed to being called by daily or weekly periodic scripts), they will run unless the test is explicitely disabled with a "NO", either for in the "_enable" or the "_period" variable. When the security output is not inlined, the mail subject has been changed from "$host $arg run output" to "$host $arg $period run output". For instance: myfbsd security run output -> myfbsd security daily run output I don't think this is considered as a stable API, but feel free to correct me if I'm wrong. Finally, I will rearrange periodic.conf(5) and default/periodic.conf to put the security options in their own section. I left them in place for this commit to make reviewing easier. Reviewed by: hackers@
* Remove references to ataraid(4) and atacontrol(8).joel2013-04-041-9/+0
|
* Bump date for content missed in r236290eadler2012-05-311-1/+1
| | | | | | | Submitted by: gjb Approved by: cperciva (implicit) MFC after: 3 days X-MFC-With: r236290
* Document daily_status_security_chkportsum_enableeadler2012-05-301-0/+6
| | | | | | | | PR: docs/167980 Submitted by: "Bryan Drewery" <bryan@shatow.net> Reported by: rank1seeker@gmail.com Approved by: cperciva MFC after: 2 weeks
* Add an option to 404.status-zfs (enabled by default) to list allgjb2012-02-081-1/+23
| | | | | | | | | | | | | zfs pools on the system. While here, document daily_status_zfs_enable in periodic.conf(5). Discussed on: -fs [1] Reviewed by: netchild [1] Approved by: jhb MFC after: 1 week [1] - http://lists.freebsd.org/pipermail/freebsd-fs/2011-June/011869.html
* As of r226865, daily_scrub_zfs_default_threshold is 35 days; documentgjb2011-12-081-2/+2
| | | | | | | | | | accordingly. PR: 162890 Submitted by: Oliver Hartmann (ohartman ! mail.zedat.fu-berlin.de) Patch by: Niclas Zeising (niclas.zeising ! gmail.com) MFC after: 1 week X-Need-MFC: r226865
* Add an (off by default) check for negative permissions (where thebrooks2010-11-131-0/+8
| | | | | | | | group on a object has less permissions that everyone). These permissions will not work reliably over NFS if you have more than 14 supplemental groups and are usually not what you mean. MFC after: 1 week
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Add a periodic zfs scrub script.netchild2010-06-151-1/+20
| | | | | | | | | | | | | | | | | Features: - configurable amount of days between scrubs (default value or per pool) - do not scrub directly after pool creation (respects the configured number of days between scrubs) - do not scrub if a scrub is in progress - tells how to see the status of the scrub - tells how many days since the last scrub if it skips the scrubbing - warns if a non-existent pool is specified explicitely (default: no pools specified -> all currently imported pools are handled) - runs late in the periodic run to not slow down the other periodic daily scripts Discussed on: fs@
* o Add a script to check ntpd(8) state. Default is off.maxim2007-05-131-1/+6
| | | | | | PR: conf/112604 Submitted by: Oliver Fromme MFC after: 1 month
* Reword previous commit, now supporting better English.trhodes2006-09-041-3/+3
| | | | Discussed with: ceri
* Belated update for login.conf checks.trhodes2006-09-031-1/+11
| | | | Bump doc date.
* The kvm_mkdb(8) is long dead.ru2006-08-291-18/+1
|
* Markup polishing.ru2006-08-291-98/+102
|
* Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.mlaier2006-05-121-14/+0
| | | | | Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw scripts as well.
* Actually bump the date to the commit-date for the last commit.brueffer2006-03-021-1/+1
|
* Document the graid3(8), gstripe(8) and gconcat(8) periodic scripts.brueffer2006-03-021-1/+28
|
* Document the daily_status_ata_raid_enable and daily_status_gmirror_enablebrueffer2006-01-311-1/+19
| | | | variables.
* Remove references to rdist(1) and friends.jhb2005-11-291-18/+0
| | | | Submitted by: Björn König
* Use 'manual page' instead of 'man page' for consistency.hmp2005-06-301-2/+2
| | | | Approved by: re (hrs)
* Expand contractions.ru2005-02-131-2/+2
|
* Scheduled mdoc(7) sweep.ru2005-01-121-1/+1
|
* Teach periodic(8) security output to display information about blockedmlaier2004-11-241-1/+8
| | | | | | | | | | | | | | | | | | packet counts by pf(4). This adds a ``daily_status_security_pfdenied_enable'' variable to periodic.conf, which defaults to ``YES'' as the matching IPF(W) versions. The output will look like this (line wrapped): pf denied packets: > block drop log on rl0 proto tcp all [ Evaluations: 504986 Packets: 0 Bytes: 0 States: 0 ] > block drop log on rl0 all [ Evaluations: 18559 Packets: 427 Bytes: 140578 States: 0 ] Submitted by: clive (thanks a lot!) MFC after: 2 weeks
* Add a knob 'daily_status_security_diff_flags' controlling thejkoshy2004-09-231-0/+8
| | | | | | | format of the 'diff' output generated during periodic(8) scripts. Submitted by: keramida (script changes) Reviewed by: keramida (man page changes)
* Assorted markup, spelling, and grammar fixes.ru2004-06-161-7/+13
|
* Spelling and grammar fixups.ceri2004-06-051-2/+2
|
* Describe pkg_version_indexbrian2004-05-301-0/+21
| | | | Reviewed by: joe
* mdoc(7) police: Scheduled sweep.ru2003-02-241-7/+7
|
* Give more information to users replacing sendmail regarding periodic'sgshapiro2003-02-081-0/+2
| | | | | | submit mail queue check. PR: docs/38924
* Do not do manually what sendmail(8) can do better automatically.wollman2003-01-081-13/+12
| | | | | Tell sendmail to clean up its own host status cache. The error condition handling could probably be done better.
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* Add a new /etc/periodic/security script to check for packetsthomas2002-10-251-0/+7
| | | | | | | | rejected by ipfilter (510.ipfdenied), and a corresponding periodic.conf knob (daily_status_security_ipfdenied_enable). Reviewed by: roberto Approved by: re@
* Add a pkg_version variable so that it's possible to run portsversion insteadbrian2002-09-251-0/+14
| | | | of pkg_version in periodic/weekly/400.status-pkg.
* Update mail queue related periodic scripts to account for sendmail 8.12'sgshapiro2002-04-101-0/+19
| | | | | | | | | | | | | | | | | | | | clientmqueue (submit mail queue). The new mailq display is only active if both the old daily_status_mailq_enable is set to "YES" and the new daily_status_include_submit_mailq is set to "YES" so people who disabled 440.status-mailq won't have any surprises. Likewise, the new queue run is only active if both the old daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun is set to "YES" so people who disabled 500.queuerun won't have any surprises. While I am here, remove the [ ! -d /var/spool/mqueue ] checks from both scripts as the queue directory isn't always /var/spool/mqueue for the main daemon -- it can be set to anything in the sendmail.cf file. MFC after: 1 week
* Fix spelling errors.mpp2002-01-211-4/+4
|
* Mark daily_news_expire_enable as a variable, not a path.sheldonh2002-01-171-1/+1
|
* Long ago, there was just /etc/daily. Then /etc/security was split outcjc2001-12-071-9/+92
| | | | | | | | | | of /etc/daily. Some time later, /etc/daily became a set of periodic(8) scripts. Now, this evolution continues, and /etc/security has been broken into periodic(8) scripts to make local customization easier and more maintainable. Reviewed by: ru Approved by: ru
* Fixed two typos.ru2001-11-271-2/+2
| | | | | PR: docs/32327 Submitted by: Frans Haarman <frans@haarman.com>
OpenPOWER on IntegriCloud