From 6ebbdb4b40fa2dd65af1286b7f234278bffd87f6 Mon Sep 17 00:00:00 2001 From: dougiteixeira <31328123+dougiteixeira@users.noreply.github.com> Date: Wed, 28 Feb 2024 08:46:08 -0300 Subject: [PATCH] Update cpu_temperature.md --- scripts_cron/cpu_temperature.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts_cron/cpu_temperature.md b/scripts_cron/cpu_temperature.md index 4d536f7..a51b545 100644 --- a/scripts_cron/cpu_temperature.md +++ b/scripts_cron/cpu_temperature.md @@ -14,7 +14,7 @@ You should use this as an example and adjust to your use case. ``` #! /bin/bash -url1=http://10.10.10.xxx:8123/api/states/sensor.proxmox_temperatura +url1=http://10.10.10.xxx:8123/api/states/sensor.proxmox_cpu_temperature token1=xxxxx temp=$(sensors | grep -e "°C" | grep "Core" | awk -F "+" '{ print $2 }' | awk -F "." '{ print $1 }' | sort | tail -n1);