Age | Commit message (Expand) | Author | Files | Lines |
---|---|---|---|---|
2023-02-02 | mod/notification-telegram: support sending to specific chatid | Christian Hesse | 1 | -1/+2 |
2023-02-01 | doc/telegram-chat: give an example on how to work around command runtime | Christian Hesse | 1 | -0/+7 |
2023-02-01 | doc/telegram-chat: add hint on output size | Christian Hesse | 1 | -0/+6 |
2023-02-01 | telegram-chat: modify text if no output available | Christian Hesse | 1 | -1/+2 |
2023-02-01 | telegram-chat: also give a hint on failed syntax validation•••... and drop the warning in log instead. | Christian Hesse | 1 | -1/+3 |
2023-02-01 | telegram-chat: ... and give a hint on failure | Christian Hesse | 1 | -1/+4 |
2023-02-01 | telegram-chat: handle error in command... | Christian Hesse | 1 | -1/+2 |
2023-02-01 | telegram-chat: give a hint if command is still running | Christian Hesse | 1 | -2/+3 |
2023-02-01 | doc/telegram-chat: add hint on command runtime | Christian Hesse | 1 | -0/+6 |
2023-02-01 | doc/telegram-chat: warn about changing group id | Christian Hesse | 1 | -0/+3 |
2023-01-31 | doc/telegram-chat: allow bots to receive messages in a group | Christian Hesse | 1 | -0/+6 |
2023-01-31 | daily-psk: make qr-code url configurablechange-92 | Christian Hesse | 6 | -4/+9 |
2023-01-31 | check-routeros-update: drop check for cap•••This becomes complicated with legacy wireless and wifiwave2 package, old and new CAPsMAN. Let's just drop the check. change-91 | Christian Hesse | 5 | -11/+2 |
2023-01-31 | introduce telegram-chat•••Druvis from Mikrotik produced a video "MikroTik Telegram bot - Chat with your Router?". He shows his script to chat with a Router via Telegram bot to send it commands: https://youtu.be/KLX6j3sLRIE This script is kind of limited and has several issues... 🥴 Let's make it robust, usable, multi-device capable and just fun! 😁 (Sadly Mikrotik has a policy to not allow links in Youtube comments. Thus my comment with several hints was removed immediately. If anybody is in contact with Druvis... Please tell him about this script!) change-90 | Christian Hesse | 9 | -1/+222 |
2023-01-31 | global-functions: $WaitForFile: allow to give iterations...•••... to increase timeout. Every iteration is about 100ms. | Christian Hesse | 1 | -1/+3 |
2023-01-26 | check-certificates: handle decryption failures and warn•••If a download succeeds at least one of the given passphrases is expected to decrypt a key in the file. | Christian Hesse | 1 | -1/+10 |
2023-01-26 | global-functions: $LogPrintExit2: always print the message...•••... even on error. Not sure why and when this broke. | Christian Hesse | 1 | -5/+5 |
2023-01-24 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2023-01-23 | check-certificates: make the warning time configurablechange-89 | Christian Hesse | 5 | -2/+7 |
2023-01-23 | doc/check-certificates: document the renew time | Christian Hesse | 1 | -0/+1 |
2023-01-23 | global-functions: $MkDir: catch error on creating tmpfs | Christian Hesse | 1 | -1/+7 |
2023-01-23 | global-functions: $MkDir: create with reasonable tmpfs-max-size•••Giving no tmpfs-max-size breaks with RouterOS 7.8beta2, where a size limit is enforced. routeros-7.8beta2 | Christian Hesse | 1 | -1/+1 |
2023-01-22 | daily-psk: fixes for CAPsMAN | Christian Hesse | 2 | -6/+9 |
2023-01-20 | check-health: notify about new featureschange-88 | Christian Hesse | 2 | -1/+2 |
2023-01-20 | check-health: silently exit without health readings...•••... but after checking CPU load and free RAM. | Christian Hesse | 1 | -11/+11 |
2023-01-20 | check-health: monitor free RAM•••---- ✂️ ---- 🗃️📉️ Health warning: free RAM The available free RAM on MikroTik is at 18% (47MiB)! ---- ✂️ ---- 🗃️📈️ Health recovery: free RAM The available free RAM on MikroTik increased to 65% (168MiB). ---- ✂️ ---- | Christian Hesse | 10 | -8/+36 |
2023-01-20 | check-health: monitor CPU load•••---- ✂️ ---- 🧮️📈️ Health warning: CPU load The average CPU load on MikroTik is at 76%! ---- ✂️ ---- 🧮️📉️ Health recovery: CPU load The average CPU load on MikroTik decreased to 64%. ---- ✂️ ---- | Christian Hesse | 10 | -7/+30 |
2023-01-20 | global-functions: $RequiredRouterOS: check for valid version string | Christian Hesse | 1 | -0/+6 |
2023-01-20 | global-functions: use new functionality for version check | Christian Hesse | 1 | -3/+2 |
2023-01-20 | global-functions: $ScriptInstallUpdate: add a version check for scripts•••New RouterOS releases bring new features, and thus new syntax. Installing a new script on old RouterOS results in syntax errors. We want to give clear warning messages, so by adding an extra comment into the script... # requires RouterOS, version=7.8beta3 ... installing on unsupported RouterOS version is mitigated. | Christian Hesse | 1 | -10/+19 |
2023-01-20 | lease-script: use $Grep | Christian Hesse | 1 | -7/+4 |
2023-01-20 | global-functions: implement $Grep...•••... that returns the first line that matches a pattern. | Christian Hesse | 1 | -0/+21 |
2023-01-20 | log-forward: cache the result of $LogForwardFilterLogForwarding•••Looks like the function is called for every message to match otherwise. 😳 | Christian Hesse | 1 | -1/+2 |
2023-01-20 | doc/log-forward: add tips and tricks | Christian Hesse | 1 | -0/+12 |
2023-01-18 | doc/log-forward: add some more details | Christian Hesse | 1 | -5/+20 |
2023-01-17 | ipsec-to-dns: handle "CN=" from peer's id•••This was missing in commit bff6689b103287f44c573e3134b9b9a64c36c0a8 and cause the dns entry to be delete and re-created over and over again. routeros-7.6-3 | Christian Hesse | 1 | -2/+4 |
2023-01-12 | global-functions: $MkDir: no early continue for dir "tmpfs"...•••... as we want a RAM disk. | Christian Hesse | 1 | -1/+1 |
2023-01-12 | doc/daily-psk: drop the start-date from scheduler | Christian Hesse | 1 | -2/+2 |
2023-01-12 | doc/daily-psk: add missing bits for CAPsMAN | Christian Hesse | 1 | -5/+9 |
2023-01-12 | global-functions: $ScriptInstallUpdate: handle config version decrease...•••... and log a warning. | Christian Hesse | 1 | -1/+7 |
2023-01-12 | mod/notification-*: support extra text (or emojis 🚀) in notification tagschange-87 | Christian Hesse | 6 | -7/+16 |
2023-01-11 | mod/notification-email: split off generation of subject | Christian Hesse | 1 | -10/+17 |
2023-01-11 | mod/notification-email: move $QuotedPrintable (from global-functions)•••This is used for e-mail only... | Christian Hesse | 2 | -37/+37 |
2023-01-11 | log-forward: do not declare unused function | Christian Hesse | 1 | -1/+0 |
2023-01-11 | log-forward: generate filter in mod/notification-email | Christian Hesse | 2 | -8/+20 |
2023-01-11 | use arrows with emoji representation•••We had... ◀ Go back to main README ▲ Go back to top ... and switch to... ⬅️ Go back to main README ⬆️ Go back to top | Christian Hesse | 50 | -148/+148 |
2023-01-11 | README: install custom script from routeros-scripts-custom | Christian Hesse | 2 | -4/+1 |
2023-01-10 | README: add linked custom scripts & modules | Christian Hesse | 1 | -0/+20 |
2023-01-10 | doc/sms-forward: take care of harmful commands in hooks | Christian Hesse | 1 | -0/+7 |
2023-01-10 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2023-01-10 | sms-forward: support hookschange-86 | Anatoly Bubenkov | 5 | -1/+60 |
2023-01-09 | doc/sms-forward: reorder configuration | Christian Hesse | 1 | -3/+4 |
2023-01-02 | .gitignore: ignore folder settings file | Anatoly Bubenkov | 1 | -0/+3 |
2023-01-02 | .gitignore: ignore files created by patch command | Christian Hesse | 1 | -1/+3 |
2023-01-02 | .gitignore: add comments | Christian Hesse | 1 | -0/+5 |
2023-01-02 | backup-upload: keep floppy emoji for failure | Christian Hesse | 1 | -1/+1 |
2023-01-02 | backup-cloud: keep floppy emoji for failure | Christian Hesse | 1 | -1/+1 |
2023-01-02 | update copyright for 2023 | Christian Hesse | 62 | -62/+62 |
2022-12-19 | README: RouterOS v7 path syntax•••Missed one in b6ddc5968e7a3393bb6e9b0c0ccf96379efc62b4... | Christian Hesse | 1 | -1/+1 |
2022-12-13 | backup-upload: switch path to tmpfs | Christian Hesse | 1 | -2/+3 |
2022-12-13 | backup-email: switch path to tmpfs | Christian Hesse | 1 | -2/+3 |
2022-12-13 | backup-upload: create directory later | Christian Hesse | 1 | -4/+4 |
2022-12-13 | backup-email: create directory later | Christian Hesse | 1 | -4/+4 |
2022-12-13 | global-functions: $MkDir: create a tmpfs (RAM disk)...•••... if the path starts with "tmpfs/". This helps to mitigate flash wear. routeros-7.7rc1 | Christian Hesse | 1 | -0/+10 |
2022-12-13 | global-functions: $MkDir: create directories recursively | Christian Hesse | 1 | -14/+30 |
2022-12-13 | global-functions: $MkDir: rename internal variable | Christian Hesse | 1 | -10/+10 |
2022-12-13 | global-functions: $MkDir: fail if non-directory path exists | Christian Hesse | 1 | -0/+5 |
2022-12-12 | global-functions: check RouterOS version before loading modules | Christian Hesse | 1 | -3/+3 |
2022-12-06 | global-functions: $SymbolByUnicodeName: append variation selector-16...•••... to specify that the preceding character should be displayed with emoji presentation. https://unicode-table.com/en/FE0F/ | Christian Hesse | 1 | -1/+1 |
2022-11-29 | global-functions: introduce $IsMacLocallyAdministered...•••... and use it in $GetMacVendor. | Christian Hesse | 1 | -1/+11 |
2022-11-25 | netwatch-notify: support type https-get•••... which was introduced in RouterOS 7.7beta8. routeros-7.7beta8 | Christian Hesse | 1 | -1/+1 |
2022-11-22 | global-functions: $IsTimeSync: no cloud on x86 | Christian Hesse | 1 | -2/+3 |
2022-11-22 | global-functions: $IsTimeSync: no cloud with CHR free license | Christian Hesse | 1 | -0/+5 |
2022-11-22 | doc/mod/notification-email: mention correct time | Christian Hesse | 1 | -0/+2 |
2022-11-22 | mod/notification-email: put status in scheduler comment | Christian Hesse | 1 | -4/+4 |
2022-11-22 | mod/notification-email: set scheduler interval earlier•••... to make sure the checks are not re-run every second. | Christian Hesse | 1 | -0/+4 |
2022-11-22 | mod/notification-email: reference scheduler from variable | Christian Hesse | 1 | -4/+5 |
2022-11-22 | global-functions: $ScriptLock: use shorter random string•••... but with all characters from alphabet with $GetRandom20CharAlNum. | Christian Hesse | 1 | -2/+2 |
2022-11-22 | global-functions: $MkDir: use shorter random string•••... but with all characters from alphabet with $GetRandom20CharAlNum. | Christian Hesse | 1 | -2/+2 |
2022-11-17 | README: link to Github pull requests | Christian Hesse | 1 | -1/+3 |
2022-11-17 | mod/notification-email: make sure the scheduler interval is never zero | Christian Hesse | 1 | -1/+1 |
2022-11-17 | mod/notification-email: check that attachment exists | Christian Hesse | 1 | -1/+8 |
2022-11-17 | mod/notification-email: convert to array earlier | Christian Hesse | 1 | -2/+2 |
2022-11-17 | mod/notification-email: fix typo | Christian Hesse | 1 | -1/+1 |
2022-10-31 | README: copy *relevant* configuration only | Christian Hesse | 3 | -2/+2 |
2022-10-21 | netwatch-notify: cache the result•••If this script runs from terminal this will not change... 😜 So cache the result. Co-authored-by: Michael Gisbers <michael@gisbers.de> | Christian Hesse | 1 | -1/+3 |
2022-10-21 | netwatch-notify: always show messages when run from terminal•••Co-authored-by: Christian Hesse <mail@eworm.de> | Michael Gisbers | 1 | -1/+3 |
2022-10-21 | netwatch-notify: stop flooding the log after down notification•••This will now log all messages before notification, and every two hours (or scheduler interval * 120) after. | Christian Hesse | 1 | -5/+7 |
2022-10-20 | Merge branch 'notifications' into next•••These are generated with my 'RouterOS-Scripts Notification Generator': https://eworm.de/ros/notification/ | Christian Hesse | 46 | -666/+17 |
2022-10-20 | doc/sms-forward: update notification•••---- ✂️ ---- 📨 SMS Forwarding from 7277 Received this message by MikroTik from 7277: On oct/17/2022 13:44:10 GMT -0 type class-0: Welcome to our network! ---- ✂️ ---- | Christian Hesse | 3 | -37/+1 |
2022-10-20 | doc/netwatch-notify: update notifications•••---- ✂️ ---- ❌ Netwatch Notify: example.com down The host 'example.com' (93.184.216.34) is down since oct/19/2022 16:27:03. ---- ✂️ ---- ✅ Netwatch Notify: example.com up The host 'example.com' (93.184.216.34) is up since oct/19/2022 17:03:00. It was down for 6 checks since oct/19/2022 16:27:03. ---- ✂️ ---- | Christian Hesse | 5 | -71/+2 |
2022-10-20 | doc/log-forward: update notification•••---- ✂️ ---- ⚠️ Log Forwarding The log on MikroTik contains these 3 messages after 6d23:55:18 uptime. ● 13:24:02 script;error backup-cloud: Failed uploading backup for MikroTik to cloud! ● 13:24:17 system;info;account user admin logged in from 192.168.88.177 via ssh ● 13:24:57 system;info;account user admin logged out from 192.168.88.177 via ssh ---- ✂️ ---- | Christian Hesse | 3 | -38/+1 |
2022-10-20 | doc/daily-psk: update notification•••---- ✂️ ---- 📅 daily PSK Guest-Wifi This is the daily PSK on MikroTik: SSID: Guest-Wifi PSK: S3cr3tStr1ng Date: oct/18/2022 A client device specific rule must not exist! 🔗 https://www.eworm.de/cgi-bin/cqrlogo-wifi.cgi?scale=8&level=1&ssid=Guest-Wifi&pass=S3cr3tStr1ng ---- ✂️ ---- | Christian Hesse | 3 | -41/+1 |
2022-10-20 | doc/collect-wireless-mac: update notification•••---- ✂️ ---- 📱 48:F1:7F:D0:E5:4E connected to Wifi A device with unknown MAC address connected to Wifi on MikroTik. Controller: MikroTik Interface: wl5-wifi SSID: Wifi MAC: 48:F1:7F:D0:E5:4E Vendor: Intel Corporate Hostname: host-523c8e0e Address: 192.168.20.254 DNS name: host-523c8e0e.dhcp.MikroTik.example.com Date: oct/20/2022 09:21:56 ---- ✂️ ---- | Christian Hesse | 3 | -45/+1 |
2022-10-20 | doc/check-routeros-update: update notification•••---- ✂️ ---- ✨ RouterOS update A new RouterOS version 7.6 is available for MikroTik. Hostname: MikroTik Board name: CHR Architecture: x86_64 RouterOS: Channel: stable Installed: 7.5 Available: 7.6 RouterOS-Scripts: Version: 85 🔗 https://mikrotik.com/download/changelogs/stable-release-tree ---- ✂️ ---- | Christian Hesse | 3 | -46/+1 |
2022-10-20 | doc/check-lte-firmware-upgrade: update notification•••---- ✂️ ---- ✨ LTE firmware upgrade A new firmware version R11e-LTE6_V033 is available for LTE interface lte on MikroTik. Interface: MikroTik R11e-LTE6 Installed: R11e-LTE6_V027 Available: R11e-LTE6_V033 ---- ✂️ ---- | Christian Hesse | 3 | -39/+1 |
2022-10-20 | doc/check-health: update notifications•••---- ✂️ ---- ⚡📉 Health warning: voltage The voltage on MikroTik jumped more than 10%. old value: 16.2V new value: 12.4V ---- ✂️ ---- 🔥 Health warning: temperature The temperature on MikroTik is above threshold: 51°C ---- ✂️ ---- ✅ Health recovery: temperature The temperature on MikroTik dropped below threshold: 47°C ---- ✂️ ---- ❌ Health warning: psu1-state The power supply unit 'psu1-state' on MikroTik failed! ---- ✂️ ---- ✅ Health recovery: psu1-state The power supply unit 'psu1-state' on MikroTik recovered! ---- ✂️ ---- | Christian Hesse | 11 | -173/+5 |
2022-10-20 | doc/check-certificates: update notification•••---- ✂️ ---- 🔏 Certificate renewed A certificate on MikroTik has been renewed. Name: example.com CommonName: example.com Private key: available Fingerprint: cc54cdd01fcd7698ecb71213874be776906eb33d26cd57754d168632f14c4c8b Issuer: R3 Validity: sep/08/2022 03:50:56 to dec/07/2022 03:50:55 Expires in: 8w 3d 12:03:30 ---- ✂️ ---- | Christian Hesse | 3 | -42/+1 |
2022-10-20 | doc/backup-upload: update notification•••---- ✂️ ---- 💾⬆️ Backup & Config upload Backup and config export upload for MikroTik. Hostname: MikroTik Board name: CHR Architecture: x86_64 RouterOS: Channel: stable Installed: 7.6 RouterOS-Scripts: Version: 85 Backup file: MikroTik_example_com.backup Config file: MikroTik_example_com.rsc ---- ✂️ ---- | Christian Hesse | 3 | -46/+1 |
2022-10-20 | doc/backup-cloud: update notification•••---- ✂️ ---- 💾☁️ Cloud backup Uploaded backup for MikroTik to cloud. Hostname: MikroTik Board name: CHR Architecture: x86_64 RouterOS: Channel: stable Installed: 7.6 RouterOS-Scripts: Version: 85 Name: cloud-20221020-092419 Size: 370767 B (362 KiB) Download key: LLDBfPcWXxmSetWilqeJX5V ---- ✂️ ---- | Christian Hesse | 3 | -47/+1 |