【文件属性】:
文件名称:smartctl_exporter:将Smartctl统计信息导出到Prometheus
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-14 22:18:04
Go
smartctl_exporter
将Smartctl统计信息导出到Prometheus
您可以在显示的示例输出
需要更多?
如果您需要其他指标,请与我联系:)创建功能请求,描述您想要的指标并附加从smartctl json文件导出的指标
要求
smartmontools> = 7.0,因为导出到json
配置
命令行选项
--config=/path/to/file.yaml :配置文件的路径,默认值/etc/smartctl_exporter.yaml
--verbose :详细日志,默认为否
--debug :调试日志记录,默认为否
--version :显示版本并退出
配置文件
示例内容:
smartctl_exporter:
bind_to: "[::1]:9633"
url_path: "/metrics"
fake_json: no
smartctl
【文件预览】:
smartctl_exporter-master
----collect_fake_json.sh(146B)
----.gitignore(58B)
----go.mod(169B)
----readjson.go(4KB)
----EXAMPLE.md(213KB)
----Makefile(925B)
----smartctl.go(14KB)
----smartctlinfo.go(1KB)
----systemd()
--------smartctl_exporter.service(362B)
----LICENSE(7KB)
----logging.go(1KB)
----gentoo()
--------app-metrics()
----go.sum(11KB)
----main.go(2KB)
----README.md(1KB)
----options.go(2KB)
----gjsonext.go(478B)
----.circleci()
--------config.yml(419B)
----metrics.go(7KB)
----smartctl_exporter.yaml(327B)
----docker()
--------Dockerfile(648B)
--------docker-entrypoint.sh(191B)
--------config.yaml(174B)