This commit is contained in:
parent
fe3594108f
commit
c3e7aa68d4
@ -1,8 +1,10 @@
|
||||
Thanks for [nikito7](https://github.com/nikito7)
|
||||
|
||||
|
||||
```nano proxmox_sendTemp_2HA```
|
||||
|
||||
```
|
||||
nano proxmox_sendTemp_2HA
|
||||
```
|
||||
|
||||
```
|
||||
#!/bin/sh
|
||||
|
||||
@ -10,5 +12,7 @@ temp=$(cat /sys/class/thermal/thermal_zone2/temp')
|
||||
|
||||
mosquitto_pub -h host -user -P pass -t proxmox/pve1/cpu_temp -m $temp
|
||||
```
|
||||
|
||||
```chmod +x proxmox_sendTemp_2HA;/10 * * * * /proxmox_sendTemp_2HA```
|
||||
|
||||
```
|
||||
chmod +x proxmox_sendTemp_2HA;/10 * * * * /proxmox_sendTemp_2HA
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user