RaspberryPi (rPi) - Smokeping Setup and Configuration

Introduction

This is a walkthrough on how to build a cheap and effecient latency monitor . It is built on a Raspberry Pi computer that is cheap (less than $70 for the mainboard, case, power supply, and storage device.) This setup will use less power than a normal computer (I measured my Raspberry Pi model B+ running at 3 watts!) That last thing I really like about this method of monitoring is that the Raspberry Pi is a completely solid state device, and as such it should last for many years beyond what a normal computer or server can function.

**Note: This guide assumes that you have a DHCP on your network and a functional internet connection.

Change passwords as appropriate

Login as pi

Update all installed packages:

Install smokeping and sendmail:

- Type: "sudo apt-get install smokeping sendmail" and press ENTER

6

Create list of targets to monitor with smokeping:

- Type: "sudo nano /etc/smokeping/config.d/Targets" and press ENTER

---a. On line 6 you can change “Network Latency Grapher” to anything you would like displayed at the top of the main webpage.
---b. On line 7 you can change the remark to anything you would like to display below the title of the main page.
---c. At the bottom of the text file you can add nested links to various addresses you would like to monitor. You can nest links by how many “+” signs you have in front of the link header.
---d. Add some hosts to monitor. At the bottom of the file add (omit the quotes):
------i.