Commit graph

1614 commits

Author SHA1 Message Date
Christian Hesse
63ca79b960 check-health: check for valid psu state data
This is required with recovery notifications
2019-08-28 20:48:32 +02:00
Christian Hesse
b74d465cd0 check-health: also send recovery notifications 2019-08-27 15:20:11 +02:00
Christian Hesse
29dc1b8841 add script 'check-health'
This may be incomplete... Please report if you have missing PSUs,
ttemperature sensors, whatever.
2019-08-27 12:01:32 +02:00
Christian Hesse
44437c6846 upload-backup: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
0f27c935d8 cloud-backup: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
5a3076c7c3 check-routeros-update: make notifications silent 2019-08-18 21:30:59 +02:00
Christian Hesse
a78d9d0470 check-lte-firmware-upgrade: make notification silent 2019-08-18 21:30:59 +02:00
Christian Hesse
06b93ca6c2 global-functions: support sending silent telegram notifications 2019-08-18 21:30:59 +02:00
Christian Hesse
d457421e1e global-functions: split off $SendEMail and $SendTelegram 2019-08-18 21:30:59 +02:00
Christian Hesse
4210a49098 check-routeros-update: fail on empty version string 2019-08-08 20:27:11 +02:00
Christian Hesse
dcd47d8ac4 sms-forward: add sender in subject 2019-08-08 16:15:10 +02:00
Christian Hesse
5408ba008a sms-forward: fix array access in condition 2019-08-05 10:32:19 +02:00
Christian Hesse
67f4b135f5 capsman-download-packages: syntax error with missing parenthesis 2019-08-02 15:22:17 +02:00
Christian Hesse
ab4aef4dfb global-functions: $DownloadPackage: re-introduce check for valid package
Even if fetch tool does its job right now... Chances are that the
download servers have corrupted or empty files.
2019-08-01 18:45:54 +02:00
Christian Hesse
70798de8f0 check-certificates: fix renewing certificate in place 2019-07-31 21:04:06 +02:00
Christian Hesse
acce2322c3 global-functions: add $RandomDelay 2019-07-26 18:14:33 +02:00
Christian Hesse
f49b67f5e7 global-functions: add $GetRandom 2019-07-26 18:13:59 +02:00
Christian Hesse
25a22e2e1c script-updates: get source from array 2019-07-25 21:19:10 +02:00
Christian Hesse
1c4dfeaa4a sms-forward: get values into arrays 2019-07-25 14:24:18 +02:00
Christian Hesse
cc9b2620e7 update-tunnelbroker: get values into array 2019-07-25 14:22:08 +02:00
Christian Hesse
d9d98cfe9e script-updates: get values into arrays 2019-07-25 13:12:17 +02:00
Christian Hesse
8d4dc1e3f6 dhcp-to-dns: get values into arrays, general rework 2019-07-25 12:55:11 +02:00
Christian Hesse
46fee70a56 dhcp-lease-comment: get values into array 2019-07-25 10:47:45 +02:00
Christian Hesse
e7dffe0a82 capsman-download-packages: get values into array 2019-07-25 10:35:15 +02:00
Christian Hesse
be133146dd cloud-backup: do not remove but replace cloud backup
The replace functionality for cloud backup is available
with version 6.45beta42.
2019-07-24 23:42:28 +02:00
Christian Hesse
39eef1a0b1 upload-backup: get values into array 2019-07-24 11:13:53 +02:00
Christian Hesse
5789b8d984 cloud-backup: get values into array 2019-07-24 11:12:52 +02:00
Christian Hesse
32cc5d1078 email-backup: get values into array 2019-07-24 11:11:57 +02:00
Christian Hesse
21996dfcaf check-routeros-update: get values into array 2019-07-24 11:10:47 +02:00
Christian Hesse
55313b4841 upload-backup: get values into array 2019-07-24 11:06:50 +02:00
Christian Hesse
1020db0b31 cloud-backup: get values into array 2019-07-24 11:05:44 +02:00
Christian Hesse
5f59211168 email-backup: get values into array 2019-07-24 11:04:31 +02:00
Christian Hesse
9e3ee77a4a check-routeros-update: get values into array 2019-07-24 11:01:45 +02:00
Christian Hesse
6699545157 packages-update: allow to downgrade on change of update channel 2019-07-24 10:49:51 +02:00
Christian Hesse
7fe0938f86 packages-update: break if latest version is unknown 2019-07-24 10:22:37 +02:00
Christian Hesse
3aa4d7ea50 packages-update: get values into array 2019-07-24 10:13:39 +02:00
Christian Hesse
229dc539cc global-functions: $DownloadPackage: fix downloading for CHR / x86_64 2019-07-19 15:37:01 +02:00
Christian Hesse
1e075d8d64 packages-update: run email-backup and/or upload-backup 2019-07-19 11:46:29 +02:00
Christian Hesse
8d1313f588 add script 'upload-backup' 2019-07-19 11:46:29 +02:00
Christian Hesse
26f01b238b global-config: move config for email-backup
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-07-19 11:46:29 +02:00
Christian Hesse
431a4c8176 email-backup: no more than one dot in file name
Looks like some providers do not allow more than one dot in attachment's
file name to mitigate something like `holiday.png.exe`.

Let's just replace dots with underscores.

Fixes #2

Reported-by: @Kampfwurst
2019-07-18 14:43:13 +02:00
Christian Hesse
e309dee3b1 capsman-download-packages: do not require extra permission
The idea was to run capsman-download-packages from netwatch when
upgrade.mikrotik.com is up.

Instead run it from scheduler at startup, but add a delay:

/ system scheduler add name=capsman-download-packages \
    on-event=":delay 2m; capsman-download-packages" start-time=startup
2019-07-18 14:00:53 +02:00
Christian Hesse
b68f5ebc86 daily-psk-schedule: better matching 2019-07-18 13:50:01 +02:00
Christian Hesse
5d12be36d7 update-tunnelbroker: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
beb2e70097 check-certificates: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
047c0989d8 ipv6-update: use $ParseKeyValueStore 2019-07-18 13:50:01 +02:00
Christian Hesse
f79ba55637 global-functions: add $ParseKeyValueStore 2019-07-17 16:27:21 +02:00
Christian Hesse
16f04ee7ee global-functions: $CharacterReplace: use same condition in loop 2019-07-16 12:46:33 +02:00
Christian Hesse
b1b53e3d0d global-functions: append system note in e-mail signature 2019-07-16 12:42:40 +02:00
Christian Hesse
12af69b443 update-gre-address: handle missing dynamic address 2019-07-10 11:45:20 +02:00