Age | Commit message (Expand) | Author | Files | Lines |
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•••This introduces function $FlushTelegramQueue, which flushes queue of
Telegram notifications. Notifications are appended to the queue if
sending failed.
| Christian Hesse | 1 | -3/+45 |
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 ... ] ]•••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...
| Christian Hesse | 20 | -38/+38 |
2020-08-24 | netwatch-notify: be more verbose on host downtime•••Signed-off-by: Christian Hesse <mail@eworm.de>
| Christian Hesse | 1 | -2/+7 |
2020-08-24 | netwatch-notify: make check count threshold configurable•••Signed-off-by: Christian Hesse <mail@eworm.de>
| Christian Hesse | 2 | -2/+8 |
2020-08-21 | global-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.
| Christian Hesse | 1 | -2/+2 |
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 |
2020-08-21 | check-certificates: fix usage of function | Christian Hesse | 1 | -1/+1 |
2020-08-13 | fix typo: botton -> button | Christian Hesse | 4 | -4/+4 |
2020-08-07 | notify about support for dhcp server name in fqdnchange-25 | Christian Hesse | 4 | -3/+4 |
2020-08-07 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2020-08-07 | dhcp-to-dns: add support for dhcp server name in fqdn | netztrip | 3 | -1/+4 |
2020-08-03 | doc/dhcp-to-dns: document $PrefixInZone | Christian Hesse | 1 | -0/+1 |
2020-07-25 | global-functions: drop $GetRandomSha256, introduce $GetRandom20CharHex•••Do do generate certificate, but use scep-server otp.
| Christian Hesse | 1 | -16/+12 |
2020-07-18 | netwatch-notify: ignore disabled hosts | Christian Hesse | 1 | -1/+1 |
2020-07-17 | log-forward: lock script to run just once | Christian Hesse | 1 | -0/+3 |
2020-07-17 | check-lte-firmware-upgrade: add symbol in notification | Christian Hesse | 1 | -1/+2 |
2020-07-17 | check-routeros-update: add symbol in all notifications | Christian Hesse | 1 | -3/+3 |
2020-07-17 | upload-backup: change symbol to warning sign on failure | Christian Hesse | 1 | -1/+5 |
2020-07-17 | check-certificates: add symbol in notification | Christian Hesse | 2 | -2/+4 |
2020-07-17 | global-functions: $ScriptInstallUpdate: add symbol in notification | Christian Hesse | 1 | -1/+4 |
2020-07-17 | upload-backup: add symbol in notification | Christian Hesse | 1 | -1/+2 |
2020-07-17 | cloud-backup: add symbol in notification | Christian Hesse | 2 | -1/+3 |
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | Christian Hesse | 9 | -18/+35 |
2020-07-17 | sms-forward: use $SymbolByUnicodeName | Christian Hesse | 1 | -1/+2 |
2020-07-17 | netwatch-notify: use $SymbolByUnicodeName | Christian Hesse | 1 | -2/+3 |
2020-07-17 | log-forward: use $SymbolByUnicodeName | Christian Hesse | 1 | -1/+2 |
2020-07-17 | check-routeros-update: use $SymbolByUnicodeName | Christian Hesse | 1 | -1/+2 |
2020-07-17 | check-health: use $SymbolByUnicodeName | Christian Hesse | 1 | -5/+6 |
2020-07-17 | global-functions: introduce $SymbolByUnicodeName | Christian Hesse | 1 | -0/+16 |
2020-07-17 | check-routeros-update: move symbol before text | Christian Hesse | 1 | -1/+1 |
2020-07-16 | dhcp-to-dns: use $IfThenElse | Christian Hesse | 1 | -11/+7 |
2020-07-16 | check-certificates: use $IfThenElse | Christian Hesse | 1 | -7/+3 |
2020-07-16 | global-functions: $DeviceInfo: use $IfThenElse | Christian Hesse | 1 | -31/+21 |
2020-07-16 | global-functions: introduce $IfThenElse | Christian Hesse | 1 | -0/+9 |
2020-07-16 | netwatch-notify: move symbol before text | Christian Hesse | 1 | -2/+2 |
2020-07-16 | check-health: move symbol before text | Christian Hesse | 1 | -5/+5 |
2020-07-16 | sms-forward: add symbol | Christian Hesse | 1 | -1/+1 |
2020-07-16 | INITIAL-COMMANDS: declare $CertificateNameByCN | Christian Hesse | 1 | -0/+1 |
2020-07-15 | check-health: add symbol for voltage | Christian Hesse | 1 | -1/+1 |
2020-07-15 | check-health: new symbol for high temperature | Christian Hesse | 1 | -1/+1 |
2020-07-15 | log-forward: remember the last id only | Christian Hesse | 1 | -2/+2 |
2020-07-15 | add 'log-forward', drop 'early-errors'change-23 | Christian Hesse | 9 | -63/+103 |
2020-07-14 | global-functions: $ScriptInstallUpdate: update wording for notification | Christian Hesse | 1 | -1/+1 |
2020-07-14 | README: be more explicit on file name | Christian Hesse | 1 | -1/+1 |
2020-07-14 | global-config: dropped $ScriptUpdatesIgnore, use ignore flag in commentchange-22 | Christian Hesse | 6 | -17/+23 |
2020-07-14 | notify about auto patch updates in check-routeros-updatechange-21 | Christian Hesse | 4 | -3/+4 |
2020-07-14 | notify about hooks in netwatch-notifychange-20 | Christian Hesse | 4 | -3/+4 |
2020-07-14 | notify about options in script commentschange-19 | Christian Hesse | 4 | -3/+4 |
2020-07-14 | notify about $IPCalcchange-18 | Christian Hesse | 4 | -3/+4 |
2020-07-14 | notify about early-errorschange-17 | Christian Hesse | 4 | -3/+4 |
2020-07-14 | capsman-download-packages: wait to be fully connected | Christian Hesse | 2 | -3/+7 |
2020-07-14 | global-functions: $MailServerIsUp: do immediate check | Christian Hesse | 1 | -1/+9 |
2020-07-14 | sms-forward: wait to be fully connected | Christian Hesse | 1 | -1/+3 |
2020-07-14 | global-functions: $DNSIsResolving: try a domain that is unlikely to be cached | Christian Hesse | 1 | -1/+3 |
2020-07-07 | packages-update: add error handling, also run cloud-backup | Christian Hesse | 1 | -2/+6 |
2020-07-07 | packages-update: do not install downgrade without confirmation | Christian Hesse | 1 | -9/+24 |
2020-07-07 | doc/check-routeros-update: patch updates | Christian Hesse | 1 | -0/+4 |
2020-07-07 | check-routeros-update: send just one notification | Christian Hesse | 1 | -0/+5 |
2020-07-07 | check-routeros-update: log and print on available downgrade | Christian Hesse | 1 | -0/+2 |
2020-07-07 | check-routeros-update: install update only, notification on downgrade | Christian Hesse | 1 | -5/+14 |
2020-07-07 | check-routeros-update: support installing patch updates automatically | Christian Hesse | 2 | -0/+16 |
2020-07-07 | global-functions: add $VersionToNum | Christian Hesse | 1 | -0/+30 |
2020-07-06 | early-errors: exclude certificate messages•••This is most likely SCEP requests before network is up...
| Christian Hesse | 1 | -1/+2 |
2020-07-06 | doc/netwatch-notify: document hooks | Christian Hesse | 1 | -0/+6 |
2020-07-06 | netwatch-notify: add up hook for consistency•••Also this works around the permission/policy limitations in
netwatch scripts.
| Christian Hesse | 1 | -0/+4 |
2020-07-03 | netwatch-notify: add support for down hook•••Adding up-hook does not make sense... Just use netwatch's up-script for that.
| Christian Hesse | 1 | -1/+6 |
2020-07-03 | mode-button-scheduler: drop useless variable | Christian Hesse | 1 | -2/+1 |
2020-07-03 | dhcp-to-dns: allow to configure 'dhcp' prefix in zone | Christian Hesse | 2 | -4/+7 |
2020-07-02 | global-functions: $ScriptInstallUpdate: get base url and suffix from comment•••Just set 'base-url=https://example.com/...' and/or 'url-suffix=\h=branch'
in comment to overwrite settings from global configuration.
| Christian Hesse | 1 | -2/+6 |
2020-07-02 | global-functions: $ScriptInstallUpdate: support ignore from comment•••Just add 'ignore' in comment...
| Christian Hesse | 1 | -0/+3 |
2020-07-02 | global-functions: $ParseKeyValueStore: allow equals sign in value | Christian Hesse | 1 | -4/+2 |
2020-07-02 | global-functions: $ParseKeyValueStore: key without value for boolean true | Christian Hesse | 1 | -2/+6 |
2020-06-30 | global-functions: do not initialize $Sent* variables•••The scripts work without initialization, removing this makes sure the
value is not overwritten on global functions reload.
| Christian Hesse | 1 | -3/+0 |
2020-06-30 | global-functions: $GetRandomNumber: limit at 2^32-1 | Christian Hesse | 1 | -1/+1 |
2020-06-29 | global-functions: $GetRandomNumber: return 32bit number without limit | Christian Hesse | 1 | -1/+4 |
2020-06-23 | global-functions: add $IPCalc•••[admin@MikroTik] > $IPCalc 192.168.88.188/20
Address: 192.168.88.188
Netmask: 255.255.240.0
Network: 192.168.80.0/20
HostMin: 192.168.80.1
HostMax: 192.168.95.254
Broadcast: 192.168.95.255
| Christian Hesse | 1 | -0/+17 |
2020-06-19 | explicitly name the license•••Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
| Christian Hesse | 57 | -1/+745 |
2020-06-18 | global-functions: $GetRandomNumber: use $GetRandomSha256 | Christian Hesse | 1 | -6/+12 |
2020-06-18 | global-functions: rename $GetRandom -> $GetRandomNumber | Christian Hesse | 1 | -4/+4 |
2020-06-18 | global-functions: add $GetRandomSha256 | Christian Hesse | 1 | -0/+12 |
2020-06-10 | add certificate 'GTS CA 1O1'•••This is used by DNS over HTTPS services:
https://dns.google/dns-query
| Christian Hesse | 1 | -0/+47 |
2020-06-02 | dhcp-to-dns: add a marker for new records | Christian Hesse | 2 | -1/+11 |
2020-05-27 | daily-psk: wait to be fully connected | Christian Hesse | 4 | -4/+10 |
2020-05-27 | early-errors: wait to be fully connected | Christian Hesse | 2 | -1/+4 |
2020-05-26 | doc/early-errors: use $WaitFullyConnected | Christian Hesse | 1 | -1/+1 |
2020-05-26 | doc/daily-psk: use $WaitFullyConnected | Christian Hesse | 1 | -1/+1 |