HomeFreeBSD

Change delimiter for ZED email scripts

Description

Change delimiter for ZED email scripts

When the ZED_EMAIL_INTERVAL_SECS="3600" option is set in zed.rc
configuration file then notification emails should be rate limited.

Rate limiting is accomplished by maintaining a colon delimited state
file which includes the device name. Unfortunately there are valid
device names which include a colon and therefore prevent the rate
limiting for working properly. For this reason the delimiter has
been changed to a semi-colon.

Signed-off-by: louwrentius <louwrentius@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Closes #2645

Details

Provenance
louwrentius <louwrentius@gmail.com>Authored on Aug 29 2014, 10:14 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 2 2014, 9:18 PM
Parents
rG76c3a616420c: Change startup mode of ZED
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGbcd9624d0f94: Change delimiter for ZED email scripts (authored by louwrentius <louwrentius@gmail.com>).Sep 2 2014, 9:18 PM