Age | Commit message (Expand) | Author | Files | Lines |
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 | 1 | -0/+1 |
2023-01-23 | check-certificates: make the warning time configurablechange-89 | Christian Hesse | 1 | -0/+1 |
2023-01-20 | check-health: notify about new featureschange-88 | Christian Hesse | 1 | -0/+1 |
2023-01-12 | mod/notification-*: support extra text (or emojis 🚀) in notification tagschange-87 | Christian Hesse | 1 | -0/+1 |
2023-01-10 | sms-forward: support hookschange-86 | Anatoly Bubenkov | 1 | -0/+1 |
2023-01-02 | update copyright for 2023 | Christian Hesse | 1 | -1/+1 |
2022-09-25 | drop 'netwatch-syslog'•••To filter in firewall you should use something like this:
/ip/firewall/filter/add action=reject chain=output out-interface-list=WAN port=514 protocol=udp reject-with=icmp-admin-prohibited;
/ip/firewall/filter/add action=reject chain=forward out-interface-list=WAN port=514 protocol=udp reject-with=icmp-admin-prohibited;
change-85 | Christian Hesse | 1 | -0/+1 |
2022-09-25 | introduce 'mod/notification-email', split off from global-functionschange-84 | Christian Hesse | 1 | -0/+2 |
2022-07-06 | global-config: new setting to disable news and change notifications...•••... and also drop the version from global-config and
global-config-overlay.
change-83 | Christian Hesse | 1 | -0/+1 |
2022-07-06 | netwatch-notify: rename parameter: hostname -> name•••Starting with RouterOS 7.4 the netwatch tool has been extended, it can
now do tcp and http probes. Rename the parameter for reasonable naming
with services.
change-82 | Christian Hesse | 1 | -0/+2 |
2022-06-15 | drop script 'rotate-ntp'•••For RouterOS 6.x a separate package 'ntp' exists. This adds server
functionality, but allows ip addresses for the client only. I added the
script 'rotate-ntp' to update addresses from names...
Now with RouterOS 7.x there's no extra package and the limitation does
no longer exist. So let's just drop the script.
This adds migration code, that...
* removes the script from configuration
* removes a scheduler from configuration
* sets the configured ntp pool name for ntp client
change-81 | Christian Hesse | 1 | -0/+2 |
2022-05-12 | notify about freeze of routeros-v7 branchchange-80 | Christian Hesse | 1 | -0/+1 |
2022-05-12 | README: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 |
2022-05-10 | global-config.changes: RouterOS v7 path syntax | Christian Hesse | 1 | -7/+7 |
2022-03-30 | introduce backup-partitionchange-79 | Christian Hesse | 1 | -0/+1 |
2022-02-21 | doc/mod: notify about new documentationchange-78 | Christian Hesse | 1 | -0/+1 |
2022-02-10 | introduce firmware-upgrade-rebootchange-77 | Christian Hesse | 1 | -0/+1 |
2022-02-10 | netwatch-notify: allow to suppress notification on host downchange-76 | Christian Hesse | 1 | -0/+1 |
2022-01-14 | global: notify about merging 'routeros-v7' into 'main'change-75 | Christian Hesse | 1 | -1/+7 |
2022-01-07 | hotspot-to-wpa: support settings from templatechange-74 | Christian Hesse | 1 | -0/+1 |
2022-01-06 | Migrate configuration and send notification on renameschange-73 | Christian Hesse | 1 | -0/+2 |
2022-01-03 | introduce netwatch-dnschange-72 | Christian Hesse | 1 | -0/+1 |
2022-01-01 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 |
2021-12-13 | README: changes for RouterOS v6change-71 | Christian Hesse | 1 | -0/+1 |
2021-12-07 | README: changes for RouterOS v7change-70 | Christian Hesse | 1 | -0/+1 |
2021-11-16 | check-health: support hard lower limit for voltage•••... to detect slow decrease of voltage, for example with UPS.
change-69 | Christian Hesse | 1 | -0/+1 |
2021-11-16 | reintroduce global-waitchange-68 | Christian Hesse | 1 | -1/+2 |
2021-11-15 | shorten modules directory name (global-functions.d -> mod)change-67 | Christian Hesse | 1 | -2/+4 |
2021-11-15 | bridge-port-to-default -> global-functions.d/bridge-port-tochange-66 | Christian Hesse | 1 | -0/+2 |
2021-11-12 | add global-functions.d/bridge-port-vlanchange-65 | Christian Hesse | 1 | -0/+1 |
2021-09-21 | global-functions.d/inspectvar: add $InspectVar...•••to inspect variables. This is useful for variables with (nested) arrays,
for example inspecting $NetwatchNotify (from netwatch-notify):
[admin@Mikrotik] > $InspectVar $NetwatchNotify
-type-> array
-key-> quad-one
-type-> array
-key-> count
-type-> num
-value-> 0
-key-> notified
-type-> bool
-value-> false
-key-> parent
-type-> nothing
-key-> resolve-failed
-type-> nothing
-key-> since
-type-> nothing
-key-> example.com
-type-> array
-key-> count
-type-> num
-value-> 0
-key-> notified
-type-> bool
-value-> false
-key-> parent
-type-> str
-value-> quad-one
-key-> resolve-failed
-type-> nothing
-key-> since
-type-> nothing
change-64 | Christian Hesse | 1 | -0/+1 |
2021-09-21 | global-functions: notify about move of $IPCalc and $ScriptRunOnce to modules•••Just install with...
$ScriptInstallUpdate global-functions.d/ipcalc
... and/or...
$ScriptInstallUpdate global-functions.d/scriptrunonce
... and use the functions as before.
change-63 | Christian Hesse | 1 | -0/+1 |
2021-07-10 | global-functions: introduce $ScriptRunOncechange-62 | Christian Hesse | 1 | -0/+1 |
2021-07-09 | finally remove old scriptschange-61 | Christian Hesse | 1 | -0/+2 |
2021-07-09 | netwatch-notify: implement pre-down hookchange-60 | Christian Hesse | 1 | -0/+1 |
2021-07-01 | check-routeros-update: allow update for cap•••If CAPsMAN is running on a device with just 16MB flash downloading the
packages is not possible (or at least lost at reboot). So allow a CAP to
update with opt-in.
change-59 | Michael Gisbers | 1 | -0/+1 |
2021-06-23 | hotspot-to-wpa: add optional cleanup scriptchange-58 | Christian Hesse | 1 | -0/+1 |
2021-06-23 | celebrating the 1.000th commit - hooray!change-57 | Christian Hesse | 1 | -0/+1 |
2021-06-23 | notify about tag in scriptschange-56 | Christian Hesse | 1 | -0/+1 |
2021-06-09 | log-forward: implement reverse logic to include messages...•••... even if a filter matches to exclude them. Let's have an example:
:global LogForwardFilter "(debug|info)";
:global LogForwardInclude "account";
This will forward everything about topic *account* (login, logout,
failed login, ...) - even with topic *info*.
change-55 | Christian Hesse | 1 | -0/+1 |
2021-06-08 | global-functions: make Telegram notifications a modulechange-54 | Christian Hesse | 1 | -0/+2 |
2021-06-08 | global-functions: implement notifications via Matrix•••Matrix is an open network for secure, decentralized communication - and
it has a web api.
A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.
https://matrix.org/
change-53 | Michael Gisbers | 1 | -0/+1 |
2021-05-18 | update Let's Encrypt trust chain•••Drop 'DST Root CA X3', use 'ISRG Root X1' instead. The migration code
makes sure that...
* the intermediate certificate 'R3' is signed by 'ISRG Root X1'
* 'ISRG Root X1' is self-signed, not cross-signed by 'DST Root CA X3'
* 'DST Root CA X3' is finally gone
change-52 | Christian Hesse | 1 | -0/+2 |
2021-05-17 | add 'ipsec-to-dns'change-51 | Christian Hesse | 1 | -0/+1 |
2021-05-06 | netwatch-notify: support dynamic address updatechange-50 | Christian Hesse | 1 | -0/+1 |
2021-04-29 | email-backup: use $SendEMail2•••This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:
:global EmailGeneralToOverride {
"email-backup"="backup@example.com";
}
change-49 | Christian Hesse | 1 | -0/+1 |
2021-04-28 | global-functions: notify about settings overridechange-48 | Christian Hesse | 1 | -0/+1 |
2021-03-04 | global-config-overlay: remove magic•••This allows to drop the ignore flag.
| Christian Hesse | 1 | -1/+1 |
2021-02-24 | certs: remove obsolote certificate "Let's Encrypt Authority X3"•••Let's Encrypt started issuing certificates from "R3" intermediate on
December 2nd. All certificates should be renewed by now...
change-47 | Christian Hesse | 1 | -0/+2 |
2021-02-24 | backup: notify about random delaychange-46 | Christian Hesse | 1 | -0/+1 |
2021-02-22 | We have a Telegram group!change-45 | Christian Hesse | 1 | -0/+1 |
2021-02-18 | global: drop script 'global-wait'•••All scripts wait for the global functions on their own now.
change-44 | Christian Hesse | 1 | -0/+1 |
2021-02-16 | global-functions: send (and re-send) e-mails from queuechange-43 | Christian Hesse | 1 | -0/+1 |
2021-01-22 | global-functions: $LogPrintExit: notify about colorful outputchange-42 | Christian Hesse | 1 | -0/+1 |
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 |
2020-12-18 | global-functions: $ScriptInstallUpdate: implement migration mechanism•••Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate
to test...
:set SentConfigChangesNotification
$ScriptInstallUpdate
change-41 | Christian Hesse | 1 | -0/+6 |
2020-12-18 | global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate semi-m...•••... and remove the migration from changes.
| Christian Hesse | 1 | -5/+0 |
2020-12-18 | check-certificates: make the certificate renewal time configurablechange-40 | Christian Hesse | 1 | -0/+1 |
2020-12-18 | ipv6-update: notify about interface specific address list entrieschange-39 | Christian Hesse | 1 | -0/+1 |
2020-12-17 | import Let's Encrypt certificate "R3"change-38 | Christian Hesse | 1 | -0/+6 |
2020-11-17 | netwatch-notify: notify about changeschange-37 | Christian Hesse | 1 | -0/+1 |
2020-11-01 | check-routeros-update: support installing updates automatically if seen in ne...change-36 | Christian Hesse | 1 | -0/+1 |
2020-10-23 | mode-button: make LED configurablechange-35 | Christian Hesse | 1 | -0/+1 |
2020-10-23 | ospf-to-leds: introduce script to visualize ospf state via ledschange-34 | Christian Hesse | 1 | -0/+1 |
2020-10-16 | check-health: add deviation on temperature recovery threshold•••This helps against notification flooding.
change-33 | Christian Hesse | 1 | -0/+1 |
2020-10-16 | mode-button: merge mode-button-event & mode-button-schedulerchange-32 | Christian Hesse | 1 | -0/+1 |
2020-10-13 | global-functions: $SendTelegram: use fixed-width font...•••... but give configuration to opt-out.
change-31 | Christian Hesse | 1 | -0/+1 |
2020-09-28 | log-forward: notify on rate limitchange-30 | Christian Hesse | 1 | -0/+1 |
2020-09-25 | log-forward: add filter on log message textchange-29 | Christian Hesse | 1 | -0/+1 |
2020-09-25 | dhcp-to-dns: notify on acting on all bound leaseschange-28 | Christian Hesse | 1 | -0/+1 |
2020-09-25 | global-functions: notify on Telegram queuechange-27 | Christian Hesse | 1 | -0/+1 |
2020-09-25 | netwatch-notify: notify on configurable check count thresholdchange-26 | Christian Hesse | 1 | -0/+1 |
2020-08-07 | notify about support for dhcp server name in fqdnchange-25 | Christian Hesse | 1 | -0/+1 |
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | Christian Hesse | 1 | -0/+1 |
2020-07-15 | add 'log-forward', drop 'early-errors'change-23 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | global-config: dropped $ScriptUpdatesIgnore, use ignore flag in commentchange-22 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | notify about auto patch updates in check-routeros-updatechange-21 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | notify about hooks in netwatch-notifychange-20 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | notify about options in script commentschange-19 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | notify about $IPCalcchange-18 | Christian Hesse | 1 | -0/+1 |
2020-07-14 | notify about early-errorschange-17 | Christian Hesse | 1 | -0/+1 |
2020-06-19 | explicitly name the license•••Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
| Christian Hesse | 1 | -0/+1 |
2020-03-27 | ask for GitHub and GitLab starschange-16 | Christian Hesse | 1 | -0/+1 |
2020-03-27 | Notify about new documentation!change-15 | Christian Hesse | 1 | -0/+1 |
2020-03-26 | start news items with capital letter | Christian Hesse | 1 | -14/+14 |
2020-03-23 | completely replace script-updates with $ScriptInstallUpdatechange-14 | Christian Hesse | 1 | -1/+2 |
2020-03-03 | bridge-port-to-default: use $ParseKeyValueStore...•••... and unbreak last commit removing delay (69352c90).
This requires a change in configuration syntax. Change this...
comment="default:br-local, alt:br-guest"
to...
comment="default=br-local, alt=br-guest"
change-13 | Christian Hesse | 1 | -0/+1 |
2020-02-04 | global-config: drop $ScriptUpdatesConfigChangesIgnore•••Comment or remove $GlobalConfigVersion in global-config-overlay
to disable change notifications.
change-12 | Christian Hesse | 1 | -0/+1 |
2020-01-29 | README: update instructions to use $ScriptInstallUpdatechange-11 | Christian Hesse | 1 | -0/+1 |
2020-01-01 | update copyright for 2020 | Christian Hesse | 1 | -1/+1 |
2019-10-14 | check-health: make threshold for voltage configurablechange-10 | Christian Hesse | 1 | -0/+1 |
2019-09-12 | introduce global-config-overlaychange-9 | Christian Hesse | 1 | -0/+1 |
2019-08-30 | script-updates: add donation hint in configuration warning notificationchange-8 | Christian Hesse | 1 | -0/+1 |
2019-08-27 | add script 'check-health'•••This may be incomplete... Please report if you have missing PSUs,
ttemperature sensors, whatever.
change-7 | Christian Hesse | 1 | -2/+3 |
2019-07-19 | add script 'upload-backup'change-6 | Christian Hesse | 1 | -0/+1 |
2019-06-14 | backup: split off cloud-backup•••Currently backup to MikroTik cloud is pretty unreliable and script can
not catch errors at runtime. Looks like this does not change any time
soon (Ticket#2019052022003204).
So let's just split off the cloud backup to make sure email backup works
as expected.
change-5 | Christian Hesse | 1 | -0/+1 |
2019-04-02 | script-updates: add option to ignore global-config changeschange-4 | Christian Hesse | 1 | -0/+1 |
2019-04-01 | check-certificates: support multiple passphraseschange-3 | Christian Hesse | 1 | -0/+1 |
2019-04-01 | script-updates: add changelog for global configurationchange-2change-1 | Christian Hesse | 1 | -0/+8 |