Tip of the Day: Setting the Email Address for FreeBSD's Daily/Weekly/Monthly Reports

Posted by Ben Allen Wed, 14 May 2008 18:14:00 GMT

FreeBSD by default runs three sets of periodic scripts that outputs a volume of information about your system's current state. The output of these scripts are sent to the root account's mailbox. If you are like me and have a number of FreeBSD servers, its a pain to go check this mailbox on each machine. Well here is an easy fix to send the output of the scripts to any email address.

Edit /etc/periodic.conf and add:

daily_output="ben@domain.com"
daily_status_security_output="ben@domain.com"
weekly_output="ben@domain.com"
monthly_output="ben@domain.com"

To test that this is working run: periodic daily as root. The security run output should arrive in your mailbox.

Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=tip-of-the-day-setting-the-email-address-freebsds-daily-weekly-monthly-reports&day=14&month=05&year=2008

Comments

Leave a comment

Comments