Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################################################################
- #
- # CPU
- #
- ################################################################################################
- ### CPU ###
- - platform: cpuspeed
- name: CPU Speed
- - platform: command_line
- name: CPU Vendor
- command: cat /proc/cpuinfo | grep -m1 'model name' | awk '{ print $4}'
- - platform: command_line
- name: CPU Type
- command: cat /proc/cpuinfo | grep -m1 'model name' | awk '{ print $5, $6}'
- - platform: command_line
- name: CPU Frequence
- command: cat /proc/cpuinfo | grep -m1 'model name' | awk '{ print $9}'
- - platform: rest
- name: CPU Temperature
- device_class: temperature
- unit_of_measurement: "°C"
- value_template: '{{ value_json[0].value }}'
- resource: http://192.168.1.104:61208/api/3/sensors
- - platform: rest
- resource: http://192.168.1.104:61208/api/3/cpu
- name: CPU State
- value_template: "ok"
- json_attributes:
- - total
- - cpucore
- - time_since_update
- ################################################################################################
- #
- # DDR Server - proxmox
- #
- ################################################################################################
- - platform: rest
- resource: http://192.168.1.104:61208/api/3/mem
- name: Proxmox RAM State
- value_template: "ok"
- json_attributes:
- - used
- - free
- - total
- - percent
- ################################################################################################
- #
- # HDD Proxmox
- #
- ################################################################################################
- - platform: rest
- resource: http://192.168.1.104:61208/api/3/fs
- name: Proxmox Disk State
- value_template: "ok"
- json_attributes:
- - free
- - size
- - used
- - percent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement