Commit graph

292 commits

Author SHA1 Message Date
Christian Hesse
c1fa0f3579 hotspot-to-wpa: support ignoring specific hotspot 2022-03-07 22:27:29 +01:00
Michael Gisbers
c35485454c doc/mod/notification-matrix: add verbose steps for setup
Modified-by: Christian Hesse <mail@eworm.de>
2022-03-01 12:38:54 +01:00
Christian Hesse
8c0bd18bbb doc/check-routeros-update: update versions in screenshot 2022-02-24 11:50:06 +01:00
Christian Hesse
2c47bdabf0 doc/backup-upload: update versions in screenshot 2022-02-24 11:49:47 +01:00
Christian Hesse
544647fc34 doc/backup-cloud: update versions in screenshot 2022-02-24 11:49:15 +01:00
Christian Hesse
c72702cc51 doc/backup-cloud: break long line 2022-02-23 23:31:29 +01:00
Christian Hesse
a754932211 doc/backup-upload: warn about possible issue 2022-02-23 12:43:29 +01:00
Christian Hesse
a78b2bfcde doc/backup-cloud: warn about possible issue 2022-02-23 12:43:29 +01:00
Christian Hesse
ef6f9efb10 doc/backup-upload: mention used option show-sensitive 2022-02-23 10:19:45 +01:00
Christian Hesse
6e7f6ff8b4 doc/backup-email: mention used option show-sensitive 2022-02-23 10:19:04 +01:00
Christian Hesse
c872c18d76 doc/log-forward: remove extra character
Looks like copy'n'paste error...
2022-02-22 22:41:59 +01:00
Christian Hesse
d50f6ffb79 doc/mod/scriptrunonce: document optional configuration 2022-02-22 22:31:49 +01:00
Christian Hesse
26e471122f add doc/mod/scriptrunonce 2022-02-21 12:53:26 +01:00
Christian Hesse
e9953c3612 add doc/mod/ipcalc 2022-02-20 23:40:22 +01:00
Christian Hesse
002315035c add doc/mod/inspectvar 2022-02-20 23:40:22 +01:00
Christian Hesse
07fc5c898a add doc/mod/notification-matrix 2022-02-20 23:40:22 +01:00
Christian Hesse
e6a686187c add doc/mod/notification-telegram 2022-02-20 23:40:22 +01:00
Christian Hesse
6f27553f15 doc/check-routeros-update: mention e-mail, matrix and telegram 2022-02-20 23:38:21 +01:00
Christian Hesse
fd36241be6 doc/mod: put hints into block quote, update info icon, fix links 2022-02-12 13:51:31 +01:00
Christian Hesse
cd2a7dcf8c doc: use another info icon: 🛈 -> ℹ️ 2022-02-12 13:09:37 +01:00
Christian Hesse
f0b0951968 doc/early-errors: no site structure, hint only 2022-02-11 23:55:06 +01:00
Christian Hesse
9e91ed56aa doc: put hints into block quote 2022-02-11 23:38:28 +01:00
Christian Hesse
3c358980cb introduce firmware-upgrade-reboot 2022-02-10 09:07:32 +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
25704812b2 doc/capsman-download-packages: only bundle is available now 2022-01-14 09:20:09 +01:00
Christian Hesse
491f53a8ce hotspot-to-wpa: support settings from template 2022-01-07 15:28:08 +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
772b675001 doc/accesslist-duplicates: convert screenshot to AVIF 2022-01-03 10:00:16 +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
95062a3dbc doc/netwatch-notify: add missing empty line 2021-12-02 22:59:13 +01:00
Christian Hesse
2625cc09a5 check-health: support hard lower limit for voltage
... to detect slow decrease of voltage, for example with UPS.
2021-11-16 22:21:37 +01:00
Christian Hesse
d87c50cf68 check-health: indicate voltage increase or decrease 2021-11-16 22:21:37 +01:00
Christian Hesse
185fe2c730 reintroduce global-wait 2021-11-16 22:21:37 +01:00
Christian Hesse
8fc88c73f8 shorten modules directory name (global-functions.d -> mod) 2021-11-15 22:18:10 +01:00
Christian Hesse
f484e45b6a bridge-port-to-default -> global-functions.d/bridge-port-to 2021-11-15 22:18:10 +01:00
Christian Hesse
b6215ba958 add global-functions.d/bridge-port-vlan 2021-11-12 16:09:35 +01:00
Christian Hesse
a9f81c7a14 doc: move notification images to script-specific directories 2021-11-11 22:50:30 +01:00
Christian Hesse
72d50aa13f doc/accesslist-duplicates: use real screenshot 2021-09-22 10:33:21 +02:00
Christian Hesse
d80a7efb7c doc/netwatch-notify: hint on escaping, with example 2021-07-09 12:46:03 +02:00
Christian Hesse
bccb7c3452 netwatch-notify: implement pre-down hook 2021-07-09 12:46:03 +02:00
Christian Hesse
6bf8cd5fac lease-script: implement script order
The order may be important: `collect-wireless-mac` can add a dns name
in notification, thus `dhcp-to-dns` should run first.
2021-07-08 21:03:31 +02:00
Christian Hesse
1eb337d87f doc/lease-script: hint on script installation/execution order 2021-07-07 00:33:36 +02:00
Christian Hesse
d7170bf138 doc/lease-script: fix link 2021-07-07 00:33:36 +02:00
Christian Hesse
fcc0d1551a doc/netwatch-notify: hint on checking specific isp 2021-07-05 15:00:47 +02:00
Michael Gisbers
d5edcbd3b6 check-routeros-update: allow update for cap
If CAPsMAN is running on a device with just 16MB flash downloading the
packages is not possible (or at least lost at reboot). So allow a CAP to
update with opt-in.
2021-07-01 22:56:18 +02:00
Christian Hesse
7f2314d999 doc/notifications: change stroke color
This makes the stroke visible on black background.
2021-06-25 10:06:24 +02:00
Christian Hesse
1a404195d5 hotspot-to-wpa: add optional cleanup script 2021-06-23 15:15:16 +02:00
Christian Hesse
c0b954abbb doc/netwatch-notify: hint on checking internet connectivity 2021-06-21 09:15:05 +02:00
Christian Hesse
bad6f5a7cc doc: add sample notifications 2021-06-21 08:54:04 +02:00
Christian Hesse
a3efb67ed1 doc/check-health: no capital character here 2021-06-18 11:23:58 +02:00
Christian Hesse
de61c14c60 log-forward: implement reverse logic to include messages...
... even if a filter matches to exclude them. Let's have an example:

