summaryrefslogtreecommitdiffstats
path: root/etc/periodic/daily
Commit message (Collapse)AuthorAgeFilesLines
* add new build knobs and jigger some existing controls to improvesam2008-09-211-12/+37
| | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
* A new configuration variable, daily_status_mail_rejects_shorten, allowsdds2008-01-081-1/+8
| | | | | | | | the rejected mail reports to tally the rejects per blacklist without providing details about individual sender hosts. The default configuration keeps the reports in their original form. MFC after: 1 week
* o Install 480.status-ntpd.maxim2007-05-141-0/+1
| | | | Pointed out by: Henrik Brix Anders
* o Add a script to check ntpd(8) state. Default is off.maxim2007-05-131-0/+28
| | | | | | PR: conf/112604 Submitted by: Oliver Fromme MFC after: 1 month
* Add ZFS periodic scripts that monitors status of ZFS pools.pjd2007-04-062-0/+37
| | | | Submitted by: des
* o Add missed $start variable in the grep statement back.maxim2006-06-111-1/+1
| | | | | | PR: conf/96658 Submitted by: James Snow MFC after: 1 week
* Fix output and exit status when daily_mailq_shorten is set to YESmatteo2006-03-081-6/+8
| | | | | PR: conf/93472 MFC after: 3
* Add periodic scripts that check the status of graid3(8), gstripe(8)brueffer2006-03-024-0/+105
| | | | | | and gconcat(8) devices, respectively. Approved by: rwatson (mentor)
* When there are no interesting information in output, exit with 0.matteo2006-02-071-3/+3
| | | | | | | PR: conf/92299 Submitted by: Petr Rehor <prehor@gmail.com> Approved by: philip (mentor) MFC after: 3 days
* o Add 406.status-gmirror, sort.maxim2006-01-211-1/+2
| | | | Submitted by: brueffer
* Add a daily script to show the status of gmirror(8) devices.wollman2006-01-131-0/+34
|
* Update the test for failed zone transfers to reflect BIND 9.3.1 semanticsdougb2005-11-221-10/+8
| | | | | | | | | | Simplify the shell scripting a bit, and remove a useless grep | sed The problem was pointed out by the PR, and I used part of the solution suggested there, but the semantics changed again for 9.2.x -> 9.3.x. PR: conf/74228 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* Sed doesn't grok '[ \t]' -- it doesn't expand the \t :(brian2005-01-121-1/+1
| | | | | | | As there are no tabs in maillog, reduce the expression so that only spaces are used. Problem raised by: Leif Neland root at internet dot dk
* Oops, the < in arg1=< is optional - treat it as such!brian2005-01-111-1/+1
|
* Adjust the mail reject output so that it gives an abreviated reason for thebrian2005-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | reject. For example: Checking for rejected mail hosts: 48 getherbalnow.info (451... resolve) 46 absorb.com (451... resolve) 4 tgmart01.codns.com (553... exist) 3 kali.com.cn (451... resolve) 2 genie.com (451... resolve) 1 zv.qy (553... exist) 1 zd.hinet.hr (553... exist) .... The bit in parenthesis is the reject code and the last word on the line - enough to give the admin a better chance of seeing real problems (hopefully!). While I'm here, remove the "<" at the start of rejects coming from "from" addresses without a name@ part. I had to rewrite the patch given by the submitter as this script has been sed'ified (used to be perl) and I think the reject code is useful.... PR: 17377 Idea from: root at ns dot internet dot dk MFC after: 7 days
* Collapse "fgrep | egrep | sed" down to a single sed.brian2005-01-111-3/+1
| | | | | | This also trims extraneous commas from domain names. MFC after: 7 days
* Don't remove empty dirs if their names are in $daily_clean_tmps_ignoreache2004-02-281-3/+6
|
* Use hoststat/purgestat instead of sendmail -bh/-bH so the calls cangshapiro2004-01-021-3/+3
| | | | | | | | be properly mailwrapper'ed. PR: conf/60676 Submitted by: Colin Percival <cperciva@daemonology.net>, maxim MFC after: 4 days
* Use %e in the date(1) format string to eliminate the sed(1) command.ru2003-11-072-2/+2
|
* Add status checking of ATA raid to the daily periodic scripts.jesper2003-10-272-0/+34
|
* Remove 220.backup-distfile since it has been deleted.jhb2003-04-011-1/+0
| | | | | Reported by: mdodd Pointy hat to: jhb
* Complete removal of 320.rdist by removing its entry from periodic.conf andjhb2003-04-011-39/+0
| | | | | | | removing the related 220.backup-distfile script and associatd periodic.conf entry. Discussed with: obrien
* 320.rdist is OBE as we don't have rdist in the base system any more.obrien2003-03-291-1/+0
|
* This is OBE as we don't have rdist in the base system any longer.obrien2003-03-291-31/+0
|
* Do not do manually what sendmail(8) can do better automatically.wollman2003-01-081-25/+4
| | | | | Tell sendmail to clean up its own host status cache. The error condition handling could probably be done better.
* Add support for bzip2ed log files.se2003-01-051-1/+7
|
* Avoid using perl in the periodic & security scripts. This brings thekeramida2002-12-073-28/+29
| | | | | | base system one step closer to being totally perl-free. Approved by: re (jhb)
* When considering temporary files for deletion, don't examine the mtimejoerg2002-10-061-0/+1
| | | | | | | | | and atime only, but also the ctime. Otherwise, files extracted from tar or zip archives will immediately be declared stale since they've got their mtime reset to the original mtime. Reviewed by: brian MFC after: 1 week
* Make it work with POSIX sort (POS arg).ache2002-09-241-1/+1
| | | | All old sorts understand -k too.
* o Test and change to the correct directory, /var/spool/.hoststatschweikh2002-08-121-8/+5
| | | | | | | | o Bring if/then style in sync with /etc/rc scripts PR: conf/41570 Submitted by: Konstantin M Volevatch <cox@rosnet.ru> MFC after: 1 week
* Install scripts via FILES (purposedly not via SCRIPTS that wouldru2002-07-181-1/+1
| | | | strip the suffixes).
* Return 3 unless $daily_status_security_enable != YES.brian2002-05-171-1/+1
| | | | | | Returning $? masks security output when ``periodic security'' is successful ! MFC after: 3 days
* Fix the output when daily_status_mailq_shorten is set to YESbrian2002-05-071-4/+4
| | | | | | PR: 23766 Mostly submitted by: lambert@ssabsd.csw.net MFC after: 3 days
* Handle .bz2 files created by newsyslogbrian2002-04-301-0/+3
| | | | | | PR: 37529 Partially submitted by: Peter Hollaubek <fifteen@inext.hu> MFC after: 1 week
* Update mail queue related periodic scripts to account for sendmail 8.12'sgshapiro2002-04-102-11/+30
| | | | | | | | | | | | | | | | | | | | 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
* Set rc=1 rather than 0 so that setting daily_show_success=YES masksbrian2002-02-131-1/+1
| | | | | | | | the output of all goes well. PR: 34825 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC after: 3 weeks
* Long ago, there was just /etc/daily. Then /etc/security was split outcjc2001-12-071-18/+11
| | | | | | | | | | 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
* Make sure the security check output includes a To: line in thesilby2001-11-281-1/+1
| | | | same way the daily run output does.
* After further discussion on -CURRENT, some people (jhb) do not likecjc2001-11-141-2/+2
| | | | | | | | | the idea of not masking passwords on comments in case the administrator comments out an entry without clearing the password. Instead completely ignore comments (since they have no security impact) when doing the diff of the old and new passwd file. Suggested by: rwatson
* No need to hide stuff in the $FreeBSD$ tag or in other comments like,cjc2001-11-111-1/+1
| | | | | | | | | | Backup passwd and group files: 1c1 < # $FreeBSD:(password):09:07 peter Exp $ --- > # $FreeBSD:(password):27:16 ache Exp $ MFC after: 1 week
* UUCP removal Phase III.kris2001-10-013-79/+0
|
* Run the uustat command as the uucp user, not as root.kris2001-09-091-1/+1
|
* Remove $daily_status_named_logs and figure out which /var/log/messages*brian2001-07-261-46/+33
| | | | | | | | files to look an (in the same way that /etc/security does). Don't single-quote $start, reducing it to an empty string. MFC after: 3 days
* Don't try to remove directories unless we've emptied them firstbrian2001-07-191-1/+1
| | | | | | Submitted by: NIIMI Satoshi <sa2c@and.or.jp> PR: 28355 MFC after: 1 week
* Small adjustment to whitespace in outputdougb2001-06-011-1/+1
|
* Remove vestiges of MFS.ru2001-06-011-5/+0
|
* Default daily_accounting_flags to -q. I thought this was a typo in thebrian2001-05-301-0/+5
| | | | | | | | originally submitted patch (oops!). Also check for an empty $daily_accounting_save. Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de>
* Add $daily_accounting_save and $daily_accounting_flagsbrian2001-05-301-9/+13
| | | | | Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de> MFC after: 2 weeks
* Add 470.status-named.dirk2001-05-111-0/+1
| | | | Reminded by: gshapiro
* Fixed typo.ru2001-04-251-1/+1
| | | | | PR: bin/26836 Submitted by: Matthew Seaman <matthew.seaman@tornadogroup.com>
OpenPOWER on IntegriCloud