Opened 7 years ago
Closed 2 years ago
#1018 closed enhancement (fixed)
allow for constant re-sending of warnings
Reported by: | calestyo | Owned by: | Christian Franke |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.4 |
Component: | smartd | Version: | 6.6 |
Keywords: | smartd.conf | Cc: | Nathan Stratton Treadway |
Description
Hi.
This kinda overlaps with #1017.
Right now, AFAIU, smartd will emit a warning only once per day.
E.g. if my temperature rises over the threshold, I get the warning, but no further one, if it does again (or simply if it stays over the threshold all time).
AFAIU it's the same for other attributes:
E.g. if an reallocated block shows up, I'll get a warning (per day)... but if after that first occurrence (on that day) the number of reallocated blocks increase further, I would not get one until the next day.
Now having one reallocated block, may be not considered that alarming, so on the first occurrence I would perhaps simply say... well... forget about it.
But if more were to come in short time, I'd probably start with backups/replacement immediately.
However, due to the behaviour that such warning comes only once a day,... I wouldn't even notice the further incidents.
For that reason, I think it would be nice if one could set the interval in which new warnings are emitted. Like e.g. "on every case"... or "every 10 mins".
Thanks,
Chris.
Change History (6)
comment:1 by , 7 years ago
Component: | all → smartd |
---|---|
Milestone: | → undecided |
comment:3 by , 6 years ago
Cc: | added |
---|
comment:4 by , 2 years ago
Keywords: | smartd.conf added |
---|---|
Milestone: | undecided → Release 7.4 |
Owner: | set to |
Status: | new → accepted |
comment:6 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Added -M always
directive in r5428.
Quote from smartd.conf man page:
The warning email counter is reset if the temperature dropped below INFO or CRIT-5 if INFO is not specified.
Then a warning email will be sent immediately when the over threshold condition is detected again. If the condition persists, a reminder email will be sent once per day.
A simple enhancement would be a
-M always
directive to sent warning emails always when a LOG_CRIT entry is written to syslog.Events ("Xcurrent > Xprevious") should possibly be handled differently from Conditions ("X > LIMIT").