Commit graph

1413 commits

Author SHA1 Message Date
Christian Hesse
0b46c508dc netwatch-notify: nest conditions
The logic here was right, but RouterOS runs the checks simultaneously.
This caused delays even if no resolving was needed.

Nesting the checks fixes this.
2022-02-10 08:41:12 +01:00
Christian Hesse
c6e581d4f9 netwatch-notify: allow to suppress notification on host down 2022-02-10 08:41:12 +01:00
Christian Hesse
42c203291a doc/netwatch-notify: add sections 2022-02-08 17:40:55 +01:00
Christian Hesse
dd19aea362 doc/packages-update: link backup-cloud 2022-02-08 17:35:53 +01:00
Christian Hesse
27a81bcbca packages-update: use correct syntax 2022-01-30 22:06:37 +01:00
Christian Hesse
dfe995be27 check-routeros-update: use correct syntax 2022-01-30 22:05:58 +01:00
Christian Hesse
5e32105e7e global-functions: $ScriptInstallUpdate: quote names in log output 2022-01-20 22:13:56 +01:00
Christian Hesse
b4a5d824a2 global-functions: $ScriptInstallUpdate: give final url in debug output 2022-01-20 22:13:56 +01:00
Christian Hesse
1e6931c8e3 global-functions: $DownloadPackage: handle special case with name
For RouterOS 6.x bundled package version and architecture are swapped.

Closes: #21
2022-01-17 20:50:52 +01:00
Christian Hesse
51cd11c803 global-functions: $DownloadPackage: give url in debug output 2022-01-17 20:15:24 +01:00
Christian Hesse
db4afe28f0 Merge branch 'routeros-v7' into next 2022-01-14 16:54:30 +01:00
Christian Hesse
5135a41332 global: notify about merging 'routeros-v7' into 'main' 2022-01-14 09:31:07 +01:00
Christian Hesse
25704812b2 doc/capsman-download-packages: only bundle is available now 2022-01-14 09:20:09 +01:00
Christian Hesse
93770d40a8 check-health: adopt new data structure for ROS 7.x
The PSU state has an empty string for type... Thus matching on name.
2022-01-14 09:20:09 +01:00
Christian Hesse
0ecabfecf7 rotate-ntp: syntax for ROS 7.x
The property name changed in RouterOS v7...
2022-01-14 09:20:09 +01:00
Christian Hesse
7e5652e0c5 ospf-to-leds: get state from count of neighbors
The state property is gone in RouterOS v7...
2022-01-14 09:20:09 +01:00
Christian Hesse
768afd84c6 backup-upload: export with show-sensitive
This is available (and required) with RouterOS 7.1rc1.
2022-01-14 09:20:09 +01:00
Christian Hesse
35d10f80f5 backup-email: export with show-sensitive
This is available (and required) with RouterOS 7.1rc1.
2022-01-14 09:20:09 +01:00
Christian Hesse
cdd607037e README: drop hint on branch 'routeros-v7' 2022-01-14 09:20:09 +01:00
Christian Hesse
d03b6d9374 global-functions: bump the required version for RouterOS 7.x
... but keep a warning when running RouterOS v6.
2022-01-14 09:20:09 +01:00
Christian Hesse
1089b7e7f9 README: install correct global-config-overlay for RouterOS v6 2022-01-14 08:03:53 +01:00
Christian Hesse
31653a84ca INITIAL-COMMANDS: silence the certificate download 2022-01-14 07:49:04 +01:00
Christian Hesse
491f53a8ce hotspot-to-wpa: support settings from template 2022-01-07 15:28:08 +01:00
Christian Hesse
97f35dcf0e Merge branch 'backup' into next 2022-01-06 10:23:03 +01:00
Christian Hesse
ed0135c613 Migrate configuration and send notification on renames 2022-01-06 08:19:58 +01:00
Christian Hesse
e77b39e933 rename script upload-backup -> backup-upload 2022-01-06 08:19:58 +01:00
Christian Hesse
95b17ab9a1 rename script email-backup -> backup-email 2022-01-06 08:19:58 +01:00
Christian Hesse
8c39f41ffc rename script cloud-backup -> backup-cloud 2022-01-06 08:19:58 +01:00
Christian Hesse
57c80dc2a4 introduce netwatch-dns 2022-01-03 10:00:16 +01:00
Christian Hesse
cd3fde59d7 netwatch-notify: give netwatch some time to settle 2022-01-03 10:00:16 +01:00
Christian Hesse
491ecdb812 netwatch-notify: initialize after lock 2022-01-03 10:00:16 +01:00
Christian Hesse
7f0a8cdfcd netwatch-notify: better match notify-entries 2022-01-03 10:00:16 +01:00
Christian Hesse
45ffb7e552 add AVIF logo 2022-01-03 10:00:16 +01:00
Christian Hesse
772b675001 doc/accesslist-duplicates: convert screenshot to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
8f79c4de79 README: convert screenshots to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
6eddaf9b87 README: convert Telegram group qr code to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
95e9820718 update copyright for 2022 2022-01-01 21:38:15 +01:00
Christian Hesse
2e183da47f README: add Telegram icon in qr code 2021-12-30 23:50:21 +01:00
Christian Hesse
9348bd5039 README: add a qr code to join Telegram group 2021-12-30 23:50:21 +01:00
Christian Hesse
500d0679ed global-functions: $RequiredRouterOS: fix warning
Passing a boolean does not work... Handle as string.
2021-12-20 15:31:34 +01:00
Christian Hesse
ee57ddf595 log-forward: fix forwarding first message
Pulling the power cable results in log message on next boot:

dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage

This was not forwarded as it had the numeric id 0, which is not greater
than the zero we initialized with. Now initialized with -1 when no log
has been forwarded to fix this.
2021-12-17 11:48:25 +01:00
Christian Hesse
b936970c19 INITIAL-COMMANDS: adopt changes, no need to run global-config-overlay 2021-12-16 22:26:29 +01:00
Christian Hesse
9a0321d40d doc/ssh-keys-import: number keys, do not overwrite on same comment 2021-12-16 22:26:29 +01:00
Christian Hesse
4a5c55ca2b doc/ssh-keys-import: handle RSA keys only
Sadly RouterOS does not (yet) support ed25519 keys...
2021-12-16 22:26:25 +01:00
Christian Hesse
28ff5e2aab update list of contributors 2021-12-16 11:34:11 +01:00
Christian Hesse
bf078867a7 update list of contributors 2021-12-15 20:24:41 +01:00
Christian Hesse
229a7d18c9 global-functions: $DownloadPackage: make directory first
The fetch command creates the directory itself, however using $MkDir
gives better error message when creating directory fails.
2021-12-14 00:10:30 +01:00
Christian Hesse
5846b85e28 global-functions: $MkDir: log error 2021-12-14 00:07:22 +01:00
Christian Hesse
e111832462 global-functions: $NotificationFunctions->"email": do not declare unused function 2021-12-14 00:06:10 +01:00
Christian Hesse
0fab371d1a global-functions: $DeviceInfo: show license level if available
This now shows license level for CHR.

The property is named different for Routerboards. As these have the
license bundled to hardware anyway we do not show it there.
2021-12-13 22:25:55 +01:00