Opened 13 months ago
Last modified 13 months ago
#1476 new defect
alert is green (healthy) even if smart reports problems to syslog
| Reported by: | ikke | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Backend | Version: | 8.2.0-BETA2 |
| Keywords: | Cc: |
Description
The gui system reports itself healthy, no alerts, even though the syslog has notice about a disk failure:
Apr 20 21:41:37 nas smartd[1830]: Device: /dev/ada1, 742 Currently unreadable (pending) sectors
Apr 20 21:41:37 nas smartd[1830]: Device: /dev/ada1, 11 Offline uncorrectable sectors
Apr 20 22:11:37 nas smartd[1830]: Device: /dev/ada1, 742 Currently unreadable (pending) sectors
Apr 20 22:11:37 nas smartd[1830]: Device: /dev/ada1, 11 Offline uncorrectable sectors
And the same can be seen from smartctl. I noticed this by accident while looking syslog from something totally else. Otherwise I would not have noticed any of the disk failure. I don't know if it sends mails or not, the mail setup on my nas doesn't work atm for some reason.
Version is actually 64bit 8.2 Beta3, but there isn't such version in the menu of trac yet, thus wrong version in report.

I think I found a trace why this did not work. Now the alarm blinks. I did setup the mail correctly (at some point my ISP had started requiring authentication). After setting up the root mail address to me and fixing the auth, I started getting the mail for admin. And now also the alert blinks. Is there a connection between those two?
I also changed host from 32 to 64 bits. For that I had to delete the rrd files for stats, that's another change I did.