-
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedExtra attention is neededExtra attention is needed
Description
Any idea if it's possible to use scrutiny with Docker Swarm?
Unfortunately in Docker Swarm mode devices
does not work and device_cgroup_rules
does not exist anymore in the docker-compose format v3.9.
I tried passing through the entirety of /dev
as volume, which almost works since smartctl can recognize the drives but it obviously fails to access them due to permissions:
time="2022-11-21T10:22:55Z" level=info msg="Executing command: smartctl --scan --json" type=metrics
time="2022-11-21T10:22:55Z" level=info msg="Executing command: smartctl --info --json /dev/sds" type=metrics
time="2022-11-21T10:22:55Z" level=error msg="Could not retrieve device information for sds: exit status 2" type=metrics
When running the command manually:
"messages": [
{
"string": "Smartctl open device: /dev/sds failed: Operation not permitted",
"severity": "error"
}
],
I ran the smartctl command on the host just to make sure and no issues there.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedExtra attention is neededExtra attention is needed