:global LogForwardFilter "(debug|info)";
:global LogForwardInclude "account";

This will forward everything about topic *account* (login, logout,
failed login, ...) - even with topic *info*.
2021-06-09 14:42:43 +02:00
Christian Hesse
401f179ae9 doc/log-forward: mention Matrix 2021-06-09 14:41:09 +02:00
Michael Gisbers
8375673d93 global-functions: implement notifications via Matrix
Matrix is an open network for secure, decentralized communication - and
it has a web api.

A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.

https://matrix.org/
2021-06-08 21:07:25 +02:00
Christian Hesse
862417b8d3 add 'ipsec-to-dns' 2021-05-17 16:41:51 +02:00
Christian Hesse
cfb31e844c netwatch-notify: support dynamic address update 2021-05-06 15:11:05 +02:00
Christian Hesse
41f7d1e466 doc/netwatch-notify: tips & tricks: one of several hosts 2021-05-05 08:31:14 +02:00
Christian Hesse
64ff7fcf65 doc: inform about dependency on base installation
That should make the documentation clearer if external sites link to the
documentation of a specific script.
2021-05-03 15:07:50 +02:00
Christian Hesse
d2560db5c9 email-backup: use $SendEMail2
This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:

:global EmailGeneralToOverride {
  "email-backup"="backup@example.com";
}
2021-04-29 22:37:36 +02:00
Christian Hesse
c9854fa800 doc/unattended-lte-firmware-upgrade: broadband connection is required! 2021-02-26 11:15:58 +01:00
Christian Hesse
bc8b19fc31 upload-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
8b44964a36 email-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
6770a15a7d cloud-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
d5afc79eed global: drop script 'global-wait'
All scripts wait for the global functions on their own now.
2021-02-18 21:45:38 +01:00
Christian Hesse
cb72eccc6c ipv6-update: update interface specific address list entries 2020-12-18 10:11:18 +01:00
Christian Hesse
744a03896c ipv6-update: automatically add ipv6 address list entry 2020-12-18 09:59:13 +01:00
Christian Hesse
23923619dd netwatch-notify: increase count for every parent in chain 2020-11-17 22:28:05 +01:00
Christian Hesse
6c14412aa9 netwatch-notify: implemented simple dependency model 2020-11-17 22:28:05 +01:00
Christian Hesse
e1d9b08b9a doc/netwatch-notify: remove timeout from examples 2020-11-17 21:08:37 +01:00
Christian Hesse
df66309281 doc/global-wait: link more use cases 2020-11-01 21:57:36 +01:00
Christian Hesse
d547f68df1 doc/global-wait: warn about scheduler 2020-11-01 21:57:13 +01:00
Christian Hesse
98c132105d check-routeros-update: support installing updates automatically if seen in neighbor list 2020-11-01 21:48:03 +01:00
Christian Hesse
fee2523a22 mode-button: make LED configurable 2020-10-23 21:50:14 +02:00
Christian Hesse
ae5570325b ospf-to-leds: introduce script to visualize ospf state via leds 2020-10-23 14:17:33 +02:00
Christian Hesse
8b2df7abd0 mode-button: merge mode-button-event & mode-button-scheduler 2020-10-16 08:24:19 +02:00
Christian Hesse
697e32a306 log-forward: add filter on log message text 2020-09-25 22:21:59 +02:00
Christian Hesse
0c111a2ebe doc/mode-button: add code to check for support 2020-09-08 17:16:51 +02:00
Christian Hesse
b3c1450f1c doc/check-certificates: hint on running on startup 2020-09-03 13:09:22 +02:00
Christian Hesse
e58d8e4373 netwatch-notify: make check count threshold configurable
Signed-off-by: Christian Hesse <mail@eworm.de>
2020-08-24 14:26:55 +02:00
Christian Hesse
f1236065ad fix typo: botton -> button 2020-08-13 13:07:40 +02:00
netztrip
2e1acc2505 dhcp-to-dns: add support for dhcp server name in fqdn 2020-08-07 22:08:01 +02:00
Christian Hesse
354be9c222 doc/dhcp-to-dns: document $PrefixInZone 2020-08-03 00:04:59 +02:00
Christian Hesse
6bce0a4b6a add 'log-forward', drop 'early-errors' 2020-07-15 12:41:29 +02:00
Christian Hesse
0b5ab83339 capsman-download-packages: wait to be fully connected 2020-07-14 14:29:29 +02:00
Christian Hesse
c5767c8d23 doc/check-routeros-update: patch updates 2020-07-07 09:27:40 +02:00
Christian Hesse
8dadde23f3 doc/netwatch-notify: document hooks 2020-07-06 15:54:02 +02:00
Christian Hesse
bfcf861b51 dhcp-to-dns: add a marker for new records 2020-06-02 22:09:13 +02:00
Christian Hesse
7597911672 daily-psk: wait to be fully connected 2020-05-27 00:21:30 +02:00
Christian Hesse
7ecda2204f early-errors: wait to be fully connected 2020-05-27 00:13:57 +02:00
Christian Hesse
6a50e80825 doc/early-errors: use $WaitFullyConnected 2020-05-26 23:59:12 +02:00
Christian Hesse
c88de834e4 doc/daily-psk: use $WaitFullyConnected 2020-05-26 23:58:46 +02:00
Christian Hesse
ce5e34ef9e doc/sms-forward: add a hint on receiving sms 2020-05-17 22:36:30 +02:00
Christian Hesse
9e4c6d70a9 doc/gps-track: add hint on coordinate format 2020-05-11 14:03:04 +02:00
Christian Hesse
59ba87d30e doc/early-errors: also install global-wait 2020-04-28 15:02:14 +02:00
Christian Hesse
8f44e0e0a7 doc/bridge-port: add command to install global-wait 2020-04-28 15:01:14 +02:00
Christian Hesse
0a48f37918 doc/mode-button: the reset button can do the same
... starting with RouterOS 6.47beta60.
2020-04-24 20:47:47 +02:00
Christian Hesse
c8770efd72 add script 'early-erros' 2020-04-19 00:11:01 +02:00
Christian Hesse
fe8820d7d5 doc/capsman-rolling-upgrade: explain what happens 2020-04-07 13:30:27 +02:00
Christian Hesse
d87f5899c2 doc/capsman-download-packages: document how to download packages 2020-04-07 13:23:34 +02:00
Christian Hesse
c32a727b6e add doc/upload-backup.md 2020-03-27 22:12:49 +01:00
Christian Hesse
3f6539da4c add doc/update-tunnelbroker.md 2020-03-27 22:12:49 +01:00
Christian Hesse
a2b009502f add doc/update-gre-address.md 2020-03-27 22:12:49 +01:00
Christian Hesse
f45dbb3a73 add doc/unattended-lte-firmware-upgrade.md 2020-03-27 22:12:49 +01:00
Christian Hesse
1e5784225a add doc/super-mario-theme.md 2020-03-27 22:12:49 +01:00
Christian Hesse
997ef3bf23 add doc/ssh-keys-import.md 2020-03-27 22:12:49 +01:00
Christian Hesse
e8bc0a7169 add doc/sms-forward.md 2020-03-27 22:12:49 +01:00
Christian Hesse
ed2718da2a add doc/sms-action.md 2020-03-27 22:12:49 +01:00
Christian Hesse
747af21bea add doc/rotate-ntp.md 2020-03-27 22:12:49 +01:00
Christian Hesse
15995b495f add doc/ppp-on-up.md 2020-03-27 22:12:49 +01:00
Christian Hesse
d075cce0ef add doc/packages-update.md 2020-03-27 22:12:49 +01:00
Christian Hesse
222fe8fd54 add doc/netwatch-syslog.md 2020-03-27 22:12:49 +01:00
Christian Hesse
f482c565c7 add doc/netwatch-notify.md 2020-03-27 22:12:49 +01:00
Christian Hesse
5594ffd69a add doc/mode-button.md 2020-03-27 22:12:49 +01:00
Christian Hesse
8c3489761e add doc/leds-mode.md 2020-03-27 22:12:49 +01:00
Christian Hesse
e1377cbd92 add doc/lease-script.md 2020-03-27 22:12:49 +01:00
Christian Hesse
024e9c97a1 add doc/ipv6-update.md 2020-03-27 22:12:49 +01:00
Christian Hesse
b20fcaa94d add doc/ip-addr-bridge.md 2020-03-27 22:12:49 +01:00
Christian Hesse
39857405d5 add doc/hotspot-to-wpa.md 2020-03-27 22:12:49 +01:00
Christian Hesse
cba9352fc4 add doc/gps-track.md 2020-03-27 22:12:49 +01:00
Christian Hesse
2e0e83d136 add doc/global-wait.md 2020-03-27 22:12:49 +01:00
Christian Hesse
8b724a9b5a add doc/email-backup.md 2020-03-27 22:12:49 +01:00
Christian Hesse
e0346bf60e add doc/dhcp-to-dns.md 2020-03-27 22:12:49 +01:00
Christian Hesse
c9b7139859 add doc/dhcp-lease-comment.md 2020-03-27 22:12:49 +01:00
Christian Hesse
e949e527f6 add doc/daily-psk.md 2020-03-27 22:12:49 +01:00
Christian Hesse
79e7b3229f add doc/collect-wireless-mac.md 2020-03-27 22:12:49 +01:00
Christian Hesse
d1bba48cc7 add doc/cloud-backup.md 2020-03-27 22:12:49 +01:00
Christian Hesse
c1dcc28028 add doc/check-routeros-update.md 2020-03-27 22:12:49 +01:00
Christian Hesse
969ae57fc2 add doc/check-lte-firmware-upgrade.md 2020-03-27 22:12:49 +01:00
Christian Hesse
ff867d1b6b add doc/check-health.md 2020-03-27 22:12:49 +01:00
Christian Hesse
e962fe9189 add doc/check-certificates.md 2020-03-27 22:12:49 +01:00
Christian Hesse
d08a342f06 add doc/certificate-renew-issued.md 2020-03-27 22:12:49 +01:00
Christian Hesse
77c1f6fd63 add doc/capsman-rolling-upgrade.md 2020-03-27 22:12:49 +01:00
Christian Hesse
74d192cf53 add doc/capsman-download-packages.md 2020-03-27 22:12:49 +01:00
Christian Hesse
60a21e11b0 add doc/bridge-port.md 2020-03-27 22:12:49 +01:00
Christian Hesse
b2f81f7cad add doc/accesslist-duplicates.md 2020-03-27 22:12:49 +01:00
Christian Hesse
1d580c39f9 drop doc/template.md 2020-03-27 21:38:28 +01:00
Christian Hesse
1cde38e2da move template to sub directory 2020-03-20 12:58:47 +01:00