aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2020-09-01upload-backup: remove extra curly bracketGravatar Christian Hesse1-1/+0
2020-09-01email-backup: remove extra curly bracketGravatar Christian Hesse1-1/+0
2020-09-01upload-backup: wait for fileGravatar Christian Hesse1-0/+3
2020-09-01email-backup: wait for fileGravatar Christian Hesse1-0/+3
2020-08-26[ ... print count-only ...] -> [ :len [ ... find ... ] ]•••Using 'print count-only' always prints a number to terminal, even if the value is evaluated in a condition or assigned to a variable. This can be quite annoying. Behavior will not chance (SUP-25503), so replacing the code... Gravatar Christian Hesse20-38/+38
2020-08-24netwatch-notify: be more verbose on host downtime•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Christian Hesse1-2/+7
2020-08-24netwatch-notify: make check count threshold configurable•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Christian Hesse2-2/+8
2020-08-21global-functions: $TimeIsSync: return gracefully...•••Situation will not improve... But chances are that RTC is available with correct time, for example from host inside CHR vm. So return gracefully. Gravatar Christian Hesse1-2/+2
2020-08-21global-functions: $TimeIsSync: warn on missing time sourceGravatar Christian Hesse1-0/+3
2020-08-21global-functions: $TimeIsSync: return false if cloud enabled but not readyGravatar Christian Hesse1-3/+5
2020-08-21global-functions: $TimeIsSync: return false if ntp client enabled but not syncedGravatar Christian Hesse1-0/+1
2020-08-21check-certificates: wait to be fully connectedGravatar Christian Hesse1-4/+2
2020-08-21check-certificates: fix usage of functionGravatar Christian Hesse1-1/+1
2020-08-13fix typo: botton -> buttonGravatar Christian Hesse4-4/+4
2020-08-07notify about support for dhcp server name in fqdnchange-25Gravatar Christian Hesse4-3/+4
2020-08-07update list of contributorsGravatar Christian Hesse1-0/+1
2020-08-07dhcp-to-dns: add support for dhcp server name in fqdnGravatar netztrip3-1/+4
2020-08-03doc/dhcp-to-dns: document $PrefixInZoneGravatar Christian Hesse1-0/+1
2020-07-25global-functions: drop $GetRandomSha256, introduce $GetRandom20CharHex•••Do do generate certificate, but use scep-server otp. Gravatar Christian Hesse1-16/+12
2020-07-18netwatch-notify: ignore disabled hostsGravatar Christian Hesse1-1/+1
2020-07-17log-forward: lock script to run just onceGravatar Christian Hesse1-0/+3
2020-07-17check-lte-firmware-upgrade: add symbol in notificationGravatar Christian Hesse1-1/+2
2020-07-17check-routeros-update: add symbol in all notificationsGravatar Christian Hesse1-3/+3
2020-07-17upload-backup: change symbol to warning sign on failureGravatar Christian Hesse1-1/+5
2020-07-17check-certificates: add symbol in notificationGravatar Christian Hesse2-2/+4
2020-07-17global-functions: $ScriptInstallUpdate: add symbol in notificationGravatar Christian Hesse1-1/+4
2020-07-17upload-backup: add symbol in notificationGravatar Christian Hesse1-1/+2
2020-07-17cloud-backup: add symbol in notificationGravatar Christian Hesse2-1/+3
2020-07-17global-functions: introduce and use $SymbolForNotificationchange-24Gravatar Christian Hesse9-18/+35
2020-07-17sms-forward: use $SymbolByUnicodeNameGravatar Christian Hesse1-1/+2
2020-07-17netwatch-notify: use $SymbolByUnicodeNameGravatar Christian Hesse1-2/+3
2020-07-17log-forward: use $SymbolByUnicodeNameGravatar Christian Hesse1-1/+2
2020-07-17check-routeros-update: use $SymbolByUnicodeNameGravatar Christian Hesse1-1/+2
2020-07-17check-health: use $SymbolByUnicodeNameGravatar Christian Hesse1-5/+6
2020-07-17global-functions: introduce $SymbolByUnicodeNameGravatar Christian Hesse1-0/+16
2020-07-17check-routeros-update: move symbol before textGravatar Christian Hesse1-1/+1
2020-07-16dhcp-to-dns: use $IfThenElseGravatar Christian Hesse1-11/+7
2020-07-16check-certificates: use $IfThenElseGravatar Christian Hesse1-7/+3
2020-07-16global-functions: $DeviceInfo: use $IfThenElseGravatar Christian Hesse1-31/+21
2020-07-16global-functions: introduce $IfThenElseGravatar Christian Hesse1-0/+9
2020-07-16netwatch-notify: move symbol before textGravatar Christian Hesse1-2/+2
2020-07-16check-health: move symbol before textGravatar Christian Hesse1-5/+5
2020-07-16sms-forward: add symbolGravatar Christian Hesse1-1/+1
2020-07-16INITIAL-COMMANDS: declare $CertificateNameByCNGravatar Christian Hesse1-0/+1
2020-07-15check-health: add symbol for voltageGravatar Christian Hesse1-1/+1
2020-07-15check-health: new symbol for high temperatureGravatar Christian Hesse1-1/+1
2020-07-15log-forward: remember the last id onlyGravatar Christian Hesse1-2/+2
2020-07-15add 'log-forward', drop 'early-errors'change-23Gravatar Christian Hesse9-63/+103
2020-07-14global-functions: $ScriptInstallUpdate: update wording for notificationGravatar Christian Hesse1-1/+1
2020-07-14README: be more explicit on file nameGravatar Christian Hesse1-1/+1
2020-07-14global-config: dropped $ScriptUpdatesIgnore, use ignore flag in commentchange-22Gravatar Christian Hesse6-17/+23
2020-07-14notify about auto patch updates in check-routeros-updatechange-21Gravatar Christian Hesse4-3/+4
2020-07-14notify about hooks in netwatch-notifychange-20Gravatar Christian Hesse4-3/+4
2020-07-14notify about options in script commentschange-19Gravatar Christian Hesse4-3/+4
2020-07-14notify about $IPCalcchange-18Gravatar Christian Hesse4-3/+4
2020-07-14notify about early-errorschange-17Gravatar Christian Hesse4-3/+4
2020-07-14capsman-download-packages: wait to be fully connectedGravatar Christian Hesse2-3/+7
2020-07-14global-functions: $MailServerIsUp: do immediate checkGravatar Christian Hesse1-1/+9
2020-07-14sms-forward: wait to be fully connectedGravatar Christian Hesse1-1/+3
2020-07-14global-functions: $DNSIsResolving: try a domain that is unlikely to be cachedGravatar Christian Hesse1-1/+3
2020-07-07packages-update: add error handling, also run cloud-backupGravatar Christian Hesse1-2/+6
2020-07-07packages-update: do not install downgrade without confirmationGravatar Christian Hesse1-9/+24