]> granicus.if.org Git - zfs/commit
Change delimiter for ZED email scripts
authorlouwrentius <louwrentius@gmail.com>
Fri, 29 Aug 2014 22:14:20 +0000 (00:14 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Sep 2014 21:18:54 +0000 (14:18 -0700)
commitbcd9624d0f941bebf732f61bcb7bdbd223b0d396
treecf923e2311cb20dffc62399365c866d430b6c9e5
parent76c3a616420c2b16c117adf8c845cc1e0d262301
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
cmd/zed/zed.d/data-email.sh
cmd/zed/zed.d/io-email.sh