aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-07-13check-health: update initialization of empty arrayGravatar Christian Hesse1-2/+2
Having the parenthesis here is important for valid syntax!
2022-07-13backup-email: update initialization of empty arrayGravatar Christian Hesse1-1/+1
Having the parenthesis here is important for valid syntax!
2022-07-13accesslist-duplicates: update initialization of empty arrayGravatar Christian Hesse3-6/+6
Having the parenthesis here is important for valid syntax!
2022-07-11... and another oneGravatar Christian Hesse1-1/+1
2022-07-11give a heart for contributions ❤️Gravatar Christian Hesse1-1/+1
2022-07-11update list of contributorsGravatar Christian Hesse1-0/+1
2022-07-11netwatch-dns: properly check for disabled stateGravatar Christian Hesse1-2/+2
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'.
2022-07-11daily-psk: properly check for disabled stateGravatar Christian Hesse2-2/+2
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'.
2022-07-11check-routeros-update: drop check for package...Gravatar Christian Hesse1-6/+4
... as wireless package is bundled with the system with RouterOS 7.x.
2022-07-08update list of contributorsGravatar Christian Hesse1-0/+1
2022-07-07README: show a sample news and changes notificationGravatar Christian Hesse2-0/+208
2022-07-06global-config: new setting to disable news and change notifications...change-83Gravatar Christian Hesse8-25/+16
... and also drop the version from global-config and global-config-overlay.
2022-07-06global-config-overlay: update wordingGravatar Christian Hesse1-1/+1
2022-07-06Merge branch 'netwatch' into nextGravatar Christian Hesse9-53/+74
2022-07-06netwatch-dns: break long linesGravatar Christian Hesse1-3/+6
2022-07-06netwatch-notify: break long linesGravatar Christian Hesse1-22/+38
2022-07-06netwatch-notify: also support the name from propertyGravatar Christian Hesse1-1/+2
2022-07-06netwatch-notify: quote the host/service nameGravatar Christian Hesse3-9/+9
2022-07-06netwatch-notify: properly handle services (http-get & tcp-conn)Gravatar Christian Hesse3-19/+21
2022-07-06netwatch-notify: $NetwatchNotifyHook: rename variable: $Type -> $StateGravatar Christian Hesse1-6/+6
2022-07-06netwatch-notify: rename variable: $HostName -> $NameGravatar Christian Hesse1-13/+13
2022-07-06netwatch-notify: rename parameter: hostname -> namechange-82Gravatar Christian Hesse7-21/+23
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-07-06netwatch-notify: properly check for disabled stateGravatar Christian Hesse1-1/+1
Looks like checking for 'disabled=no' fails with net netwatch in RouterOS 7.4...
2022-07-05doc/netwatch-dns: use default address for quad-nineGravatar Christian Hesse1-2/+2
2022-07-05doc/netwatch-dns: giving hostname in comment is not requiredGravatar Christian Hesse1-6/+6
2022-07-05mod/ipcalc: use $PrettyPrintGravatar Christian Hesse1-6/+7
2022-07-05mod/inspectvar: use $PrettyPrintGravatar Christian Hesse1-2/+2
2022-07-05global-functions: introduce function $PrettyPrintGravatar Christian Hesse1-0/+10
... to add trailing carriage return when printing to terminal: [admin@MikroTik] > $PrettyPrint [ $DeviceInfo ] Hostname: MikroTik Board name: hAP ac^2 Architecture: arm Model: RouterBOARD D52G-5HacD2HnD-TC Serial number: 8A2A09A221A1 RouterOS: Channel: testing Installed: 7.4rc1 RouterOS-Scripts: Current: 81
2022-07-05mod/ipcalc: remove empty lineGravatar Christian Hesse1-1/+0
2022-06-30mod/bridge-port-to: re-enable interfaces by idGravatar Christian Hesse1-7/+3
2022-06-30mod/bridge-port-vlan: re-enable interfaces by idGravatar Christian Hesse1-7/+3
2022-06-29mod/bridge-port-to: do not act on missing interfaceGravatar Christian Hesse1-2/+5
Happens on broken configuration or early boot...
2022-06-29mod/bridge-port-vlan: do not act on missing interfaceGravatar Christian Hesse1-2/+5
Happens on broken configuration or early boot...
2022-06-28README: How to remove a script...Gravatar Christian Hesse2-0/+12
2022-06-28global-functions: $ScriptInstallUpdate: remove script on failure when installingGravatar Christian Hesse1-1/+7
2022-06-20mod/notification-telegram: only flush queue if fully connectedGravatar Christian Hesse1-0/+6
The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it.
2022-06-20mod/notification-matrix: only flush queue if fully connectedGravatar Christian Hesse1-0/+6
The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it.
2022-06-20global-functions: introduce function $IsFullyConnectedGravatar Christian Hesse1-0/+19
2022-06-20global-functions: rename internal function: $TimeIsSync -> $IsTimeSyncGravatar Christian Hesse1-33/+33
2022-06-20global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolvingGravatar Christian Hesse2-17/+17
2022-06-20global-functions: rename internal function: $DefaultRouteIsReachable -> ↵Gravatar Christian Hesse1-11/+11
$IsDefaultRouteReachable
2022-06-17global-functions: $WaitTimeSync: drop declaration of unused functionGravatar Christian Hesse1-1/+0
2022-06-16fix typos: 'at lease' -> 'at least'Gravatar Christian Hesse4-5/+5
2022-06-15drop script 'rotate-ntp'change-81Gravatar Christian Hesse7-97/+9
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-06-15mod/bridge-port-to: log when re-enabling interfacesGravatar Christian Hesse1-0/+3
2022-06-15mod/bridge-port-vlan: log when re-enabling interfacesGravatar Christian Hesse1-0/+3
2022-06-15mod/bridge-port-to: move reenable to correct levelGravatar Christian Hesse1-6/+6
2022-06-15mod/bridge-port-vlan: move reenable to correct levelGravatar Christian Hesse1-6/+6
2022-06-14global-config-overlay: fix $GlobalConfigVersion...Gravatar Christian Hesse1-1/+1
Looks like I missed this in commit 5e481a768b4cea4534f5f775ce565a79cb1e3eb9. 😳
2022-06-10rotate-ntp: update message to indicate resolve failed againGravatar Christian Hesse1-1/+1
2022-06-10rotate-ntp: do not flood the log on weak connectionGravatar Christian Hesse1-1/+8
2022-06-10doc/mod/bridge-port-to: fix scheduler nameGravatar Christian Hesse1-1/+1
2022-06-08log-forward: fix the pattern excluding mail errorsGravatar Christian Hesse1-4/+5
This looked smart, but did not work... 🤪 Unicode characters have to be in place to make $QuotedPrintable have an effect. So fix it... We have duplicate pattern if symbols are disabled, but that does not hurt.
2022-06-05doc/mod/notification-telegram: how to use the functionGravatar Christian Hesse1-0/+10
2022-06-05doc/mod/notification-matrix: how to use the functionGravatar Christian Hesse1-0/+10
2022-06-02log-forward: inform about rate limit in notificationGravatar Christian Hesse1-5/+7
2022-06-02mod/bridge-port-vlan: show vlan name in log messageGravatar Christian Hesse1-1/+2
2022-06-02mod/bridge-port-vlan: re-enable interfaces with longer delay...Gravatar Christian Hesse1-2/+8
... and in one go to limit the overall runtime. Looks like IPv6 addresses are not flushed if the link down does not last long enough (~ 2 seconds on linux). This results on stale addresses after switching the vlan, which breaks connectivity.
2022-06-02mod/bridge-port-to: re-enable interfaces with longer delay...Gravatar Christian Hesse1-2/+8
... and in one go to limit the overall runtime. Looks like IPv6 addresses are not flushed if the link down does not last long enough (~ 2 seconds on linux). This results on stale addresses after switching bridge, which breaks connectivity.
2022-06-02log-forward: use warning-sign for severity warning and upGravatar Christian Hesse1-4/+11
2022-05-20log-forward: change symbol for notificationGravatar Christian Hesse2-2/+3
2022-05-17global-functions: $FlushEmailQueue: return if time is not syncedGravatar Christian Hesse1-0/+6
The local system time is used in the mail header. We do not want the mails to be sent in the past, so return early (and thus wait for time being synced).
2022-05-16mod/bridge-port-to: add interface down and upGravatar Christian Hesse1-0/+3
This helps the client to detect the change.
2022-05-16mod/bridge-port-vlan: add interface down and upGravatar Christian Hesse1-0/+3
This helps the client to detect the change.
2022-05-16mod/bridge-port-vlan: remove left over commentGravatar Christian Hesse1-1/+0
2022-05-16log-forward: do *not* wait to be fully connectedGravatar Christian Hesse1-3/+0
Let's forward logs as early as possible. All notification functions are expected to handle notifications with queues, so nothing is lost. Just the opposite: Logs being rotated before forwarding becomes less likely.
2022-05-12notify about freeze of routeros-v7 branchchange-80Gravatar Christian Hesse3-2/+3
2022-05-12Merge branch 'ros-v7-path-syntax' into nextGravatar Christian Hesse130-714/+684
2022-05-12Merge branch 'doc' into ros-v7-path-syntaxGravatar Christian Hesse71-182/+165
2022-05-12doc/update-tunnelbroker: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/update-gre-address: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/unattended-lte-firmware-upgrade: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/super-mario-theme: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/ssh-keys-import: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/sms-forward: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/sms-action: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/rotate-ntp: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/ppp-on-up: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/packages-update: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/ospf-to-leds: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/netwatch-syslog: RouterOS v7 path syntaxGravatar Christian Hesse1-3/+3
2022-05-12doc/netwatch-notify: RouterOS v7 path syntaxGravatar Christian Hesse1-17/+18
2022-05-12doc/netwatch-dns: RouterOS v7 path syntaxGravatar Christian Hesse1-8/+8
2022-05-12doc/mode-button: RouterOS v7 path syntaxGravatar Christian Hesse1-7/+7
2022-05-12doc/mod/scriptrunonce: RouterOS v7 path syntaxGravatar Christian Hesse3-2/+2
2022-05-12doc/mod/notification-matrix: RouterOS v7 path syntaxGravatar Christian Hesse4-3/+3
2022-05-12doc/mod/ipcalc.d/ipcalc: RouterOS v7 path syntaxGravatar Christian Hesse2-0/+0
2022-05-12doc/mod/inspectvar: RouterOS v7 path syntaxGravatar Christian Hesse2-1/+1
2022-05-12doc/mod/bridge-port-vlan: RouterOS v7 path syntaxGravatar Christian Hesse1-9/+9
2022-05-12doc/mod/bridge-port-to: RouterOS v7 path syntaxGravatar Christian Hesse1-6/+6
2022-05-12doc/log-forward: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/leds-mode: RouterOS v7 path syntaxGravatar Christian Hesse1-5/+5
2022-05-12doc/lease-script: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/ip-addr-bridge: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/ipv6-update: RouterOS v7 path syntaxGravatar Christian Hesse1-5/+5
2022-05-12doc/ipsec-to-dns: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/hotspot-to-wpa: RouterOS v7 path syntaxGravatar Christian Hesse1-7/+7
2022-05-12doc/gps-track: RouterOS v7 path syntaxGravatar Christian Hesse1-2/+2
2022-05-12doc/global-wait: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1
2022-05-12doc/firmware-upgrade-reboot: RouterOS v7 path syntaxGravatar Christian Hesse1-1/+1