https://github.com/laspavel/mikrotik-scripts
My Microtik Scripts
https://github.com/laspavel/mikrotik-scripts
mikrotik mikrotik-script mikrotik-scripting routeros-scripts scripts
Last synced: 4 months ago
JSON representation
My Microtik Scripts
- Host: GitHub
- URL: https://github.com/laspavel/mikrotik-scripts
- Owner: laspavel
- License: gpl-3.0
- Created: 2020-11-14T20:14:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T01:54:27.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T05:19:08.772Z (over 1 year ago)
- Topics: mikrotik, mikrotik-script, mikrotik-scripting, routeros-scripts, scripts
- Language: RouterOS Script
- Homepage:
- Size: 22.5 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My MikroTik Scripts Collection
A set of automation and optimization scripts for MikroTik RouterOS devices.
## 📌 Description
This repository contains scripts designed for:
* Automatic configuration backups
* Firmware and RouterOS updates
* PPPoE and routing monitoring
* LED status control
* Telegram alert notifications
* VPN connection management
## ⚙️ Requirements
* RouterOS version 6.45 or higher (some scripts may require newer versions)
* Enabled packages: system, scheduler, fetch, tool
* Internet access and a valid Telegram bot token (for Telegram-based scripts)
## 🚀 Installation & Usage
* Download the required script from this repository
* Upload it to your MikroTik device via Winbox, WebFig, or SSH
* Import the script using the following command:
```bash
/import file-name=script_name.rsc
```
* Customize the script parameters if needed
## 📄 Script List
* AutoBackup.rsc — automated configuration backups
* AutoUpdateFirmware.rsc — automated firmware updates
* AutoUpdateRouterOS.rsc — RouterOS upgrade automation
* CheckPPPoEAndRoutes.rsc — PPPoE and route state verification
* LedsDayMode.rsc / LedsNightMode.rsc / LedsToggleMode.rsc — LED mode control
* RebootStatus.rsc — reboot logging and monitoring
* TelegramMessage.rsc — send notifications via Telegram
* vpnscript.rsc — automated VPN connection management
## 🧩 Example Usage
Example of scheduling automatic configuration backups:
```bash
/system scheduler add interval=1d name=AutoBackup on-event="/system script run AutoBackup" start-date=2020-11-14 start-time=03:30:00
```
## 🛡️ License
GPL-3.0.
## 🤝 Contributions
Suggestions and improvements are welcome! Feel free to open an issue or submit a pull request.
## 📬 Contact
Author: [laspavel](https://github.com/laspavel)
Feel free to reach out with questions or ideas.
---