Skip to content
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

[BUG] Cant acess drives in HPE Smart Array P212 #594

Open
Sprinter05 opened this issue Mar 4, 2024 · 2 comments
Open

[BUG] Cant acess drives in HPE Smart Array P212 #594

Sprinter05 opened this issue Mar 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Sprinter05
Copy link

Describe the bug
Getting "No Data" when using HPE Smart Array Controller, i'm using the solution described in issue 312 for the collector configuration but when the smartctl command is ran in the container it skips the ,0 after cciss even when specifying it in the collector config, causing the output JSON to be empty. I tried accessing the drive by ID, running with privileges changing the format of the collector config to no avail.

Expected behavior
Should show information about the device

Screenshots
imagen

@Sprinter05 Sprinter05 added the bug Something isn't working label Mar 4, 2024
@SaraDark
Copy link

SaraDark commented Mar 5, 2024

mee too

@oathboundFamiliar
Copy link

Confirming I can replicate this in Scrutiny 0.8.1 on my ProLiant DL360p G8, the collector ignores cciss index and simply invokes smartctl with --device cciss which doesn't work. Manually pulling SMART data with the correct command works, and Scrutiny successfully uses the correct device type when polling for info, but not SMART data.

Relevant config:

devices:
  - device: /dev/sda
    type: ['cciss,0']
  - device: /dev/sdb
    type: ['cciss,1']
  - device: /dev/sdc
    type: ['cciss,2']

Log:

time="2024-08-31T16:39:40Z" level=info msg="Executing command: smartctl --info --json --device cciss,0 /dev/sda" type=metrics
...
time="2024-08-31T16:39:40Z" level=info msg="Generating WWN" type=metrics
time="2024-08-31T16:39:40Z" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics
time="2024-08-31T16:39:40Z" level=info msg="Collecting smartctl results for sda\n" type=metrics
time="2024-08-31T16:39:40Z" level=info msg="Executing command: smartctl --xall --json --device cciss /dev/sda" type=metrics
time="2024-08-31T16:39:40Z" level=error msg="smartctl returned an error code (1) while processing sda\n" type=metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants