220dd8f892
netwatch-dns: support downloading / importing certificate
2022-09-13 20:28:52 +02:00
3988c70290
doc/netwatch-dns: fix example command...
...
This broke with:
* doc/netwatch-dns: giving hostname in comment is not required
9853943a365639f675fba0bb9c1d64b7edfd00d7
2022-09-13 15:18:28 +02:00
e927c6b08b
global-functions: $GetMacVendor: switched to Let's Encrypt (R3)
...
So let's check for the correct one, and drop the other.
2022-09-13 15:18:28 +02:00
a1af9577ca
global-functions: $ScriptInstallUpdate: prepare for future certificate chain
2022-09-09 14:02:02 +02:00
e228c73984
Merge branch 'netwatch-notify' into next
2022-09-08 09:27:17 +02:00
5aff4019fe
netwatch-notify: do not (yet) notify if parent is up recently
...
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 22:20:52 +02:00
a6645b3e75
netwatch-notify: add new array element to count up-checks
2022-09-07 22:02:46 +02:00
6f772e92a6
netwatch-notify: rename array element
2022-09-07 21:54:57 +02:00
95274e0d23
netwatch-notify: rename variable
2022-09-07 21:54:14 +02:00
8f32887a1a
global-functions: introduce $GetRandom20CharAlNum
2022-09-07 12:28:45 +02:00
ff0b05ea20
global-functions: $GetRandom20CharHex: add optional parameter for length
2022-09-07 12:22:45 +02:00
a7f8aa95d0
netwatch-notify: show dns name (resolve option) in message
2022-09-07 11:21:15 +02:00
e820323e78
global-config: add earth symbol in hello-world message for mode button
2022-08-25 12:57:40 +02:00
8f7a0c2a06
global-functions: $SymbolByUnicodeName: add 'earth'
2022-08-25 12:51:07 +02:00
a7ec92e358
optimize all svg files...
...
... and also update all version numbers to match current release.
2022-08-22 17:16:17 +02:00
50a115f23a
cleanup dummy script from rotate-ntp removal
2022-08-19 08:35:52 +02:00
c126a5a86b
check-health: increase default temperature deviation
...
Some devices (with bad temperature sensort?) still product a flood of
notifications... Try to avoid that.
2022-08-15 21:31:13 +02:00
83372d8b07
logo: optimize the svg file
2022-08-15 17:22:27 +02:00
c9a7421d6c
update list of contributors
2022-08-05 22:58:55 +02:00
28be6d097d
global-functions: $GetRandomNumber: use :rndnum
...
This is available in RouterOS 7.x...
Signed-off-by: Christian Hesse <mail@eworm.de>
2022-08-05 22:58:55 +02:00
0562198c55
global-functions: $GetRandom20CharHex: use :rndstr
...
This is available in RouterOS 7.x...
Signed-off-by: Christian Hesse <mail@eworm.de>
2022-08-05 22:58:55 +02:00
e31a99a301
unattended-lte-firmware-upgrade: try without extra reset
...
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-05 22:58:54 +02:00
50d7e1fa41
check-lte-firmware-upgrade: use $0 for $ScriptFromTerminal
2022-08-04 00:16:35 +02:00
50178e2a3c
capsman-download-packages: use proper array syntax
2022-07-21 14:04:44 +02:00
82f27268b3
global-functions: $IsTimeSync: cache a positive result
...
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 14:04:44 +02:00
329e606b93
global-functions: $IsTimeSync: drop the extra condition...
...
... as ddns is not required to be enabled. The public address is
available anyway, but not set in DNS.
2022-07-21 14:04:44 +02:00
ed7b48061a
global-functions: $IsTimeSync: drop old code
...
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 14:03:11 +02:00
518cc24108
global-functions: $IsFullyConnected: remove trailing space
2022-07-21 13:21:51 +02:00
ce03f44769
check-routeros-update: use a better check for valid version
...
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-18 23:46:49 +02:00
b67b9ec1c1
Merge branch 'empty-array' into next
2022-07-13 11:57:47 +02:00
6fa1525700
sms-forward: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:46 +02:00
d6337fcc97
netwatch-notify: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:32 +02:00
8a85a258fc
netwatch-dns: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:18 +02:00
f34c353b5f
mod/notification-telegram: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:03 +02:00
7f85e69713
mod/notification-matrix: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:51 +02:00
34ea276469
mod/bridge-port-vlan: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:37 +02:00
8436a18919
mod/bridge-port-to: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:25 +02:00
164ebe8c8a
log-forward: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:33:58 +02:00
49147c83ca
lease-script: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:33:38 +02:00
9a89cd5407
global-functions: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:44 +02:00
99a8148d17
daily-psk: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:23 +02:00
2d30f4e462
check-lte-firmware-upgrade: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:32:11 +02:00
eae9a7b956
check-health: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:31:44 +02:00
3006e96598
backup-email: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:31:29 +02:00
073f432204
accesslist-duplicates: update initialization of empty array
...
Having the parenthesis here is important for valid syntax!
2022-07-13 11:30:06 +02:00
5b2ea9b1a4
... and another one
2022-07-11 17:18:18 +02:00
deacda8630
give a heart for contributions ❤️
2022-07-11 17:16:25 +02:00
f9442ceaa2
update list of contributors
2022-07-11 16:22:18 +02:00
876f8a0f82
netwatch-dns: properly check for disabled state
...
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00
cb20b8c380
daily-psk: properly check for disabled state
...
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00