# 🌡️Recording the CPU Temperature on a SD-WAN edge🥵

The following script uses the push notification facility of Uptime Kuma to record the temperature on Fusion’s SD-WAN edge.

```plaintext
#!/bin/bash
acceptable="60.0"
temperature=$( sensors | sed -n '/^temp1:/s/temp1:[[:space:]]{1,}+//p' | sed 's/°C.*//' )
echo $temperature
if [[ "$temperature" < "$acceptable" ]]; then
   curl -k -s "https://bazooka.amastelek.com/api/push/zIP4NR9g69?status=up&msg=OK&ping=$temperature" 
fi
```

---
