aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2020-10-13global-functions: $SendTelegram: use fixed-width font...•••... but give configuration to opt-out. change-31Gravatar Christian Hesse4-10/+38
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 operation•••The uptime is returned in time, with supports arithmetic modulo operation. This is three minutes in nano seconds, so multiplied 180 with 10^9. Gravatar Christian Hesse1-1/+1
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
2020-10-07upload-backup: hint failure in subjectGravatar Christian Hesse1-2/+4
2020-10-07upload-backup: exit with error on error•••The error has been logged before, so just make sure to exit with error. Gravatar Christian Hesse1-0/+4
2020-10-07cloud-backup: send notification on error and do exitGravatar Christian Hesse1-1/+3
2020-10-07global-functions: $MailServerIsUp: return gracefully on missing configurationGravatar Christian Hesse1-0/+11
2020-09-28log-forward: notify on rate limitchange-30Gravatar Christian Hesse4-3/+4
2020-09-28log-forward: add rate limit to prevent floodingGravatar Christian Hesse1-0/+15
2020-09-28sms-forward: fix usage of functionGravatar Christian Hesse1-1/+1
2020-09-28log-forward: fix usage of functionGravatar Christian Hesse1-1/+1
2020-09-28global-functions: $SendTelegram: scissors symbol for truncationGravatar Christian Hesse1-1/+2
2020-09-27global-functions: $SendTelegram: truncate messages if too long•••Telegram messages have a maximum length of 4096 characters. Truncate if too long, keep some spare characters for status messages. Gravatar Christian Hesse1-1/+8
2020-09-25log-forward: add filter on log message textchange-29Gravatar Christian Hesse6-5/+11
2020-09-25dhcp-to-dns: notify on acting on all bound leaseschange-28Gravatar Christian Hesse4-3/+4
2020-09-25global-functions: notify on Telegram queuechange-27Gravatar Christian Hesse4-3/+4
2020-09-25netwatch-notify: notify on configurable check count thresholdchange-26Gravatar Christian Hesse4-3/+4
2020-09-21netwatch-syslog: find the correct netwatch entryGravatar Christian Hesse1-1/+1
2020-09-20lease-script: give correct hint in messageGravatar Christian Hesse1-1/+1
2020-09-19dhcp-to-dns: also act on static leases•••Since commit 0560f828 we act on bound leases only. That keeps offline clients away, so act on static leases as well. Gravatar Christian Hesse1-4/+4
2020-09-18collect-wireless-mac: add symbol in notificationGravatar Christian Hesse4-3/+7
2020-09-18daily-psk: add symbol in notificationGravatar Christian Hesse4-3/+7
2020-09-18extend magic pattern with "by RouterOS"•••This matches the string included in export. Gravatar Christian Hesse56-59/+59
2020-09-17global-functions: add missing colonGravatar Christian Hesse1-1/+1
2020-09-14global-functions: $FlushTelegramQueue: destroy empty queueGravatar Christian Hesse1-0/+1
2020-09-14global-functions: $FlushTelegramQueue: give hint on queued messageGravatar Christian Hesse1-2/+8
2020-09-14global-functions: queue Telegram notifications on failure and re-send•••This introduces function $FlushTelegramQueue, which flushes queue of Telegram notifications. Notifications are appended to the queue if sending failed. Gravatar Christian Hesse1-3/+45
2020-09-08doc/mode-button: add code to check for supportGravatar Christian Hesse1-0/+14
2020-09-06check-certificates: do not notify with missing validity periodGravatar Christian Hesse1-1/+1
2020-09-03doc/check-certificates: hint on running on startupGravatar Christian Hesse1-0/+4
2020-09-01check-certificates: better check for non-empty valueGravatar Christian Hesse1-1/+1
2020-09-01bridge-port-to-default: better check for non-empty valueGravatar Christian Hesse1-1/+1
2020-09-01global-functions: $DefaultRouteIsReachable: exclude blackholeGravatar Christian Hesse1-1/+1