Christian Hesse
4368f500c3
ipv6-update: get old prefix from first matching address list entry
2021-01-03 19:56:47 +01:00
Christian Hesse
547fbc630a
update copyright for 2021
2021-01-01 21:33:52 +01:00
Christian Hesse
ea7cdcb4a5
update list of contributors
2020-12-30 12:47:55 +01:00
Daniel Ziegenberg
ca6668950b
collect-wireless-mac: always select first lease from dhcp-server
...
The script fails at setting the hostname when there are multiple leases
for a mac address.
In line 36 and 37 the hostname gets set from the data the lease. When there
is more than one lease for a specific mac address this fails with the message
"invalid internal item number". More than one lease for a mac address is
possible, if you have more than one SSID on a capsman and a single device
can login into more than one SSID.
Fixes #10
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-12-30 12:42:03 +01:00
Christian Hesse
97ade535d9
certs: add plain text info about certificates
...
Also order certificates, so we have:
* intermediate
* root
* alternative root, if any
Let's add 'ISRG Root X1' for 'E1' as there will be a valid cross-signed
chain 'E1' -> 'ISRG Root X2' -> 'ISRG Root X1'.
2020-12-30 00:45:11 +01:00
Christian Hesse
605c313e46
global-functions: $ScriptInstallUpdate: simplify code
2020-12-20 23:33:16 +01:00
Christian Hesse
caddcbabe2
global-functions: $ScriptInstallUpdate: drop ignore migration
...
Anybody had enough time to migrate, no?
2020-12-20 23:27:02 +01:00
Christian Hesse
0360a0ef90
global-functions: $ScriptInstallUpdate: implement migration mechanism
...
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate
to test...
:set SentConfigChangesNotification
$ScriptInstallUpdate
2020-12-18 20:32:29 +01:00
Christian Hesse
40dc2415d3
global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate semi-mandatory
...
... and remove the migration from changes.
2020-12-18 20:32:29 +01:00
Christian Hesse
05a9531dac
certs: remove Let's Encrypt Authority X3
2020-12-18 20:32:29 +01:00
Christian Hesse
25d5454234
INITIAL-COMMANDS: drop Let's Encrypt Authority X3
2020-12-18 20:32:29 +01:00
Christian Hesse
c4c139d5a6
README: drop Let's Encrypt Authority X3
2020-12-18 20:32:29 +01:00
Christian Hesse
010e2d6b05
check-certificates: make the certificate renewal time configurable
2020-12-18 16:02:31 +01:00
Christian Hesse
be75772256
Merge branch 'ipv6-update'
2020-12-18 15:32:51 +01:00
Christian Hesse
3657830582
ipv6-update: notify about interface specific address list entries
2020-12-18 15:31:03 +01:00
Christian Hesse
cb72eccc6c
ipv6-update: update interface specific address list entries
2020-12-18 10:11:18 +01:00
Christian Hesse
503dc3c32c
ipv6-update: move the delay down
...
We have to wait for the interfaces, no need to delay address list entry.
2020-12-18 10:01:50 +01:00
Christian Hesse
744a03896c
ipv6-update: automatically add ipv6 address list entry
2020-12-18 09:59:13 +01:00
Christian Hesse
e9210acfdb
ipv6-update: add missing colon
2020-12-18 00:02:56 +01:00
Christian Hesse
62598b6653
import Let's Encrypt certificate "R3"
2020-12-17 22:47:12 +01:00
Christian Hesse
c51a630a21
INITIAL-COMMANDS: also import Let's Encrypt certificate "R3"
2020-12-17 22:14:25 +01:00
Christian Hesse
9f6b877aef
README: also import Let's Encrypt certificate "R3"
2020-12-17 22:14:25 +01:00
Christian Hesse
50199a57a0
certs: add new Let's Encrypt certificates
...
https://letsencrypt.org/certificates/
2020-12-17 21:58:53 +01:00
Christian Hesse
16d3709030
log-forward: add 'if any' in log message
2020-12-14 23:39:50 +01:00
Christian Hesse
158c27e293
global-functions: $FlushTelegramQueue: log warning on empty queue...
...
... if scheduler exists.
2020-12-10 09:53:43 +01:00
Christian Hesse
adf35f3b16
global-functions: $FlushTelegramQueue: do not fail if run without scheduler
2020-12-10 09:38:59 +01:00
Christian Hesse
cef0e8c079
global-functions: $SendTelegram: give amount of truncated text
2020-12-01 09:11:37 +01:00
Michael Gisbers
e2e831dbf9
global-functions: $CertificateDownload: fix typo
...
Signed-off-by: Michael Gisbers <michael@gisbers.de>
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-11-29 22:26:18 +01:00
Christian Hesse
107f9e4bdf
Merge branch 'telegram-clickable'
2020-11-27 10:03:08 +01:00
Christian Hesse
ca4e25283f
global-functions: clickable links in telegram notifications
2020-11-26 23:04:05 +01:00
Christian Hesse
d09baddac3
global-functions: $SendEMail: prepare to add link
...
For e-mail just in plain text...
2020-11-26 23:04:05 +01:00
Christian Hesse
46866e2ff2
global-functions: $SendEMail: handle signature with $IfThenElse
2020-11-26 22:34:08 +01:00
Christian Hesse
b078ce2f0f
global-functions: $SendTelegram: split off & move down truncation message
2020-11-26 22:24:56 +01:00
Christian Hesse
7e0558e85d
global-functions: $SendTelegram: prepare to add clickable link
...
Formatting with fixed width font stopped links from being clickable.
2020-11-26 22:21:28 +01:00
Christian Hesse
d7725540f8
global-functions: $SendTelegram: change internal wording
2020-11-26 22:06:03 +01:00
Christian Hesse
54e164e542
global-functions: $SendTelegram: try to get the line breaks right
2020-11-26 22:02:39 +01:00
Christian Hesse
c93d1c4944
global-functions: $SendTelegram: disable web page preview
2020-11-26 17:32:12 +01:00
Christian Hesse
6b19cf2578
log-forward: add parenthesis in filter expression
...
Looks like this works without parenthesis in RouterOS,
let's add it anyway.
2020-11-26 10:32:17 +01:00
Christian Hesse
056d273c11
update list of contributors
2020-11-24 13:54:36 +01:00
Christian Hesse
0545fbd899
check-health: re-measure until we have a valid value
2020-11-24 13:54:36 +01:00
Christian Hesse
af50ed5909
check-health: use second measure against temperature spikes
...
The old spike detection was still prone to false alerts. Let's do a
second measurement and ignore on difference.
This results in more measurements being ignored, but temperature is
changing slowly only and it should not hurt.
2020-11-24 13:45:57 +01:00
Christian Hesse
13f7ba11da
check-health: do not write unicode to log
2020-11-20 12:01:15 +01:00
Christian Hesse
b97d5308b1
check-health: guard against temperature spikes
...
Looks like devices out there suffer sensor issue or bug where
temperature value spikes and drops immediately:
https://forum.mikrotik.com/viewtopic.php?t=111030
https://forum.mikrotik.com/viewtopic.php?t=111109
https://forum.mikrotik.com/viewtopic.php?t=151242
... and possibly more.
Let's ignore these spikes, but at the same time increase the current
value to bring it into line - in case it's real.
2020-11-19 21:23:27 +01:00
Christian Hesse
88f9948c72
check-health: handle formatting by picking from string
...
The mathematical way is more elegant, but just picking the char from
string is shorter. 😜
2020-11-19 20:24:09 +01:00
Christian Hesse
7adfd1b670
check-health: properly handle voltage value below one
...
Before this produced division by zero...
2020-11-19 16:32:12 +01:00
Christian Hesse
34a0d4ab85
Merge branch 'netwatch-notify'
2020-11-17 22:45:35 +01:00
Christian Hesse
62ef70e5dd
netwatch-notify: notify about changes
2020-11-17 22:28:05 +01:00
Christian Hesse
23923619dd
netwatch-notify: increase count for every parent in chain
2020-11-17 22:28:05 +01:00
Christian Hesse
e7855b4611
netwatch-notify: support parents in a chain
2020-11-17 22:28:05 +01:00
Christian Hesse
d5125b816a
netwatch-notify: be more verbose in logs
2020-11-17 22:28:05 +01:00