Opened 11 months ago
Closed 5 months 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 Changed 11 months ago by
comment:2 Changed 10 months ago by
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 Changed 10 months ago by
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 Changed 5 months ago by
Milestone: | undecided |
---|---|
Resolution: | → invalid |
Status: | new → closed |
No feedback from reporter.
Thank you, also! I love these programs.