Skip to content

oehmiche/isp-performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

isp-performance: smokeping with github-pages

Shell-script solution which combines the great smokeping-tool with github-pages: runs on a raspberry pi and pushes the results of the smokeping-measurement to a github-repository, so that the charts with the performance of your internet service provider are available for everybody.

Preliminary

Setup your smokeping-server.

The blog.kugelfish.com or the how-to on the spiceworks community page are a good starting point. Find the configuration files in /etc/smokeping/config.d/ (see my my configuration in the folder smokeping.config.d in this repository)

Start smokeping with /etc/init.d/smokeping start

Steps for setting up the Gitup push script

Here are the steps to setup the script on your own raspberry pi:

  • create a github-project (or clone this project)

  • create a public-private key without password-protection*

  • put the public key to your github settings (rtfm)

  • clone your github repository on your raspberry pi

  • adapt the git.upload.sh script with your local paths

  • set the execution-bit for the user running the script (chmod u+x git.upload.sh)

  • create a crontab entry with crontab -e

     05 */2 * * * /home/pi/smokeping/bin/git.upload.sh >> /home/pi/smokeping/logs/git.upload.log 2>&1
    

    (updates the graphics every 2nd hour)

Note

  • You can test your script be manually calling the github.upload.sh
  • If you want to use the configuration files from this repository, change the paths in the /etc/smokeping/config.

Sites

*): I don't know how to include a ssh-agent into the crontab-script, so that a password is not required when accessing the private key.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages