mirror of
https://github.com/gbudny93/RouterOS_Useful_Scripts.git
synced 2025-06-24 02:38:39 +02:00
Update. Version added to each script
This commit is contained in:
parent
755b365f47
commit
72e6c76a23
24 changed files with 50 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Fucntion
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Checks if latest firmware is available. Installs it and sends email notification
|
||||
|
||||
:global AutoFirmwareUpgrade do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Fucntion
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Checks if latest package is available. Downloads it, installs and sends email notification
|
||||
|
||||
:global PackageAutoDownload do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Creates new backup file and uploads it to MikroTik Cloud
|
||||
|
||||
:global CloudBackup do={
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#Basic config and security MT check with some basic statistics
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Adds log entry if file is removed or added
|
||||
|
||||
:global FileToLog do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Removes files by specific name or file extansion
|
||||
|
||||
:global FileScreening do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Formats RouterOS additional drive
|
||||
|
||||
:global FormatDrive do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Changes LCD mode based on time schedule
|
||||
|
||||
:global ChangeLcd do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Loads function to RouterOS environment
|
||||
|
||||
:global LoadScript do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Script
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Filters logs to desired output for specified match
|
||||
|
||||
:global LogFilter do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Generates mail alarm based on log message match
|
||||
|
||||
:global LogToAlert do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Generates log alert when free disk space reach specified treshhold
|
||||
|
||||
:global LowDiskSpace do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Creates RouterOS backup and config file and sends them via email
|
||||
|
||||
:global MailBackup do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Modulo function
|
||||
|
||||
:global Modulo do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Port Knock from RouterOS
|
||||
|
||||
:global PortKnock do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# ARP/RARP Function (shortange syntax)
|
||||
|
||||
:global R_ARP do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Sends Radius statistics via email
|
||||
|
||||
:global RadiusMonitor do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Script
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Renews RouterOS License
|
||||
|
||||
:global RenewLicense do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Reset interface if particular IP does not respond
|
||||
|
||||
:global ResetInterface do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Fetches RouterOS script from external https location and runs it or creates schedule task
|
||||
|
||||
:global FetchScript do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Generates random string based on dictionary of six chars length
|
||||
|
||||
:global GenerateString do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Substrings variable
|
||||
|
||||
:global Subtring do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# Send system general status to email
|
||||
|
||||
:global SystemStatus do={
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# RouterOS Function
|
||||
# Copyright (c) Grzegorz Budny
|
||||
# Version 1.0
|
||||
# Last update: 2/8/2020
|
||||
# After defined number of logon failure attempts in 1 hour sends email alert and blocks source IP on firewall
|
||||
|
||||
:global UserAlert do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue