aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2021-01-11check-certificates: do not renew if loosing private keyGravatar Christian Hesse1-0/+5
2021-01-11check-certificates: show info on private keyGravatar Christian Hesse1-0/+2
2021-01-04global-functions: introduce and use $RequiredRouterOSGravatar Christian Hesse1-0/+21
2021-01-03global-functions: $ScriptInstallUpdate: log error on reloading global functionsGravatar Christian Hesse1-1/+5
2021-01-03global-functions: $ScriptInstallUpdate: log error on reloading global configu...Gravatar Christian Hesse1-1/+5
2021-01-03hotspot-to-wpa: always use first entry to place beforeGravatar Christian Hesse1-1/+1
2021-01-03dhcp-to-dns: always use first entry to place beforeGravatar Christian Hesse1-1/+1
2021-01-03collect-wireless-mac: always use first entry to place beforeGravatar Christian Hesse3-3/+3
2021-01-03ipv6-update: simplify the code...•••... and make it match the code used in other scripts. Gravatar Christian Hesse1-4/+3
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-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> Gravatar Daniel Ziegenberg3-3/+3
2020-12-30certs: 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'. Gravatar Christian Hesse6-68/+1028
2020-12-20global-functions: $ScriptInstallUpdate: simplify codeGravatar Christian Hesse1-6/+1
2020-12-20global-functions: $ScriptInstallUpdate: drop ignore migration•••Anybody had enough time to migrate, no? Gravatar Christian Hesse1-10/+0
2020-12-18global-functions: $ScriptInstallUpdate: implement migration mechanism•••Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate to test... :set SentConfigChangesNotification $ScriptInstallUpdate change-41Gravatar Christian Hesse4-3/+16
2020-12-18global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate semi-m...•••... and remove the migration from changes. Gravatar Christian Hesse2-5/+5
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 down•••We have to wait for the interfaces, no need to delay address list entry. Gravatar Christian Hesse1-3/+3
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 certificates•••https://letsencrypt.org/certificates/ Gravatar Christian Hesse2-0/+112
2020-12-14log-forward: add 'if any' in log messageGravatar Christian Hesse1-1/+1
2020-12-10global-functions: $FlushTelegramQueue: log warning on empty queue...•••... if scheduler exists. Gravatar Christian Hesse1-0/+5
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 typo•••Signed-off-by: Michael Gisbers <michael@gisbers.de> Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Michael Gisbers1-1/+1
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 link•••For e-mail just in plain text... Gravatar Christian Hesse1-0/+2
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 link•••Formatting with fixed width font stopped links from being clickable. Gravatar Christian Hesse1-2/+8
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 expression•••Looks like this works without parenthesis in RouterOS, let's add it anyway. Gravatar Christian Hesse1-1/+1
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 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. Gravatar Christian Hesse1-4/+3
2020-11-20check-health: do not write unicode to logGravatar Christian Hesse1-1/+1
2020-11-19check-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. Gravatar Christian Hesse1-0/+6
2020-11-19check-health: handle formatting by picking from string•••The mathematical way is more elegant, but just picking the char from string is shorter. 😜 Gravatar Christian Hesse1-4/+1
2020-11-19check-health: properly handle voltage value below one•••Before this produced division by zero... Gravatar Christian Hesse1-0/+3
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'•••We have justified severity for some log message, so do no longer exclude topic 'script'. Gravatar Christian Hesse1-1/+1
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 info•••The message is queued, not lost... Gravatar Christian Hesse1-1/+1
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 logs•••Revert the last change, instead just ignore messages that were generated by log-forward, with "Log Forwarding" in subject. Gravatar Christian Hesse1-2/+2
2020-11-12log-forward: do not forward e-mail logs•••This could cause infinite loop if the mail server does not recover... Gravatar Christian Hesse1-1/+1
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 ne...change-36Gravatar Christian Hesse6-5/+19
2020-10-27global-functions: $SymbolForNotification: support multiple symbols...•••... with comma-separated list. Gravatar Christian Hesse1-1/+5
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 delay•••The `:beep` command is async... So an additional delay is required unconditionally. Gravatar Christian Hesse1-2/+1
2020-10-23bridge-port-to-default: be more robust•••This was unreliable with inconsistent configuration... Gravatar Christian Hesse1-11/+21
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 feeback•••The user-led needs to be configured with type=off, it is ignored with other configuration. Gravatar Christian Hesse1-4/+6
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 threshold•••This helps against notification flooding. change-33Gravatar Christian Hesse5-9/+19
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