How to install Smokeping on Raspberry Pi

Smokeping is an amazing tool for monitoring a network.

Installing it on raspberry Pi is just 1 line command (however update your system first !!!):

sudo apt-get install smokeping sendmail

It will install a smokeping and sendmail. Of course this is my personal requirement and choice but I had to edit only file:

sudo nano /etc/smokeping/config.d/Targets

as I decided (for now) to block sending email alerts. Careful – if you do not block sending emails in Targets file, smokeping will keep crashing if sendmail is not configured! I blocked sendmail by actually adding # before #alerts = someloss – see config file sample below

Also to get everything working correctly I had to restart system and wait few minutes.

If you expirience any problem, it is worth to watch systemlogs:

tail -f /var/log/syslog

The first few lines of my Targets file looks like this:

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
Here you will learn all about the latency of our network.

+Local

menu = Local
title = Local Network
#parents = owner:/Test/James location:/

++ LocalMachine

menu = Local Machine
title = This host
host = localhost
#alerts = someloss

++ 8-8-8-8
menu = 8.8.8.8
title = 8.8.8.8
host = 8.8.8.8
#alerts = someloss

++ Router
menu = Router: 192.168.1.1
title = Router: 192.168.1.1
host = 192.168.1.1
#alerts = someloss

++ Desktop
menu = Desktop: 192.168.1.2
title = Desktop: 192.168.1.2
host = 192.168.1.2
alerts = someloss

The default URL to the smokeping website is:

http://<host-ip>/smokeping/smokeping.cgi

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA
Change the CAPTCHA codeSpeak the CAPTCHA code
 

This site uses Akismet to reduce spam. Learn how your comment data is processed.