Hello,
with the version OS of zabbix agent I'm able to read the temperature of the processor in a Raspberry Pi4 with out issue launching the below command as user parameter in the zabbix agent configuration
sensors | grep "temp1" | awk '{print $ 2}' | cut -c 2-3
I was wondering if is possibile also on docker, because if I'm executing this command inside of the container I'm receiving this error.
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: "sensors": executable file not found in $PATH": unknown
Or if there is another way to do eventually
Thanks for the support
Miki
with the version OS of zabbix agent I'm able to read the temperature of the processor in a Raspberry Pi4 with out issue launching the below command as user parameter in the zabbix agent configuration
sensors | grep "temp1" | awk '{print $ 2}' | cut -c 2-3
I was wondering if is possibile also on docker, because if I'm executing this command inside of the container I'm receiving this error.
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: "sensors": executable file not found in $PATH": unknown
Or if there is another way to do eventually
Thanks for the support
Miki