aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
AgeCommit message (Collapse)AuthorFilesLines
2023-01-31check-routeros-update: drop check for capchange-91Gravatar Christian Hesse1-2/+0
This becomes complicated with legacy wireless and wifiwave2 package, old and new CAPsMAN. Let's just drop the check.
2023-01-31introduce telegram-chatchange-90Gravatar Christian Hesse1-0/+8
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!)
2023-01-23check-certificates: make the warning time configurablechange-89Gravatar Christian Hesse1-0/+1
2023-01-12mod/notification-*: support extra text (or emojis 🚀) in notification tagschange-87Gravatar Christian Hesse1-0/+3
2023-01-10sms-forward: support hookschange-86Gravatar Anatoly Bubenkov1-0/+8
2023-01-02update copyright for 2023Gravatar Christian Hesse1-1/+1
2022-09-25introduce 'mod/notification-email', split off from global-functionschange-84Gravatar Christian Hesse1-3/+5
2022-08-25global-config: add earth symbol in hello-world message for mode buttonGravatar Christian Hesse1-1/+1
2022-08-15check-health: increase default temperature deviationGravatar Christian Hesse1-1/+1
Some devices (with bad temperature sensort?) still product a flood of notifications... Try to avoid that.
2022-07-06global-config: new setting to disable news and change notifications...change-83Gravatar Christian Hesse1-3/+2
... and also drop the version from global-config and global-config-overlay.
2022-07-06netwatch-notify: rename parameter: hostname -> namechange-82Gravatar Christian Hesse1-1/+1
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.
2022-06-15drop script 'rotate-ntp'change-81Gravatar Christian Hesse1-5/+1
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
2022-05-12notify about freeze of routeros-v7 branchchange-80Gravatar Christian Hesse1-1/+1
2022-05-10global-config: RouterOS v7 path syntaxGravatar Christian Hesse1-6/+6
2022-03-30introduce backup-partitionchange-79Gravatar Christian Hesse1-1/+1
2022-02-21doc/mod: notify about new documentationchange-78Gravatar Christian Hesse1-1/+1
2022-02-10introduce firmware-upgrade-rebootchange-77Gravatar Christian Hesse1-1/+1
2022-02-10netwatch-notify: allow to suppress notification on host downchange-76Gravatar Christian Hesse1-1/+1
2022-01-14global: notify about merging 'routeros-v7' into 'main'change-75Gravatar Christian Hesse1-1/+1
2022-01-14README: drop hint on branch 'routeros-v7'Gravatar Christian Hesse1-4/+1
2022-01-07hotspot-to-wpa: support settings from templatechange-74Gravatar Christian Hesse1-1/+1
2022-01-06Migrate configuration and send notification on renameschange-73Gravatar Christian Hesse1-1/+1
2022-01-06rename script email-backup -> backup-emailGravatar Christian Hesse1-1/+1
2022-01-03introduce netwatch-dnschange-72Gravatar Christian Hesse1-1/+1
2022-01-01update copyright for 2022Gravatar Christian Hesse1-1/+1
2021-12-13README: changes for RouterOS v6change-71Gravatar Christian Hesse1-1/+1
2021-12-07global-config: load overlay automaticallyGravatar Christian Hesse1-0/+8
2021-12-07README: changes for RouterOS v7change-70Gravatar Christian Hesse1-2/+5
2021-11-16check-health: support hard lower limit for voltagechange-69Gravatar Christian Hesse1-1/+2
... to detect slow decrease of voltage, for example with UPS.
2021-11-16reintroduce global-waitchange-68Gravatar Christian Hesse1-1/+1
2021-11-15shorten modules directory name (global-functions.d -> mod)change-67Gravatar Christian Hesse1-4/+4
2021-11-15bridge-port-to-default -> global-functions.d/bridge-port-tochange-66Gravatar Christian Hesse1-6/+3
2021-11-12add global-functions.d/bridge-port-vlanchange-65Gravatar Christian Hesse1-1/+1
2021-09-21global-functions.d/inspectvar: add $InspectVar...change-64Gravatar Christian Hesse1-1/+1
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
2021-09-21global-functions: notify about move of $IPCalc and $ScriptRunOnce to moduleschange-63Gravatar Christian Hesse1-1/+1
Just install with... $ScriptInstallUpdate global-functions.d/ipcalc ... and/or... $ScriptInstallUpdate global-functions.d/scriptrunonce ... and use the functions as before.
2021-09-21global-functions: move $ScriptRunOnce to optional moduleGravatar Christian Hesse1-0/+2
2021-07-10global-functions: introduce $ScriptRunOncechange-62Gravatar Christian Hesse1-1/+5
2021-07-09finally remove old scriptschange-61Gravatar Christian Hesse1-1/+1
2021-07-09netwatch-notify: implement pre-down hookchange-60Gravatar Christian Hesse1-1/+1
2021-07-01check-routeros-update: allow update for capchange-59Gravatar Michael Gisbers1-1/+3
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.
2021-06-23hotspot-to-wpa: add optional cleanup scriptchange-58Gravatar Christian Hesse1-1/+1
2021-06-23celebrating the 1.000th commit - hooray!change-57Gravatar Christian Hesse1-1/+1
2021-06-23notify about tag in scriptschange-56Gravatar Christian Hesse1-1/+1
2021-06-09log-forward: implement reverse logic to include messages...change-55Gravatar Christian Hesse1-3/+9
... 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*.
2021-06-09log-forward: update comments in global-configGravatar Christian Hesse1-3/+4
2021-06-08global-functions: make Telegram notifications a modulechange-54Gravatar Christian Hesse1-2/+3
2021-06-08global-functions: implement notifications via Matrixchange-53Gravatar Michael Gisbers1-4/+14
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/
2021-05-18update Let's Encrypt trust chainchange-52Gravatar Christian Hesse1-1/+1
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
2021-05-17add 'ipsec-to-dns'change-51Gravatar Christian Hesse1-1/+1
2021-05-06netwatch-notify: support dynamic address updatechange-50Gravatar Christian Hesse1-1/+1
2021-04-29email-backup: use $SendEMail2change-49Gravatar Christian Hesse1-4/+2
This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings overwrite if required: :global EmailGeneralToOverride { "email-backup"="backup@example.com"; }
2021-04-28global-functions: notify about settings overridechange-48Gravatar Christian Hesse1-1/+1
2021-04-28global-config: comment on overriding e-mail and Telegram settingsGravatar Christian Hesse1-0/+7
2021-03-15log-forward: filter e-mail error on log forwarding in script...Gravatar Christian Hesse1-3/+5
... and update the filter in global configuration.
2021-03-11log-forward: update filter to match mail with quoted-printable encodingGravatar Christian Hesse1-1/+1
2021-02-25let's keep next branch and document itGravatar Christian Hesse1-0/+5
2021-02-24certs: remove obsolote certificate "Let's Encrypt Authority X3"change-47Gravatar Christian Hesse1-1/+1
Let's Encrypt started issuing certificates from "R3" intermediate on December 2nd. All certificates should be renewed by now...
2021-02-24backup: notify about random delaychange-46Gravatar Christian Hesse1-1/+1
2021-02-24cloud-backup: add configurable random delayGravatar Christian Hesse1-0/+1
2021-02-23switch default branch from master to mainGravatar Christian Hesse1-2/+2
2021-02-22We have a Telegram group!change-45Gravatar Christian Hesse1-1/+1
2021-02-18global: drop script 'global-wait'change-44Gravatar Christian Hesse1-1/+1
All scripts wait for the global functions on their own now.
2021-02-18email-backup: no example address, complain if missingGravatar Christian Hesse1-2/+2
2021-02-16global-functions: send (and re-send) e-mails from queuechange-43Gravatar Christian Hesse1-1/+1
2021-01-22global-functions: $LogPrintExit: notify about colorful outputchange-42Gravatar Christian Hesse1-1/+1
2021-01-22global-functions: $LogPrintExit: make colorful output configurableGravatar Christian Hesse1-0/+2
2021-01-01update copyright for 2021Gravatar Christian Hesse1-1/+1
2020-12-18global-functions: $ScriptInstallUpdate: implement migration mechanismchange-41Gravatar Christian Hesse1-1/+1
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate to test... :set SentConfigChangesNotification $ScriptInstallUpdate
2020-12-18check-certificates: make the certificate renewal time configurablechange-40Gravatar Christian Hesse1-1/+2
2020-12-18ipv6-update: notify about interface specific address list entrieschange-39Gravatar Christian Hesse1-1/+1
2020-12-17import Let's Encrypt certificate "R3"change-38Gravatar Christian Hesse1-1/+1
2020-11-26log-forward: add parenthesis in filter expressionGravatar Christian Hesse1-1/+1
Looks like this works without parenthesis in RouterOS, let's add it anyway.
2020-11-17netwatch-notify: notify about changeschange-37Gravatar Christian Hesse1-1/+1
2020-11-13log-forward: do not exclude topic 'script'Gravatar Christian Hesse1-1/+1
We have justified severity for some log message, so do no longer exclude topic 'script'.
2020-11-13log-forward: do not forward own e-mail logsGravatar Christian Hesse1-2/+2
Revert the last change, instead just ignore messages that were generated by log-forward, with "Log Forwarding" in subject.
2020-11-12log-forward: do not forward e-mail logsGravatar Christian Hesse1-1/+1
This could cause infinite loop if the mail server does not recover...
2020-11-01check-routeros-update: support installing updates automatically if seen in ↵change-36Gravatar Christian Hesse1-1/+3
neighbor list
2020-10-23mode-button: make LED configurablechange-35Gravatar Christian Hesse1-1/+3
2020-10-23ospf-to-leds: introduce script to visualize ospf state via ledschange-34Gravatar Christian Hesse1-1/+1
2020-10-16check-health: add deviation on temperature recovery thresholdchange-33Gravatar Christian Hesse1-1/+3
This helps against notification flooding.
2020-10-16mode-button: merge mode-button-event & mode-button-schedulerchange-32Gravatar Christian Hesse1-1/+1
2020-10-15global-config: do not define mail addresses by defaultGravatar Christian Hesse1-2/+4
2020-10-13global-functions: $SendTelegram: use fixed-width font...change-31Gravatar Christian Hesse1-1/+3
... but give configuration to opt-out.
2020-09-28log-forward: notify on rate limitchange-30Gravatar Christian Hesse1-1/+1
2020-09-25log-forward: add filter on log message textchange-29Gravatar Christian Hesse1-1/+4
2020-09-25dhcp-to-dns: notify on acting on all bound leaseschange-28Gravatar Christian Hesse1-1/+1
2020-09-25global-functions: notify on Telegram queuechange-27Gravatar Christian Hesse1-1/+1
2020-09-25netwatch-notify: notify on configurable check count thresholdchange-26Gravatar Christian Hesse1-1/+1
2020-09-18extend magic pattern with "by RouterOS"Gravatar Christian Hesse1-1/+1
This matches the string included in export.
2020-08-07notify about support for dhcp server name in fqdnchange-25Gravatar Christian Hesse1-1/+1
2020-08-07dhcp-to-dns: add support for dhcp server name in fqdnGravatar netztrip1-0/+1
2020-07-17global-functions: introduce and use $SymbolForNotificationchange-24Gravatar Christian Hesse1-1/+4
2020-07-15add 'log-forward', drop 'early-errors'change-23Gravatar Christian Hesse1-1/+4
2020-07-14global-config: dropped $ScriptUpdatesIgnore, use ignore flag in commentchange-22Gravatar Christian Hesse1-4/+2
2020-07-14notify about auto patch updates in check-routeros-updatechange-21Gravatar Christian Hesse1-1/+1
2020-07-14notify about hooks in netwatch-notifychange-20Gravatar Christian Hesse1-1/+1
2020-07-14notify about options in script commentschange-19Gravatar Christian Hesse1-1/+1
2020-07-14notify about $IPCalcchange-18Gravatar Christian Hesse1-1/+1
2020-07-14notify about early-errorschange-17Gravatar Christian Hesse1-1/+1
2020-07-07check-routeros-update: support installing patch updates automaticallyGravatar Christian Hesse1-0/+2