Opened 4 years ago
Closed 3 years ago
#1632 closed enhancement (invalid)
smartd & json
| Reported by: | Cody | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | smartd | Version: | 7.2 |
| Keywords: | json | Cc: |
Description
Can smartd and smartd_warning.sh output json?
smartctl -j outputs json but it does not seem clear if this works with smartd
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 3 years ago
Thank you, also! I love these programs.
You're welcome.
smartd logs events via syslog and sends email or runs scripts on warnings. JSON does not make much sense in this context. If you want JSON output in warning emails, create a custom script which runs smartctl -j ....
The smartd_warning.sh script is for internal use by smartd only
(Warning: do not run it with -M exec in smartd.conf).
PS: This is a bug tracker, not a support forum. For future support questions, please use the smartmontools-support mailing list instead. Thanks.
comment:3 by , 3 years ago
| Milestone: | → undecided |
|---|
If you have a real world use case for JSON support in smartd, be more specific and describe it in detail.
comment:4 by , 3 years ago
| Milestone: | undecided |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
No feedback from reporter.

Thank you, also! I love these programs.