Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
/ rrdstorm Public archive
forked from ryzhovau/rrdstorm

RRD-driven graph statistics for routers

Notifications You must be signed in to change notification settings

DontBeAPadavan/rrdstorm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

RRDStorm

This script will helps to collect various statistics about your router and visualize it with some cool graphs.

Installation

  • Install Entware,
  • Install necesary packages:
opkg install bash cron rrdtool
  • Download rrdstorm.sh, make it executable and initialize round-robin database:
wget --no-check-certificate -O /opt/bin/rrdstorm.sh  https://raw.githubusercontent.com/DontBeAPadavan/rrdstorm/master/opt/bin/rrdstorm.sh
chmod +x /opt/bin/rrdstorm.sh
rrdstorm.sh create 0 1 2 3 4 5
  • Configure cron to update stats (once per minute) and graphs (once per hour):
wget --no-check-certificate -O /opt/etc/cron.1min/rrdstorm_update.sh https://raw.githubusercontent.com/DontBeAPadavan/rrdstorm/master/opt/etc/cron.1min/rrdstorm_update.sh
chmod +x /opt/etc/cron.1min/rrdstorm_update.sh
wget --no-check-certificate -O /opt/etc/cron.hourly/rrdstorm_graph.sh https://raw.githubusercontent.com/DontBeAPadavan/rrdstorm/master/opt/etc/cron.hourly/rrdstorm_graph.sh
chmod +x /opt/etc/cron.hourly/rrdstorm_graph.sh
sed -i 's|root|admin|g' /opt/etc/crontab
/opt/etc/init.d/S10cron start

Now check http://my.router/custom/rrdstorm/index.html page from web browser:

All images will be updated once per hour.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%