Skip to content

Conversation

@eli-jordan
Copy link

This adds an option -o {json|text} that allows the output from -t and -f to be rendered as json rather than an adhoc text format. Exposing json will make it easier for other programs to make use of the data that exposed by the SMC.

@eli-jordan
Copy link
Author

Update, I created a prometheus exporter based on this change. See https://github.com/eli-jordan/osx-smc-exporter

Co-authored-by: tigattack <10629864+tigattack@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants