#539 closed enhancement (worksforme)
email notify when №5 and №188 attr non-zero
Reported by: | miknik | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | smartd | Version: | 6.3 |
Keywords: | Cc: |
Description
I have a hdd with smart attribute №5 value 1176 and №188 value 40, №188 is incremented after each windows restart. so i want to make email notify about those attributes when they are non-zero or changed.
I tried different settings, but with no luck.
Attachments (3)
Change History (14)
comment:1 by , 10 years ago
Milestone: | → Release 6.0 |
---|
comment:2 by , 10 years ago
Milestone: | Release 6.0 |
---|
comment:3 by , 10 years ago
Milestone: | → Release 6.4 |
---|
no, it not works, email message still not have been sended. i attached required files and also smart table output.
comment:4 by , 10 years ago
Milestone: | Release 6.4 → none |
---|---|
Priority: | major → minor |
If -R ID!
is used, mail is only sent after the raw value of ID has CHANGED. A directive for non-zero raw values does not exist.
comment:5 by , 10 years ago
I restarted Windows and attr # 188 increased, but email message still not have been sended
comment:6 by , 10 years ago
If state persistence (smartd -s
option) is not used, smartd does not know the old value from previous run. Therefore the increase is only detected if it occurs DURING smartd's run.
Also make sure (with -M test
directive) that the mailer works in general.
comment:7 by , 10 years ago
sorry, i am not sure that i properly understand smartd.config man about -s option. could you write me exactly string that i must add to config? thanks.
comment:8 by , 10 years ago
The smartd -s command line OPTION is documented on the smartd man page, not the smartd.conf man page.
This ticket system is not a support forum. Please ask support questions on the smartmontools-support mailing list.
comment:9 by , 10 years ago
I realized what was wrong, and now everything works. thank you very much!
comment:10 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:11 by , 10 years ago
Milestone: | none |
---|
Try smartd.conf directives
-R 5! -R 188!
. See smartd.conf man page for details.If it works, close this ticket with "worksforme".
If not, provide the smartd.conf file and the output of
smartd -q onecheck
as plain text attachments.