[platform] Add SSD Health tools. (#4464)
This commit is contained in:
parent
d2acc7f9b0
commit
bea64ba231
@ -45,5 +45,6 @@ RUN rm -rf /debs /python-wheels ~/.cache
|
||||
|
||||
COPY ["start.sh", "lm-sensors.sh", "/usr/bin/"]
|
||||
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
|
||||
COPY ["ssd_tools/*", "/usr/bin/"]
|
||||
|
||||
ENTRYPOINT ["/usr/bin/supervisord"]
|
||||
|
@ -7,4 +7,4 @@ if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS pmon sensors "$@"
|
||||
docker exec -$DOCKER_EXEC_FLAGS pmon $(basename $0) "$@"
|
BIN
dockers/docker-platform-monitor/ssd_tools/SmartCmd
Executable file
BIN
dockers/docker-platform-monitor/ssd_tools/SmartCmd
Executable file
Binary file not shown.
BIN
dockers/docker-platform-monitor/ssd_tools/iSmart
Executable file
BIN
dockers/docker-platform-monitor/ssd_tools/iSmart
Executable file
Binary file not shown.
@ -30,4 +30,6 @@ $(DOCKER_PLATFORM_MONITOR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
||||
# Mount Arista python library on Aboot images to be used by plugins
|
||||
$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/arista:/usr/lib/python2.7/dist-packages/arista:ro
|
||||
|
||||
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += sensors:/usr/bin/sensors
|
||||
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/bin/sensors
|
||||
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/iSmart
|
||||
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/SmartCmd
|
||||
|
Loading…
Reference in New Issue
Block a user