All Projects → robcowart → Raspberry_pi_stats

robcowart / Raspberry_pi_stats

Licence: mit
A script to collect various Raspberry Pi statistics, which are sent via Telegraf to InfluxDB.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Raspberry pi stats

Iotstack
docker stack for getting started on IOT on the Raspberry PI
Stars: ✭ 1,383 (+2666%)
Mutual labels:  influxdb, raspberry-pi
Monitoring
Monitor ESXi, Synology, Docker, PiHole and Raspberry Pi and Windows using Grafana, InfluxDB and Telegraf
Stars: ✭ 493 (+886%)
Mutual labels:  influxdb, raspberry-pi
Solarthing
Monitors an Outback MATE and a Renogy Rover - MPPT Charge Controller. Integrates with Grafana, PVOutput and more!
Stars: ✭ 33 (-34%)
Mutual labels:  influxdb, raspberry-pi
Piweatherrock
Displays local weather on a Raspberry Pi
Stars: ✭ 42 (-16%)
Mutual labels:  raspberry-pi
Embassy Os
A graphical operating system for running self-hosted software.
Stars: ✭ 43 (-14%)
Mutual labels:  raspberry-pi
Tinderboxpedal
Bluetooth "Universal Remote" Footpedal for Digital Guitar Amps, on ESP32 or Pi Zero W
Stars: ✭ 48 (-4%)
Mutual labels:  raspberry-pi
Influx Crypto Trader
Node js trading bot, let you create trading strategy and run it (backtest/simulation/live)
Stars: ✭ 49 (-2%)
Mutual labels:  influxdb
Influx Prompt
An interactive command-line InfluxDB cli with auto completion.
Stars: ✭ 42 (-16%)
Mutual labels:  influxdb
Debootstick
Generate a bootable live image from any Debian/Ubuntu filesystem tree.
Stars: ✭ 48 (-4%)
Mutual labels:  raspberry-pi
Package Magic Video Wall
A video wall that configures itself by just taking a picture of your screens
Stars: ✭ 47 (-6%)
Mutual labels:  raspberry-pi
Homer7 Docker
HOMER 7 Docker Images
Stars: ✭ 47 (-6%)
Mutual labels:  influxdb
Wpa Connect
wpa-connect
Stars: ✭ 43 (-14%)
Mutual labels:  raspberry-pi
Kiln Controller
Turns a Raspberry Pi into an inexpensive, web-enabled kiln controller.
Stars: ✭ 48 (-4%)
Mutual labels:  raspberry-pi
Lsquaredc
A library for I2C communications for Linux devices (Beaglebone Black, Raspberry PI, and possibly others).
Stars: ✭ 42 (-16%)
Mutual labels:  raspberry-pi
Rpi4 Pcie Bridge
Raspberry Pi 4 PCIe Bridge "Chip"
Stars: ✭ 49 (-2%)
Mutual labels:  raspberry-pi
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+1922%)
Mutual labels:  raspberry-pi
Magicmirror
魔小镜
Stars: ✭ 46 (-8%)
Mutual labels:  raspberry-pi
Plastic Detection Model
Image Recognition Model to detect plastics, glass, paper, rubbish, metal and cardboard. This is used to detect these pollution in the ocean to allow the eradication of these materials, helping marine life, fishermen, tourism and making the world resilient to climate change.
Stars: ✭ 47 (-6%)
Mutual labels:  raspberry-pi
Fiscalberry
[JSON ↔ HW] Connect things using JSON API with the fiscalberry websocket server interact easily with any kind of Hardware. Another IoT solution...
Stars: ✭ 44 (-12%)
Mutual labels:  raspberry-pi
Guides
Guides for learning + doing better web and app development. Created by Coding for Entrepreneurs.
Stars: ✭ 1,042 (+1984%)
Mutual labels:  raspberry-pi

Raspberry Pi Statistics

A script to collect various Raspberry Pi statistics, which are sent via Telegraf to InfluxDB.

raspberry_pi_stats_github_social

Collecting Raspberry Pi Statistics

The provided rpi-stats.sh script collects statistics using Raspbian's vcgencmd command. These values are parsed from the command's output and formatted in InfluxDB's line protocol for easy collection via Telegraf's exec input.

To learn how to install Telegraf (and the rest of the TICK Stack) on the Raspberry Pi, refer to this blog.

Copy the script to the directory from which you wish to run it (I usually put it in /usr/local/bin), and ensure that it can be executed by the user under which Telegraf will be run (the default user is telegraf). The user will need to have sudo rights.

Configure the Telegraf exec input to execute the script. For example...

[[inputs.exec]]
  # Commands array
  commands = [ "/usr/local/bin/rpi-stats.sh" ]
  # Timeout for each command to complete.
  timeout = "5s"
  # Data format to consume.
  data_format = "influx"

A complete Telegraf configuration file (telegraf.conf) is provided to help you get started.

After Telegraf is started, data will be sent to InfluxDB.

Import the Dashboard

A Raspberry Pi Health dashboard for Chronograf is provided in the file Raspberry_Pi_Health.json. This can be imported from Chronograf's Dashboards list.

Raspberry Pi: Health

Collected Statistics

Metric Description
arm_freq clock frequency of the ARM processor
arm_mem memory size allocated to the ARM processor
core_freq clock frequency of the SOC
config_arm_freq configured clock frequency of the ARM processor
config_core_freq configured clock frequency of the SOC
config_gpu_freq configured clock frequency of the GPU
config_sdram_freq configured clock frequency of the SDRAM
core_volts voltage provided to the SOC
dpi_freq clock frequency of the DPI
emmc_freq clock frequency of the EMMC
gpu_mem memory size allocated to the GPU
h264_freq clock frequency of the H.264
hdmi_freq clock frequency of the HDMI
isp_freq clock frequency of the ISP
malloc_mem free GPU memory in the malloc heap
malloc_total_mem total memory assigned to the GPU malloc heap
mem_reloc_allocation_failures relocatable memory failures
mem_reloc_compactions relocatable memory compactions
mem_reloc_legacy_block_failures relocatable memory legacy block failures
oom_count count of out-of-memory events
oom_ms total milliseconds in the out-of-memory handler
pixel_freq clock frequency of the Pixel
pwm_freq clock frequency of the PWM
reloc_mem free GPU memory in the relocatable heap
reloc_total_mem total memory assigned to the GPU relocatable heap
sdram_c_volts voltage provided to SOC SDRAM
sdram_i_volts voltage provided to I/O SDRAM
sdram_p_volts voltage provided to Physical SDRAM
soc_temp temperature of the SOC
uart_freq clock frequency of the UART
v3d_freq clock frequency of the V3D
vec_freq clock frequency of the VEC
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].