Saltar al contenido

System Monitor II – Raspberry Pi

10/10/2020

En esta segunda entrega del control de monitor, vamos a ver cómo podemos monitorear el estado de nuestra Raspberry, para ello vamos a copiar el siguiente código en nuestro archivo sensors.yaml (o el nombre de su archivo de sensores). Si no tienen nombre de sensores lo pueden copiar dentro de configuration.yaml

#### raspberry info

  - platform: systemmonitor
    resources: 
    - type: disk_free
      arg: /
    - type: disk_use
      arg: /
    - type: disk_use_percent
      arg: /
    - type: memory_free
    - type: memory_use
    - type: memory_use_percent
    - type: processor_use
    - type: network_in
      arg: eth0
    - type: network_out
      arg: eth0
    - type: swap_free
    - type: swap_use
    - type: swap_use_percent
    - type: load_1m
    - type: load_5m
    - type: load_15m
    - type: throughput_network_in
      arg: eth0
    - type: throughput_network_out
      arg: eth0
    - type: packets_in
      arg: eth0
    - type: packets_out
      arg: eth0
    - type: ipv4_address
      arg: eth0
    - type: ipv6_address
      arg: eth0
    - type: process
      arg: octave-cli
    - type: last_boot

Aquí pueden ver el vídeo que será publicado el sábado 10 de octubre de 2020 a las 9:00 de la mañana hora de Barcelona. (GTM +2)

Índice

    Síganme en mi canal de Youtube

    Sígueme en Youtube
    Sígueme en Youtube