Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-10-08 | update-tunnelbroker: add error handling for fetch command | Christian Hesse | 1 | -3/+7 | |
2022-09-29 | backup-email: check if dependency for sending e-mail is installed | Christian Hesse | 1 | -0/+4 | |
2022-09-28 | global-functions: $ScriptInstallUpdate: disable notification only... | Christian Hesse | 1 | -16/+16 | |
... if requested, but keep output and logs. | |||||
2022-09-28 | global-functions: $ScriptInstallUpdate: drop dead code... | Christian Hesse | 1 | -4/+1 | |
2022-09-25 | global-functions: $ScriptInstallUpdate: drop code for permission workaround | Christian Hesse | 1 | -4/+1 | |
This is no longer used as 'netwatch-syslog' is gone. | |||||
2022-09-25 | drop 'learn-mac-based-vlan' and 'manage-umts' | Christian Hesse | 3 | -46/+0 | |
This was undocumented and scripts did never catch up with general quality expectations, for example global-config and global functions were not used. If you need the code get it from git history. 😜 | |||||
2022-09-25 | drop 'netwatch-syslog'change-85 | Christian Hesse | 5 | -52/+6 | |
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; | |||||
2022-09-25 | introduce 'mod/notification-email', split off from global-functionschange-84 | Christian Hesse | 20 | -151/+240 | |
2022-09-25 | global-functions: $FlushEmailQueue: do not flush if sending | Christian Hesse | 1 | -0/+5 | |
2022-09-25 | Makefile: add a clean target | Christian Hesse | 1 | -0/+3 | |
2022-09-21 | unattended-lte-firmware-upgrade: increase delay before extra reset | Christian Hesse | 1 | -1/+1 | |
2022-09-20 | netwatch-notify: use a counter for resolve failures | Christian Hesse | 1 | -5/+5 | |
This should relax the error message a bit as it is not triggered on first failure. | |||||
2022-09-20 | global-functions: $GetMacVendor: detect locally administered addresses | Christian Hesse | 1 | -0/+4 | |
https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local_(U/L_bit) | |||||
2022-09-15 | mod/notification-matrix: $FlushMatrixQueue: use $0 for scheduler name | Christian Hesse | 1 | -4/+4 | |
2022-09-15 | mod/notification-telegram: $FlushTelegramQueue: use $0 for scheduler name | Christian Hesse | 1 | -4/+4 | |
2022-09-15 | global-functions: $FlushEmailQueue: use $0 for scheduler name | Christian Hesse | 1 | -6/+6 | |
2022-09-15 | global-functions: $FlushEmailQueue: do not flush with resolver issues | Christian Hesse | 1 | -0/+6 | |
Flushing the mail queue with resolver issues can flood the log with messages like: e-mail;error Error sending e-mail <=?utf-8?Q?[MikroTik] =F0=9F=92=BE=E2=98=81 Cloud backup?=>: DNS resolve failed Try to avoid this... | |||||
2022-09-13 | netwatch-dns: support downloading / importing certificate | Christian Hesse | 2 | -0/+16 | |
2022-09-13 | doc/netwatch-dns: fix example command... | Christian Hesse | 1 | -1/+1 | |
This broke with: * doc/netwatch-dns: giving hostname in comment is not required 9853943a365639f675fba0bb9c1d64b7edfd00d7 | |||||
2022-09-13 | global-functions: $GetMacVendor: switched to Let's Encrypt (R3) | Christian Hesse | 2 | -167/+1 | |
So let's check for the correct one, and drop the other. | |||||
2022-09-09 | global-functions: $ScriptInstallUpdate: prepare for future certificate chain | Christian Hesse | 1 | -0/+4 | |
2022-09-08 | Merge branch 'netwatch-notify' into next | Christian Hesse | 1 | -14/+19 | |
2022-09-07 | netwatch-notify: do not (yet) notify if parent is up recently | Christian Hesse | 1 | -1/+3 | |
Monitoring a VPN (or similar) may be tricky: This used to send notifications if the physical connection recovered, but the VPN and/or its routing did not yet. Let's work around and send notification only if the parent is up for at least three checks. | |||||
2022-09-07 | netwatch-notify: add new array element to count up-checks | Christian Hesse | 1 | -1/+4 | |
2022-09-07 | netwatch-notify: rename array element | Christian Hesse | 1 | -10/+10 | |
2022-09-07 | netwatch-notify: rename variable | Christian Hesse | 1 | -8/+8 | |
2022-09-07 | global-functions: introduce $GetRandom20CharAlNum | Christian Hesse | 1 | -0/+8 | |
2022-09-07 | global-functions: $GetRandom20CharHex: add optional parameter for length | Christian Hesse | 1 | -1/+3 | |
2022-09-07 | netwatch-notify: show dns name (resolve option) in message | Christian Hesse | 1 | -5/+7 | |
2022-08-25 | global-config: add earth symbol in hello-world message for mode button | Christian Hesse | 1 | -1/+1 | |
2022-08-25 | global-functions: $SymbolByUnicodeName: add 'earth' | Christian Hesse | 1 | -0/+1 | |
2022-08-22 | optimize all svg files... | Christian Hesse | 17 | -3142/+598 | |
... and also update all version numbers to match current release. | |||||
2022-08-19 | cleanup dummy script from rotate-ntp removal | Christian Hesse | 1 | -2/+0 | |
2022-08-15 | check-health: increase default temperature deviation | Christian Hesse | 1 | -1/+1 | |
Some devices (with bad temperature sensort?) still product a flood of notifications... Try to avoid that. | |||||
2022-08-15 | logo: optimize the svg file | Christian Hesse | 1 | -121/+22 | |
2022-08-05 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2022-08-05 | global-functions: $GetRandomNumber: use :rndnum | Michael Gisbers | 1 | -8/+2 | |
This is available in RouterOS 7.x... Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2022-08-05 | global-functions: $GetRandom20CharHex: use :rndstr | Michael Gisbers | 1 | -1/+1 | |
This is available in RouterOS 7.x... Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2022-08-05 | unattended-lte-firmware-upgrade: try without extra reset | Christian Hesse | 1 | -3/+9 | |
Testing with R11e-LTE6 I can see the interface being reset by the upgrade. So the extra reset is no longer required? Trying without. | |||||
2022-08-04 | check-lte-firmware-upgrade: use $0 for $ScriptFromTerminal | Christian Hesse | 1 | -2/+2 | |
2022-07-21 | capsman-download-packages: use proper array syntax | Christian Hesse | 1 | -1/+1 | |
2022-07-21 | global-functions: $IsTimeSync: cache a positive result | Christian Hesse | 1 | -0/+8 | |
The functions do not rely on perfectly synced time. About the right time is fine, that should make sure certificates are valid and mails are sent with reasonable headers. So cache the result if system is fine for later use. | |||||
2022-07-21 | global-functions: $IsTimeSync: drop the extra condition... | Christian Hesse | 1 | -1/+1 | |
... as ddns is not required to be enabled. The public address is available anyway, but not set in DNS. | |||||
2022-07-21 | global-functions: $IsTimeSync: drop old code | Christian Hesse | 1 | -8/+2 | |
In RouterOS 7.x the ntp client and server are bundled and unique and can not be unavailable. Also it does no longer have a 'last-adjustment' property... | |||||
2022-07-21 | global-functions: $IsFullyConnected: remove trailing space | Christian Hesse | 1 | -1/+1 | |
2022-07-18 | check-routeros-update: use a better check for valid version | Christian Hesse | 1 | -4/+4 | |
Currently the latest version in long-term branch is 0.0... And the script is sending downgrade notifications. 😝 Obviously that is not a valid version... With this changen a version has to be 7.0 and above to be considered valid. | |||||
2022-07-13 | Merge branch 'empty-array' into next | Christian Hesse | 19 | -30/+30 | |
2022-07-13 | sms-forward: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | netwatch-notify: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | netwatch-dns: update initialization of empty array | Christian Hesse | 1 | -2/+2 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/notification-telegram: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/notification-matrix: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/bridge-port-vlan: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/bridge-port-to: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | log-forward: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | lease-script: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | global-functions: update initialization of empty array | Christian Hesse | 1 | -7/+7 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | daily-psk: update initialization of empty array | Christian Hesse | 3 | -3/+3 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | check-lte-firmware-upgrade: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | check-health: update initialization of empty array | Christian Hesse | 1 | -2/+2 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | backup-email: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | accesslist-duplicates: update initialization of empty array | Christian Hesse | 3 | -6/+6 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-11 | ... and another one | Christian Hesse | 1 | -1/+1 | |
2022-07-11 | give a heart for contributions ❤️ | Christian Hesse | 1 | -1/+1 | |
2022-07-11 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2022-07-11 | netwatch-dns: properly check for disabled state | Christian Hesse | 1 | -2/+2 | |
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'. | |||||
2022-07-11 | daily-psk: properly check for disabled state | Christian Hesse | 2 | -2/+2 | |
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'. | |||||
2022-07-11 | check-routeros-update: drop check for package... | Christian Hesse | 1 | -6/+4 | |
... as wireless package is bundled with the system with RouterOS 7.x. | |||||
2022-07-08 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2022-07-07 | README: show a sample news and changes notification | Christian Hesse | 2 | -0/+208 | |
2022-07-06 | global-config: new setting to disable news and change notifications...change-83 | Christian Hesse | 8 | -25/+16 | |
... and also drop the version from global-config and global-config-overlay. | |||||
2022-07-06 | global-config-overlay: update wording | Christian Hesse | 1 | -1/+1 | |
2022-07-06 | Merge branch 'netwatch' into next | Christian Hesse | 9 | -53/+74 | |
2022-07-06 | netwatch-dns: break long lines | Christian Hesse | 1 | -3/+6 | |
2022-07-06 | netwatch-notify: break long lines | Christian Hesse | 1 | -22/+38 | |
2022-07-06 | netwatch-notify: also support the name from property | Christian Hesse | 1 | -1/+2 | |
2022-07-06 | netwatch-notify: quote the host/service name | Christian Hesse | 3 | -9/+9 | |
2022-07-06 | netwatch-notify: properly handle services (http-get & tcp-conn) | Christian Hesse | 3 | -19/+21 | |
2022-07-06 | netwatch-notify: $NetwatchNotifyHook: rename variable: $Type -> $State | Christian Hesse | 1 | -6/+6 | |
2022-07-06 | netwatch-notify: rename variable: $HostName -> $Name | Christian Hesse | 1 | -13/+13 | |
2022-07-06 | netwatch-notify: rename parameter: hostname -> namechange-82 | Christian Hesse | 7 | -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-06 | netwatch-notify: properly check for disabled state | Christian Hesse | 1 | -1/+1 | |
Looks like checking for 'disabled=no' fails with net netwatch in RouterOS 7.4... | |||||
2022-07-05 | doc/netwatch-dns: use default address for quad-nine | Christian Hesse | 1 | -2/+2 | |
2022-07-05 | doc/netwatch-dns: giving hostname in comment is not required | Christian Hesse | 1 | -6/+6 | |
2022-07-05 | mod/ipcalc: use $PrettyPrint | Christian Hesse | 1 | -6/+7 | |
2022-07-05 | mod/inspectvar: use $PrettyPrint | Christian Hesse | 1 | -2/+2 | |
2022-07-05 | global-functions: introduce function $PrettyPrint | Christian Hesse | 1 | -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-05 | mod/ipcalc: remove empty line | Christian Hesse | 1 | -1/+0 | |
2022-06-30 | mod/bridge-port-to: re-enable interfaces by id | Christian Hesse | 1 | -7/+3 | |
2022-06-30 | mod/bridge-port-vlan: re-enable interfaces by id | Christian Hesse | 1 | -7/+3 | |
2022-06-29 | mod/bridge-port-to: do not act on missing interface | Christian Hesse | 1 | -2/+5 | |
Happens on broken configuration or early boot... | |||||
2022-06-29 | mod/bridge-port-vlan: do not act on missing interface | Christian Hesse | 1 | -2/+5 | |
Happens on broken configuration or early boot... | |||||
2022-06-28 | README: How to remove a script... | Christian Hesse | 2 | -0/+12 | |
2022-06-28 | global-functions: $ScriptInstallUpdate: remove script on failure when installing | Christian Hesse | 1 | -1/+7 | |
2022-06-20 | mod/notification-telegram: only flush queue if fully connected | Christian Hesse | 1 | -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-20 | mod/notification-matrix: only flush queue if fully connected | Christian Hesse | 1 | -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-20 | global-functions: introduce function $IsFullyConnected | Christian Hesse | 1 | -0/+19 | |
2022-06-20 | global-functions: rename internal function: $TimeIsSync -> $IsTimeSync | Christian Hesse | 1 | -33/+33 | |
2022-06-20 | global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving | Christian Hesse | 2 | -17/+17 | |
2022-06-20 | global-functions: rename internal function: $DefaultRouteIsReachable -> ↵ | Christian Hesse | 1 | -11/+11 | |
$IsDefaultRouteReachable |