-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrutiny (Full Access) - error during startup #607
Comments
Looks like multiple dev switches used for command line smartctl ? root@db21ed7f-scrutiny-fa:/opt/scrutiny# smartctl --xall --json --dev sat --device sat /dev/sda {
"json_format_version": [
1,
0
],
"smartctl": {
"version": [
7,
3
],
"svn_revision": "5338",
"platform_info": "aarch64-linux-6.1.73-haos-raspi",
"build_info": "(local build)",
"argv": [
"smartctl",
"--xall",
"--json",
"--dev",
"sat",
"--device",
"sat",
"/dev/sda"
],
"messages": [
{
"string": "ERROR: multiple -d TYPE options are only allowed with --scan",
"severity": "error"
}
],
"exit_status": 1
}
} |
Can you share your collector config file? |
As a addon in HA its very simple Updates: Hourly |
Just wondering if row 128 is meaninful https://github.com/AnalogJ/scrutiny/blob/master/collector/pkg/collector/metrics.go |
If you need specific logs.. be specific what you need |
In my opinion there should be one device to call on the command line.. non standards.. scsi, ata, sat are standards |
I think this is related to the HA addon overriding the smartctl command. |
Is it then back the alex |
Up there i was referring originally from alex and he was sure his code is good |
I responded to the original issue in Once he confirms the issue, can you close this? Thanks! |
Of course i dont want to see open issues more than you ;-) |
Thank you AnalogJ for your quick response for the issue |
I've tested new version and i can see smartctl cmd although different behaviour is missing device type Just wondering.. original 'problem' was scanning went OK but not the actual smartctl command getting the data. Are both scanning and getting data from device under same idea what you mentioned.. referring to the smartctl commands/switches --device is added conditionally .. i hope i make any sense :) |
I have been using device type sat in previous version 0.7.x. now error message during startup
ref.... alexbelgium/hassio-addons#1308
The text was updated successfully, but these errors were encountered: