Raspberry Pi Computing: Monitoring with Prometheus and Grafana

Raspberry Pi Computing: Monitoring with Prometheus and Grafana

Malcolm Maclean
Buy on Leanpub

Table of Contents

Raspberry Pi Computing: Monitoring with Prometheus and Grafana

  • Introduction
    • Welcome!
    • What are we trying to do?
    • Who is this book for?
    • What will we need?
    • Why on earth did I write this rambling tome?
    • Where can you get more information?
  • The History of the Raspberry Pi
  • Raspberry Pi Versions
    • Raspberry Pi B+, B2, B3 and B3+
    • USB Ports
    • Video Out
    • Ethernet Network Connection
    • USB Power Input Jack
    • MicroSD Flash Memory Card Slot
    • Stereo and Composite Video Output
    • 40 Pin Header
    • Raspberry Pi 4
    • Pi 4 USB ports and Ethernet Ports
    • Pi 4 USB C Power Input
    • Pi 4 Dual Video Out
  • Raspberry Pi Peripherals
    • SD Card
    • Keyboard / Mouse
    • Video
    • Network
    • Power supply
    • Cases
  • Operating Systems
    • Welcome to Raspberry Pi OS
    • Raspberry Pi OS and Raspbian
    • Operating System Evolution
    • Downloading
    • Writing the Operating System image to the SD Card
    • Powering On
    • The Command Line interface
    • Raspberry Pi Software Configuration Tool
    • Software Updates
  • Power Up the Pi
    • Static IP Address
    • The Netmask
    • CIDR Notation
    • Distinguish Dynamic from Static
    • Default Gateway
    • For OS’s Prior to bookworm
    • For OS’s From bookworm onward
    • Remote access
    • Remote access via SSH
    • Setting up the Server (Raspberry Pi)
    • Setting up the Client (Windows)
    • WinSCP
    • Setting up a WiFi Network Connection
    • Built in WiFi Enabling
    • Make the changes operative
    • Make the built in WiFi IP address static
    • Make the changes operative
    • WiFi Via USB Dongle
    • Editing files
    • Make the changes operative
    • Make USB WiFi IP address static
    • Make the changes operative
  • About Prometheus
  • About Grafana
  • Installation
    • Installing Prometheus
    • Installing Grafana
    • Installing Grafana Manually
    • Installing Grafana Automatically Using ‘apt-get’
    • Using Grafana
  • Exporters
    • Node Exporter
  • Prometheus Collector Configuration
    • global
    • alerting
    • rule_files
    • scrape_configs
  • Adding a monitoring node to Prometheus
    • Let’s see our new node in Grafana!
  • WMI exporter
    • Installing the WMI exporter
    • Adding adding our Windows exporter to Prometheus
    • Let’s see our new node in Grafana!
  • Custom Exporters
    • Metrics
    • Metric Types
    • Metric Names
    • Metric Labels
    • Configuring the exporter
    • Adding adding our custom exporter to Prometheus
    • Creating a new graph in Grafana
  • Dashboards
    • Overview
    • New Panel
    • Query Options
    • Visualization Options
    • Graph
    • Stat
    • Gauge
    • Bar Gauge
    • Table
    • Singlestat
    • Text
    • Heatmap
    • Dashboard List
    • News Panel
    • Logs
    • General
    • Alerting
  • Upgrading Prometheus
    • Download
    • Stop the services
    • Copy the configuration and data
    • Run the new version manually and test
    • Stop the newer version
    • Change the directory names
    • Start the services.
  • Upgrading Grafana
    • Download
    • Stop the old version
    • Copy the configuration and data
    • Run the new version manually and test
    • Stop the newer version
    • Change the directory names
    • Start the Grafana service.
  • Prometheus and Grafana Tips and Tricks
    • Fill in Null Values in a Graph
    • Exporting Data from a Grafana Graph
  • Linux Concepts
    • What is Linux?
    • Linux Directory Structure
    • /
    • /bin
    • /boot
    • /dev
    • /etc
    • /etc/cron.d
    • /etc/rc?.d
    • /home
    • /lib
    • /lost+found
    • /media
    • /mnt
    • /opt
    • /proc
    • /root
    • /sbin
    • /srv
    • /tmp
    • /usr
    • /usr/bin
    • /usr/lib
    • /usr/local
    • /usr/sbin
    • /var
    • /var/lib
    • /var/log
    • /var/spool
    • /var/tmp
    • Everything is a file in Linux
    • Traditional Files
    • Directories
    • System Information
    • Devices
  • File Editing
    • The nano Editor
  • Linux Commands
    • Executing Commands in Linux
    • The Commands
    • apt-get
    • The apt-get command
    • apt-get update
    • apt-get upgrade
    • apt-get install
    • apt-get remove
    • cd
    • The cd command
    • Options
    • Arguments
    • Examples
    • Test yourself
    • ifconfig
    • The ifconfig command
    • Options
    • Arguments
    • Test yourself
    • mv
    • The mv command
    • Options
    • Examples
    • Test yourself
    • rm
    • The rm command
    • Options
    • Arguments
    • Test yourself
    • sudo
    • The sudo command
    • The ‘sudoers’ file
    • sudo vs su
    • Test yourself
    • tar
    • The tar command
    • Options
    • Test yourself
    • wget
    • The wget command
    • Test yourself
  • Directory Structure Cheat Sheet
Raspberry Pi Computing: Monitoring with Prometheus and Grafana/overview

Raspberry Pi Computing: Monitoring with Prometheus and Grafana

course_overview

Infrastructure and network monitoring using a Raspberry Pi, Prometheus and Grafana

count_chapters
begin_reading
download
p_implied_book_part_name

Raspberry Pi Computing: Monitoring with Prometheus and Grafana22 chapters

Begin ›
  1. Introduction

  2. The History of the Raspberry Pi

  3. Raspberry Pi Versions

  4. Raspberry Pi Peripherals

  5. Operating Systems

  6. Power Up the Pi

  7. About Prometheus

  8. About Grafana

  9. Installation

  10. Exporters

  11. Prometheus Collector Configuration

  12. Adding a monitoring node to Prometheus

  13. WMI exporter

  14. Custom Exporters

  15. Dashboards

  16. Upgrading Prometheus

  17. Upgrading Grafana

  18. Prometheus and Grafana Tips and Tricks

  19. Linux Concepts

  20. File Editing

  21. Linux Commands

  22. Directory Structure Cheat Sheet