Skip to content

Simplify scheduling scripts on your Asuswrt-Merlin based router. Just drop your bash script in the designated folder for your desired interval (minute, half-hour, hour, or day) and merlin-script-engine takes care of the rest.

Notifications You must be signed in to change notification settings

gitzain/merlin-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

merlin-scheduler

Simplify scheduling scripts on your Asuswrt-Merlin based router. Just drop your bash script in the designated folder for your desired interval (minute, half-hour, hour, or day) and merlin-merlin-scheduler takes care of the rest.

The project includes bash scripts to capture and send vital information from the Asuswrt-Merlin router to InfluxDB to be displayed in Grafana.

Table of content

Motivation

I was tired of manually running scripts to monitor my Asuswrt-Merlin router. I wanted a simpler way to track things like ping times, internet speeds, and connected devices. This project automates scheduling those scripts and the default scripts integrate with InfluxDB and Grafana, giving me a clean and easy-to-read dashboard of network's health.

Installation & Usage

Installation

  1. Download the files in this project
  2. scp the entire contents of the src folder to /jffs (scp -rp src/* @:/jffs/scripts)
  3. Make all files executable (chmod -R a+rx /jffs/scripts/*)
  4. Reboot your router

Usage

Write your bash script and simply drop it into the appropriate folder. For example if i wanted the scrip to run every minute i would need to drop it into /jffs/scripts/merlin-scheduler/minute

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

09/04/22: v0.1 Beta

Credits

License

See the LICENSE file in this project's directory.

About

Simplify scheduling scripts on your Asuswrt-Merlin based router. Just drop your bash script in the designated folder for your desired interval (minute, half-hour, hour, or day) and merlin-script-engine takes care of the rest.

Topics

Resources

Stars

Watchers

Forks

Languages