You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
collector.yaml 配置文件中
devices:
device: 会自动把大写字母转换为小写
type: 不会应用到 metrics_info_args 参数列表,比如 type: 'scsi' 应当执行
smartctl --info --json --device scsi <path>
而实际上执行
smartctl --info --json <path>
就是说不会添加 --device scsi Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Log Files
If related to missing devices or SMART data, please run the collector in DEBUG mode, and attach the log file.
See /docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md for other troubleshooting tips.
docker run -it --rm -p 8080:8080 \
-v `pwd`/config:/opt/scrutiny/config \
-v /run/udev:/run/udev:ro \
--cap-add SYS_RAWIO \
--device=/dev/sda \
--device=/dev/sdb \
-e DEBUG=true \
-e COLLECTOR_LOG_FILE=/opt/scrutiny/config/collector.log \
-e SCRUTINY_LOG_FILE=/opt/scrutiny/config/web.log \
--name scrutiny \
ghcr.io/analogj/scrutiny:master-omnibus
# in another terminal trigger the collector
docker exec scrutiny scrutiny-collector-metrics run
The log files will be available on your host in the config directory. Please attach them to this issue.
Please also provide the output of docker info
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
collector.yaml 配置文件中
devices:
type: 不会应用到 metrics_info_args 参数列表,比如 type: 'scsi' 应当执行
smartctl --info --json --device scsi <path>
而实际上执行
smartctl --info --json <path>
就是说不会添加 --device scsi
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Log Files
If related to missing devices or SMART data, please run the
collector
in DEBUG mode, and attach the log file.See /docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md for other troubleshooting tips.
The log files will be available on your host in the
config
directory. Please attach them to this issue.Please also provide the output of
docker info
The text was updated successfully, but these errors were encountered: