#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)

in reply to:  description comment:1 by Cody, 22 months ago

Thank you, also! I love these programs.

comment:2 by Christian Franke, 21 months 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 Christian Franke, 21 months 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 Christian Franke, 16 months ago

Milestone: undecided
Resolution: invalid
Status: newclosed

No feedback from reporter.

Note: See TracTickets for help on using tickets.