Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-19 | check-health: guard against temperature spikes | Christian Hesse | 1 | -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-19 | check-health: handle formatting by picking from string | Christian Hesse | 1 | -4/+1 | |
The mathematical way is more elegant, but just picking the char from string is shorter. 😜 | |||||
2020-11-19 | check-health: properly handle voltage value below one | Christian Hesse | 1 | -0/+3 | |
Before this produced division by zero... | |||||
2020-11-17 | Merge branch 'netwatch-notify' | Christian Hesse | 6 | -8/+37 | |
2020-11-17 | netwatch-notify: notify about changeschange-37 | Christian Hesse | 4 | -3/+4 | |
2020-11-17 | netwatch-notify: increase count for every parent in chain | Christian Hesse | 2 | -2/+5 | |
2020-11-17 | netwatch-notify: support parents in a chain | Christian Hesse | 1 | -3/+13 | |
2020-11-17 | netwatch-notify: be more verbose in logs | Christian Hesse | 1 | -2/+4 | |
2020-11-17 | netwatch-notify: implemented simple dependency model | Christian Hesse | 2 | -4/+17 | |
2020-11-17 | doc/netwatch-notify: remove timeout from examples | Christian Hesse | 1 | -3/+3 | |
2020-11-17 | netwatch-notify: unbreak custom count | Christian Hesse | 1 | -1/+1 | |
2020-11-13 | Merge branch 'log-forward' | Christian Hesse | 5 | -9/+9 | |
2020-11-13 | log-forward: do not exclude topic 'script' | Christian Hesse | 1 | -1/+1 | |
We have justified severity for some log message, so do no longer exclude topic 'script'. | |||||
2020-11-13 | check-certificates: decrease log severity to info | Christian Hesse | 1 | -2/+2 | |
2020-11-13 | check-routeros-update: decrease log severity to info | Christian Hesse | 1 | -1/+1 | |
2020-11-13 | check-health: decrease log severity to info | Christian Hesse | 1 | -1/+1 | |
2020-11-13 | global-functions: $SendTelegram: decrease log severity to info | Christian Hesse | 1 | -1/+1 | |
The message is queued, not lost... | |||||
2020-11-13 | global-functions: $TimeIsSync: decrease log severity to info | Christian Hesse | 1 | -1/+1 | |
2020-11-13 | global-functions: $MailServerIsUp: decrease log severity to info | Christian Hesse | 1 | -2/+2 | |
2020-11-13 | global-functions: $CertificateDownload: be more verbose | Christian Hesse | 1 | -1/+2 | |
2020-11-13 | log-forward: do not forward own e-mail logs | Christian Hesse | 1 | -2/+2 | |
Revert the last change, instead just ignore messages that were generated by log-forward, with "Log Forwarding" in subject. | |||||
2020-11-12 | log-forward: do not forward e-mail logs | Christian Hesse | 1 | -1/+1 | |
This could cause infinite loop if the mail server does not recover... | |||||
2020-11-06 | global-functions: $DNSIsResolving: use a domain with low ttl | Christian Hesse | 1 | -1/+1 | |
2020-11-01 | README: optional scheduler to update scripts automatically | Christian Hesse | 2 | -0/+9 | |
2020-11-01 | doc/global-wait: link more use cases | Christian Hesse | 1 | -0/+3 | |
2020-11-01 | doc/global-wait: warn about scheduler | Christian Hesse | 1 | -0/+3 | |
2020-11-01 | check-routeros-update: support installing updates automatically if seen in ↵change-36 | Christian Hesse | 6 | -5/+19 | |
neighbor list | |||||
2020-10-27 | global-functions: $SymbolForNotification: support multiple symbols... | Christian Hesse | 1 | -1/+5 | |
... with comma-separated list. | |||||
2020-10-23 | mode-button: make LED configurablechange-35 | Christian Hesse | 6 | -5/+11 | |
2020-10-23 | mode-button: act on led with type on or off only | Christian Hesse | 1 | -5/+12 | |
2020-10-23 | mode-button: act on led with no interface setting only | Christian Hesse | 1 | -2/+2 | |
2020-10-23 | mode-button: fix delay | Christian Hesse | 1 | -2/+1 | |
The `:beep` command is async... So an additional delay is required unconditionally. | |||||
2020-10-23 | bridge-port-to-default: be more robust | Christian Hesse | 1 | -11/+21 | |
This was unreliable with inconsistent configuration... | |||||
2020-10-23 | ospf-to-leds: introduce script to visualize ospf state via ledschange-34 | Christian Hesse | 7 | -3/+63 | |
2020-10-23 | mode-button: support inverted blink | Christian Hesse | 1 | -2/+5 | |
2020-10-22 | mode-button: use user-led for visual feeback | Christian Hesse | 1 | -4/+6 | |
The user-led needs to be configured with type=off, it is ignored with other configuration. | |||||
2020-10-19 | sms-forward: improve wording for single/multiple message(s) | Christian Hesse | 1 | -2/+4 | |
2020-10-18 | log-forward: improve wording for single message | Christian Hesse | 1 | -2/+4 | |
2020-10-17 | check-health: do not hardcode names, use as available | Christian Hesse | 1 | -37/+40 | |
2020-10-17 | sms-forward: lock against multiple invocations | Christian Hesse | 1 | -0/+3 | |
2020-10-16 | check-health: add deviation on temperature recovery thresholdchange-33 | Christian Hesse | 5 | -9/+19 | |
This helps against notification flooding. | |||||
2020-10-16 | check-health: give error on messing health values | Christian Hesse | 1 | -0/+4 | |
2020-10-16 | mode-button: merge mode-button-event & mode-button-schedulerchange-32 | Christian Hesse | 8 | -57/+66 | |
2020-10-15 | README: link to global-config | Christian Hesse | 1 | -2/+2 | |
2020-10-15 | global-config: do not define mail addresses by default | Christian Hesse | 2 | -5/+7 | |
2020-10-14 | global-functions: $SendTelegram: clean up | Christian Hesse | 1 | -11/+19 | |
2020-10-13 | cloud-backup: add unit for size, add KiB | Christian Hesse | 1 | -1/+1 | |
2020-10-13 | unattended-lte-firmware-upgrade: convert to function | Christian Hesse | 1 | -9/+12 | |
2020-10-13 | check-lte-firmware-upgrade: show manufacturer & model | Christian Hesse | 1 | -0/+3 | |
2020-10-13 | global-functions: $SendTelegram: use fixed-width font...change-31 | Christian Hesse | 4 | -10/+38 | |
... but give configuration to opt-out. | |||||
2020-10-13 | global-functions: $FlushTelegramQueue, $SendTelegram: move hint | Christian Hesse | 1 | -7/+6 | |
2020-10-13 | global-functions: $UrlEncode: encode new line & carriage return | Christian Hesse | 1 | -4/+5 | |
2020-10-10 | global-functions: $IPCalc: return data in array | Christian Hesse | 1 | -6/+19 | |
2020-10-09 | global-functions: $WaitTimeSync: calculate with modulo operation | Christian Hesse | 1 | -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-08 | packages-update: improve backup failure handling | Christian Hesse | 1 | -0/+10 | |
2020-10-08 | packages-update: be more verbose | Christian Hesse | 1 | -2/+3 | |
2020-10-07 | packages-update: fix variable usage | Christian Hesse | 1 | -1/+2 | |
2020-10-07 | global-functions: $LogPrintExit: explicitly set severity | Christian Hesse | 1 | -0/+1 | |
2020-10-07 | upload-backup: hint failure in subject | Christian Hesse | 1 | -2/+4 | |
2020-10-07 | upload-backup: exit with error on error | Christian Hesse | 1 | -0/+4 | |
The error has been logged before, so just make sure to exit with error. | |||||
2020-10-07 | cloud-backup: send notification on error and do exit | Christian Hesse | 1 | -1/+3 | |
2020-10-07 | global-functions: $MailServerIsUp: return gracefully on missing configuration | Christian Hesse | 1 | -0/+11 | |
2020-09-28 | log-forward: notify on rate limitchange-30 | Christian Hesse | 4 | -3/+4 | |
2020-09-28 | log-forward: add rate limit to prevent flooding | Christian Hesse | 1 | -0/+15 | |
2020-09-28 | sms-forward: fix usage of function | Christian Hesse | 1 | -1/+1 | |
2020-09-28 | log-forward: fix usage of function | Christian Hesse | 1 | -1/+1 | |
2020-09-28 | global-functions: $SendTelegram: scissors symbol for truncation | Christian Hesse | 1 | -1/+2 | |
2020-09-27 | global-functions: $SendTelegram: truncate messages if too long | Christian Hesse | 1 | -1/+8 | |
Telegram messages have a maximum length of 4096 characters. Truncate if too long, keep some spare characters for status messages. | |||||
2020-09-25 | log-forward: add filter on log message textchange-29 | Christian Hesse | 6 | -5/+11 | |
2020-09-25 | dhcp-to-dns: notify on acting on all bound leaseschange-28 | Christian Hesse | 4 | -3/+4 | |
2020-09-25 | global-functions: notify on Telegram queuechange-27 | Christian Hesse | 4 | -3/+4 | |
2020-09-25 | netwatch-notify: notify on configurable check count thresholdchange-26 | Christian Hesse | 4 | -3/+4 | |
2020-09-21 | netwatch-syslog: find the correct netwatch entry | Christian Hesse | 1 | -1/+1 | |
2020-09-20 | lease-script: give correct hint in message | Christian Hesse | 1 | -1/+1 | |
2020-09-19 | dhcp-to-dns: also act on static leases | Christian Hesse | 1 | -4/+4 | |
Since commit 0560f828 we act on bound leases only. That keeps offline clients away, so act on static leases as well. | |||||
2020-09-18 | collect-wireless-mac: add symbol in notification | Christian Hesse | 4 | -3/+7 | |
2020-09-18 | daily-psk: add symbol in notification | Christian Hesse | 4 | -3/+7 | |
2020-09-18 | extend magic pattern with "by RouterOS" | Christian Hesse | 56 | -59/+59 | |
This matches the string included in export. | |||||
2020-09-17 | global-functions: add missing colon | Christian Hesse | 1 | -1/+1 | |
2020-09-14 | global-functions: $FlushTelegramQueue: destroy empty queue | Christian Hesse | 1 | -0/+1 | |
2020-09-14 | global-functions: $FlushTelegramQueue: give hint on queued message | Christian Hesse | 1 | -2/+8 | |
2020-09-14 | global-functions: queue Telegram notifications on failure and re-send | Christian Hesse | 1 | -3/+45 | |
This introduces function $FlushTelegramQueue, which flushes queue of Telegram notifications. Notifications are appended to the queue if sending failed. | |||||
2020-09-08 | doc/mode-button: add code to check for support | Christian Hesse | 1 | -0/+14 | |
2020-09-06 | check-certificates: do not notify with missing validity period | Christian Hesse | 1 | -1/+1 | |
2020-09-03 | doc/check-certificates: hint on running on startup | Christian Hesse | 1 | -0/+4 | |
2020-09-01 | check-certificates: better check for non-empty value | Christian Hesse | 1 | -1/+1 | |
2020-09-01 | bridge-port-to-default: better check for non-empty value | Christian Hesse | 1 | -1/+1 | |
2020-09-01 | global-functions: $DefaultRouteIsReachable: exclude blackhole | Christian Hesse | 1 | -1/+1 | |
2020-09-01 | upload-backup: remove extra curly bracket | Christian Hesse | 1 | -1/+0 | |
2020-09-01 | email-backup: remove extra curly bracket | Christian Hesse | 1 | -1/+0 | |
2020-09-01 | upload-backup: wait for file | Christian Hesse | 1 | -0/+3 | |
2020-09-01 | email-backup: wait for file | Christian Hesse | 1 | -0/+3 | |
2020-08-26 | [ ... print count-only ...] -> [ :len [ ... find ... ] ] | Christian Hesse | 20 | -38/+38 | |
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... | |||||
2020-08-24 | netwatch-notify: be more verbose on host downtime | Christian Hesse | 1 | -2/+7 | |
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-08-24 | netwatch-notify: make check count threshold configurable | Christian Hesse | 2 | -2/+8 | |
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-08-21 | global-functions: $TimeIsSync: return gracefully... | Christian Hesse | 1 | -2/+2 | |
Situation will not improve... But chances are that RTC is available with correct time, for example from host inside CHR vm. So return gracefully. | |||||
2020-08-21 | global-functions: $TimeIsSync: warn on missing time source | Christian Hesse | 1 | -0/+3 | |
2020-08-21 | global-functions: $TimeIsSync: return false if cloud enabled but not ready | Christian Hesse | 1 | -3/+5 | |
2020-08-21 | global-functions: $TimeIsSync: return false if ntp client enabled but not synced | Christian Hesse | 1 | -0/+1 | |
2020-08-21 | check-certificates: wait to be fully connected | Christian Hesse | 1 | -4/+2 | |