Opened 5 weeks ago
Last modified 2 weeks ago
#1632 new enhancement
smartd & json
Reported by: | Cody | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
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 (3)
comment:1 Changed 5 weeks ago by
comment:2 Changed 2 weeks 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 2 weeks 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.
Thank you, also! I love these programs.