aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-01-03ipv6-update: get old prefix from first matching address list entryGravatar Christian Hesse1-1/+1
2021-01-01update copyright for 2021Gravatar Christian Hesse55-55/+55
2020-12-30update list of contributorsGravatar Christian Hesse1-3/+4
2020-12-30collect-wireless-mac: always select first lease from dhcp-serverGravatar Daniel Ziegenberg3-3/+3
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-30certs: add plain text info about certificatesGravatar Christian Hesse6-68/+1028
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-20global-functions: $ScriptInstallUpdate: simplify codeGravatar Christian Hesse1-6/+1
2020-12-20global-functions: $ScriptInstallUpdate: drop ignore migrationGravatar Christian Hesse1-10/+0
Anybody had enough time to migrate, no?
2020-12-18global-functions: $ScriptInstallUpdate: implement migration mechanismchange-41Gravatar Christian Hesse4-3/+16
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate to test... :set SentConfigChangesNotification $ScriptInstallUpdate
2020-12-18global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate ↵Gravatar Christian Hesse2-5/+5
semi-mandatory ... and remove the migration from changes.
2020-12-18certs: remove Let's Encrypt Authority X3Gravatar Christian Hesse1-83/+0
2020-12-18INITIAL-COMMANDS: drop Let's Encrypt Authority X3Gravatar Christian Hesse1-5/+1
2020-12-18README: drop Let's Encrypt Authority X3Gravatar Christian Hesse1-18/+3
2020-12-18check-certificates: make the certificate renewal time configurablechange-40Gravatar Christian Hesse5-4/+7
2020-12-18Merge branch 'ipv6-update'Gravatar Christian Hesse6-7/+34
2020-12-18ipv6-update: notify about interface specific address list entrieschange-39Gravatar Christian Hesse4-3/+4
2020-12-18ipv6-update: update interface specific address list entriesGravatar Christian Hesse2-0/+18
2020-12-18ipv6-update: move the delay downGravatar Christian Hesse1-3/+3
We have to wait for the interfaces, no need to delay address list entry.
2020-12-18ipv6-update: automatically add ipv6 address list entryGravatar Christian Hesse2-0/+8
2020-12-18ipv6-update: add missing colonGravatar Christian Hesse1-1/+1
2020-12-17import Let's Encrypt certificate "R3"change-38Gravatar Christian Hesse4-3/+9
2020-12-17INITIAL-COMMANDS: also import Let's Encrypt certificate "R3"Gravatar Christian Hesse1-4/+8
2020-12-17README: also import Let's Encrypt certificate "R3"Gravatar Christian Hesse1-9/+24
2020-12-17certs: add new Let's Encrypt certificatesGravatar Christian Hesse2-0/+112
https://letsencrypt.org/certificates/
2020-12-14log-forward: add 'if any' in log messageGravatar Christian Hesse1-1/+1
2020-12-10global-functions: $FlushTelegramQueue: log warning on empty queue...Gravatar Christian Hesse1-0/+5
... if scheduler exists.
2020-12-10global-functions: $FlushTelegramQueue: do not fail if run without schedulerGravatar Christian Hesse1-1/+1
2020-12-01global-functions: $SendTelegram: give amount of truncated textGravatar Christian Hesse1-2/+4
2020-11-29global-functions: $CertificateDownload: fix typoGravatar Michael Gisbers1-1/+1
Signed-off-by: Michael Gisbers <michael@gisbers.de> Signed-off-by: Christian Hesse <mail@eworm.de>
2020-11-27Merge branch 'telegram-clickable'Gravatar Christian Hesse9-42/+54
2020-11-26global-functions: clickable links in telegram notificationsGravatar Christian Hesse9-30/+29
2020-11-26global-functions: $SendEMail: prepare to add linkGravatar Christian Hesse1-0/+2
For e-mail just in plain text...
2020-11-26global-functions: $SendEMail: handle signature with $IfThenElseGravatar Christian Hesse1-4/+4
2020-11-26global-functions: $SendTelegram: split off & move down truncation messageGravatar Christian Hesse1-3/+7
2020-11-26global-functions: $SendTelegram: prepare to add clickable linkGravatar Christian Hesse1-2/+8
Formatting with fixed width font stopped links from being clickable.
2020-11-26global-functions: $SendTelegram: change internal wordingGravatar Christian Hesse1-5/+5
2020-11-26global-functions: $SendTelegram: try to get the line breaks rightGravatar Christian Hesse1-3/+4
2020-11-26global-functions: $SendTelegram: disable web page previewGravatar 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-24update list of contributorsGravatar Christian Hesse1-0/+1
2020-11-24check-health: re-measure until we have a valid valueGravatar Christian Hesse1-4/+4
2020-11-24check-health: use second measure against temperature spikesGravatar Christian Hesse1-4/+3
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-20check-health: do not write unicode to logGravatar Christian Hesse1-1/+1
2020-11-19check-health: guard against temperature spikesGravatar Christian Hesse1-0/+6
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-19check-health: handle formatting by picking from stringGravatar Christian Hesse1-4/+1
The mathematical way is more elegant, but just picking the char from string is shorter. 😜
2020-11-19check-health: properly handle voltage value below oneGravatar Christian Hesse1-0/+3
Before this produced division by zero...
2020-11-17Merge branch 'netwatch-notify'Gravatar Christian Hesse6-8/+37
2020-11-17netwatch-notify: notify about changeschange-37Gravatar Christian Hesse4-3/+4
2020-11-17netwatch-notify: increase count for every parent in chainGravatar Christian Hesse2-2/+5
2020-11-17netwatch-notify: support parents in a chainGravatar Christian Hesse1-3/+13
2020-11-17netwatch-notify: be more verbose in logsGravatar Christian Hesse1-2/+4
2020-11-17netwatch-notify: implemented simple dependency modelGravatar Christian Hesse2-4/+17
2020-11-17doc/netwatch-notify: remove timeout from examplesGravatar Christian Hesse1-3/+3
2020-11-17netwatch-notify: unbreak custom countGravatar Christian Hesse1-1/+1
2020-11-13Merge branch 'log-forward'Gravatar Christian Hesse5-9/+9
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-13check-certificates: decrease log severity to infoGravatar Christian Hesse1-2/+2
2020-11-13check-routeros-update: decrease log severity to infoGravatar Christian Hesse1-1/+1
2020-11-13check-health: decrease log severity to infoGravatar Christian Hesse1-1/+1
2020-11-13global-functions: $SendTelegram: decrease log severity to infoGravatar Christian Hesse1-1/+1
The message is queued, not lost...
2020-11-13global-functions: $TimeIsSync: decrease log severity to infoGravatar Christian Hesse1-1/+1
2020-11-13global-functions: $MailServerIsUp: decrease log severity to infoGravatar Christian Hesse1-2/+2
2020-11-13global-functions: $CertificateDownload: be more verboseGravatar Christian Hesse1-1/+2
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-06global-functions: $DNSIsResolving: use a domain with low ttlGravatar Christian Hesse1-1/+1
2020-11-01README: optional scheduler to update scripts automaticallyGravatar Christian Hesse2-0/+9
2020-11-01doc/global-wait: link more use casesGravatar Christian Hesse1-0/+3
2020-11-01doc/global-wait: warn about schedulerGravatar Christian Hesse1-0/+3
2020-11-01check-routeros-update: support installing updates automatically if seen in ↵change-36Gravatar Christian Hesse6-5/+19
neighbor list
2020-10-27global-functions: $SymbolForNotification: support multiple symbols...Gravatar Christian Hesse1-1/+5
... with comma-separated list.
2020-10-23mode-button: make LED configurablechange-35Gravatar Christian Hesse6-5/+11
2020-10-23mode-button: act on led with type on or off onlyGravatar Christian Hesse1-5/+12
2020-10-23mode-button: act on led with no interface setting onlyGravatar Christian Hesse1-2/+2
2020-10-23mode-button: fix delayGravatar Christian Hesse1-2/+1
The `:beep` command is async... So an additional delay is required unconditionally.
2020-10-23bridge-port-to-default: be more robustGravatar Christian Hesse1-11/+21
This was unreliable with inconsistent configuration...
2020-10-23ospf-to-leds: introduce script to visualize ospf state via ledschange-34Gravatar Christian Hesse7-3/+63
2020-10-23mode-button: support inverted blinkGravatar Christian Hesse1-2/+5
2020-10-22mode-button: use user-led for visual feebackGravatar Christian Hesse1-4/+6
The user-led needs to be configured with type=off, it is ignored with other configuration.
2020-10-19sms-forward: improve wording for single/multiple message(s)Gravatar Christian Hesse1-2/+4
2020-10-18log-forward: improve wording for single messageGravatar Christian Hesse1-2/+4
2020-10-17check-health: do not hardcode names, use as availableGravatar Christian Hesse1-37/+40
2020-10-17sms-forward: lock against multiple invocationsGravatar Christian Hesse1-0/+3
2020-10-16check-health: add deviation on temperature recovery thresholdchange-33Gravatar Christian Hesse5-9/+19
This helps against notification flooding.
2020-10-16check-health: give error on messing health valuesGravatar Christian Hesse1-0/+4
2020-10-16mode-button: merge mode-button-event & mode-button-schedulerchange-32Gravatar Christian Hesse8-57/+66
2020-10-15README: link to global-configGravatar Christian Hesse1-2/+2
2020-10-15global-config: do not define mail addresses by defaultGravatar Christian Hesse2-5/+7
2020-10-14global-functions: $SendTelegram: clean upGravatar Christian Hesse1-11/+19
2020-10-13cloud-backup: add unit for size, add KiBGravatar Christian Hesse1-1/+1
2020-10-13unattended-lte-firmware-upgrade: convert to functionGravatar Christian Hesse1-9/+12
2020-10-13check-lte-firmware-upgrade: show manufacturer & modelGravatar Christian Hesse1-0/+3
2020-10-13global-functions: $SendTelegram: use fixed-width font...change-31Gravatar Christian Hesse4-10/+38
... but give configuration to opt-out.
2020-10-13global-functions: $FlushTelegramQueue, $SendTelegram: move hintGravatar Christian Hesse1-7/+6
2020-10-13global-functions: $UrlEncode: encode new line & carriage returnGravatar Christian Hesse1-4/+5
2020-10-10global-functions: $IPCalc: return data in arrayGravatar Christian Hesse1-6/+19
2020-10-09global-functions: $WaitTimeSync: calculate with modulo operationGravatar Christian Hesse1-1/+1
The uptime is returned in time, with supports arithmetic modulo operation. This is three minutes in nano seconds, so multiplied 180 with 10^9.
2020-10-08packages-update: improve backup failure handlingGravatar Christian Hesse1-0/+10
2020-10-08packages-update: be more verboseGravatar Christian Hesse1-2/+3
2020-10-07packages-update: fix variable usageGravatar Christian Hesse1-1/+2
2020-10-07global-functions: $LogPrintExit: explicitly set severityGravatar Christian Hesse1-0/+1