Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Notifications not sending #205

Closed
eperdeme opened this issue Dec 1, 2021 · 2 comments · Fixed by #222
Closed

[BUG] - Notifications not sending #205

eperdeme opened this issue Dec 1, 2021 · 2 comments · Fixed by #222
Labels
bug Something isn't working

Comments

@eperdeme
Copy link

eperdeme commented Dec 1, 2021

Describe the bug
A smart attribute is marked as FAILED but I'm not seeing any notifications.
Test notifications work via

curl -X POST http://localhost:8080/api/health/notify

Expected behavior
I'd expect a notification

Screenshots
Screenshot 2021-12-01 at 10 30 10

Log Files

ime="2021-12-01T00:00:15Z" level=info msg="Collecting smartctl results for sdg\n" type=metrics
time="2021-12-01T00:00:15Z" level=info msg="Executing command: smartctl -x -j /dev/sdg" type=metrics
time="2021-12-01T00:01:19Z" level=error msg="smartctl returned an error code (64) while processing sdg\n" type=metrics
time="2021-12-01T00:01:19Z" level=error msg="smartctl detected a error log with errors" type=metrics
time="2021-12-01T00:01:19Z" level=info msg="Publishing smartctl results for 0x500003975be81771\n" type=metrics

kernel logs suggesting the drives also sad to backup the smart failure.

[52713.869412] sd 3:0:6:0: [sdg] tag#2512 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=3s
[52713.869439] sd 3:0:6:0: [sdg] tag#2512 Sense Key : Medium Error [current]
[52713.869445] sd 3:0:6:0: [sdg] tag#2512 Add. Sense: Unrecovered read error
[52713.869451] sd 3:0:6:0: [sdg] tag#2512 CDB: Read(16) 88 00 00 00 00 00 00 ff 52 08 00 00 00 08 00 00
[52713.869455] blk_update_request: critical medium error, dev sdg, sector 16732680 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

@eperdeme eperdeme added the bug Something isn't working label Dec 1, 2021
@FingerlessGlov3s
Copy link

Sounds similar to my bug #203

@joe-eklund
Copy link

Does smart actually report the disk as failing? Is it marked as failed on the main dashboard? If not, it will not send a notification I think.

I asked about this here #195, which turned out to be a duplicate of #72.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants