Commit graph

427 commits

Author SHA1 Message Date
Christian Hesse
e96b2e4853 doc/certificate-renew-issued: hint to copy from global-config 2023-06-11 22:45:29 +02:00
Christian Hesse
a65ea3fc26 doc/backup-upload: hint to copy from global-config 2023-06-11 22:45:29 +02:00
Christian Hesse
083fa82b13 doc/backup-email: hint to copy from global-config 2023-06-11 22:45:29 +02:00
Christian Hesse
5f28e928a1 doc/backup-cloud: hint to copy from global-config 2023-06-11 22:45:29 +02:00
Christian Hesse
de8c534d41 doc/daily-psk: rename schedulers...
... to match other scripts.
2023-06-01 09:53:33 +02:00
Christian Hesse
95181fbef9 doc/check-certificates: move and rename schedule at startup 2023-06-01 09:53:33 +02:00
Christian Hesse
cfeddde173 doc/check-routeros-update: hint on schedule at startup 2023-06-01 09:53:33 +02:00
Christian Hesse
80198dcfb5 doc/mod/notification-telegram: show how to set bot's profile photo 2023-05-25 10:39:16 +02:00
Christian Hesse
e9b7c7f7ed doc/mod/notification-telegram: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:52:34 +02:00
Christian Hesse
c0aeee3d3e doc/mod/notification-matrix: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:52:18 +02:00
Christian Hesse
8284035ad8 doc/mod/notification-email: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:51:23 +02:00
Christian Hesse
1f1e76b822 sms-forward: drop workaround, add required RouterOS 2023-04-26 10:31:23 +02:00
Christian Hesse
c8500dddd0 mod/ssh-keys-import: make ssh-keys-import a module 2023-04-26 10:31:23 +02:00
Christian Hesse
ee94024dca dhcp-to-dns: get domain from dhcp server's network definition 2023-04-24 22:26:26 +02:00
Christian Hesse
9617095022 check-certificates: try all SANs for download 2023-04-07 23:36:09 +02:00
Christian Hesse
4073daa139 check-certificates: include SANs in information 2023-04-07 22:53:33 +02:00
Christian Hesse
68364d4a50 doc/check-health: use an unusual interval 2023-03-31 17:45:55 +02:00
Christian Hesse
d700dbc00e dhcp-to-dns: support host name from dhcp lease comment
The lease comment is supposed to be a human readable string... But we
could allow parsable information.
2023-03-28 12:05:47 +02:00
Christian Hesse
b22a84ed0f doc/dhcp-to-dns: mention A record and optional CNAME record 2023-03-28 11:42:58 +02:00
Christian Hesse
b66364d716 doc/netwatch-notify: prevent escaping code in hook by creating a script 2023-03-20 13:32:39 +01:00
Christian Hesse
f7962f5d79 doc/netwatch-notify: move hint on notification settings up 2023-03-20 12:35:34 +01:00
Christian Hesse
650c362ed9 netwatch-notify: support note in notification 2023-03-20 12:35:34 +01:00
Christian Hesse
a832fd04ef rename scripts and add file extension ".rsc"
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00
Christian Hesse
4ca8f83a52 ... and update the logo in notifications 2023-03-06 21:07:58 +01:00
Christian Hesse
d2d913ec19 check-routeros-update: allow to install all updates automatically...
... but with extra hurdle for more awareness of danger.

Let's not send a new notification, intentionally. This feature is
dangerous, and we should not advertise it.
2023-03-06 21:06:48 +01:00
Christian Hesse
a9741336b8 doc/check-routeros-update: update wording and details 2023-03-03 14:08:48 +01:00
Christian Hesse
c48509683c check-health: wording: load -> utilization
The load is defined as something different...

https://en.wikipedia.org/wiki/Load_(computing)

So let's update the wording and use 'utilization' instead.

---- ✂️ ----
🧮📈️ Health warning: CPU utilization

The average CPU utilization on MikroTik is at 76%!
---- ✂️ ----
🧮📉️ Health recovery: CPU utilization

The average CPU utilization on MikroTik decreased to 64%.
---- ✂️ ----
2023-02-14 20:24:06 +01:00
Christian Hesse
e50e25c638 doc/check-health: make the voltage limit a separate point 2023-02-13 21:10:35 +01:00
Christian Hesse
b6d2cb44c1 doc/check-health: add line break between screenshots 2023-02-13 21:10:35 +01:00
Christian Hesse
62707dc549 ipv6-update: support host addresses in address-list 2023-02-10 11:36:12 +01:00
Christian Hesse
15fc0b91e9 doc/backup-upload: new option $BackupSendGlobalConfig 2023-02-08 09:44:52 +01:00
Christian Hesse
f2f7d66b2d doc/backup-email: new option $BackupSendGlobalConfig 2023-02-08 09:44:21 +01:00
Christian Hesse
08383daa5c telegram-chat: always reply to origin chat 2023-02-02 10:06:42 +01:00
Christian Hesse
bf1af61d2d doc/telegram-chat: give an example on how to work around command runtime 2023-02-01 17:28:45 +01:00
Christian Hesse
049a029170 doc/telegram-chat: add hint on output size 2023-02-01 14:30:52 +01:00
Christian Hesse
7e7987afec doc/telegram-chat: add hint on command runtime 2023-02-01 11:29:56 +01:00
Christian Hesse
8f47bc9836 doc/telegram-chat: warn about changing group id 2023-02-01 11:29:51 +01:00
Christian Hesse
8b488cb82f doc/telegram-chat: allow bots to receive messages in a group 2023-01-31 18:11:22 +01:00
Christian Hesse
cbc547332e check-routeros-update: drop check for cap
This becomes complicated with legacy wireless and wifiwave2 package, old
and new CAPsMAN. Let's just drop the check.
2023-01-31 17:27:15 +01:00
Christian Hesse
819c7294c6 introduce telegram-chat
Druvis from Mikrotik produced a video "MikroTik Telegram bot - Chat with
your Router?". He shows his script to chat with a Router via Telegram
bot to send it commands: https://youtu.be/KLX6j3sLRIE

This script is kind of limited and has several issues... 🥴

Let's make it robust, usable, multi-device capable and just fun! 😁

(Sadly Mikrotik has a policy to not allow links in Youtube comments.
Thus my comment with several hints was removed immediately. If anybody
is in contact with Druvis... Please tell him about this script!)
2023-01-31 17:26:51 +01:00
Christian Hesse
555d0e8bfc check-certificates: make the warning time configurable 2023-01-23 17:46:03 +01:00
Christian Hesse
36a8938dea doc/check-certificates: document the renew time 2023-01-23 17:45:22 +01:00
Christian Hesse
6780e1a24c check-health: monitor free RAM
---- ✂️ ----
🗃️📉️ Health warning: free RAM

The available free RAM on MikroTik is at 18% (47MiB)!
---- ✂️ ----
🗃️📈️ Health recovery: free RAM

The available free RAM on MikroTik increased to 65% (168MiB).
---- ✂️ ----
2023-01-20 23:20:53 +01:00
Christian Hesse
75bd14267e check-health: monitor CPU load
---- ✂️ ----
🧮📈️ Health warning: CPU load

The average CPU load on MikroTik is at 76%!
---- ✂️ ----
🧮📉️ Health recovery: CPU load

The average CPU load on MikroTik decreased to 64%.
---- ✂️ ----
2023-01-20 23:13:27 +01:00
Christian Hesse
2294ac77a8 doc/log-forward: add tips and tricks 2023-01-20 00:34:27 +01:00
Christian Hesse
cfb31e840c doc/log-forward: add some more details 2023-01-18 11:53:57 +01:00
Christian Hesse
aabc6b22fe doc/daily-psk: drop the start-date from scheduler 2023-01-12 23:28:37 +01:00
Christian Hesse
ab306ad3c7 doc/daily-psk: add missing bits for CAPsMAN 2023-01-12 23:26:23 +01:00
Christian Hesse
34ed387343 use arrows with emoji representation
We had...

  ◀ Go back to main README
  ▲ Go back to top

... and switch to...

  ⬅️ Go back to main README
  ⬆️ Go back to top
2023-01-11 12:28:31 +01:00
Christian Hesse
80671e3803 doc/sms-forward: take care of harmful commands in hooks 2023-01-10 08:58:33 +01:00
Anatoly Bubenkov
ea09a18d3f sms-forward: support hooks 2023-01-10 08:58:33 +01:00
Christian Hesse
88b34cfb39 doc/sms-forward: reorder configuration 2023-01-09 15:35:57 +01:00
Christian Hesse
a7bdebbfb0 doc/mod/notification-email: mention correct time 2022-11-22 21:49:34 +01:00
Christian Hesse
aef88e313b doc/sms-forward: update notification
---- ✂️ ----
📨 SMS Forwarding from 7277

Received this message by MikroTik from 7277:

On oct/17/2022 13:44:10 GMT -0 type class-0:
Welcome to our network!
---- ✂️ ----
2022-10-20 11:37:09 +02:00
Christian Hesse
ee7836263f doc/netwatch-notify: update notifications
---- ✂️ ----
 Netwatch Notify: example.com down

The host 'example.com' (93.184.216.34) is down since oct/19/2022 16:27:03.
---- ✂️ ----
 Netwatch Notify: example.com up

The host 'example.com' (93.184.216.34) is up since oct/19/2022 17:03:00.
It was down for 6 checks since oct/19/2022 16:27:03.
---- ✂️ ----
2022-10-20 11:37:05 +02:00
Christian Hesse
4f8a2bd8e2 doc/log-forward: update notification
---- ✂️ ----
⚠️ Log Forwarding

The log on MikroTik contains these 3 messages after 6d23:55:18 uptime.

 ● 13:24:02 script;error backup-cloud: Failed uploading backup for MikroTik to cloud!
 ● 13:24:17 system;info;account user admin logged in from 192.168.88.177 via ssh
 ● 13:24:57 system;info;account user admin logged out from 192.168.88.177 via ssh
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
694f4e2894 doc/daily-psk: update notification
---- ✂️ ----
📅 daily PSK Guest-Wifi

This is the daily PSK on MikroTik:

SSID: Guest-Wifi
PSK:  S3cr3tStr1ng
Date: oct/18/2022

A client device specific rule must not exist!

🔗 https://www.eworm.de/cgi-bin/cqrlogo-wifi.cgi?scale=8&level=1&ssid=Guest-Wifi&pass=S3cr3tStr1ng
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
dddbd3da27 doc/collect-wireless-mac: update notification
---- ✂️ ----
📱 48:F1:7F:D0:E5:4E connected to Wifi

A device with unknown MAC address connected to Wifi on MikroTik.

Controller: MikroTik
Interface:  wl5-wifi
SSID:       Wifi
MAC:        48:F1:7F:D0:E5:4E
Vendor:     Intel Corporate
Hostname:   host-523c8e0e
Address:    192.168.20.254
DNS name:   host-523c8e0e.dhcp.MikroTik.example.com
Date:       oct/20/2022 09:21:56
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
6940f851b0 doc/check-routeros-update: update notification
---- ✂️ ----
 RouterOS update

A new RouterOS version 7.6 is available for MikroTik.

Hostname:       MikroTik
Board name:     CHR
Architecture:   x86_64
RouterOS:
    Channel:    stable
    Installed:  7.5
    Available:  7.6
RouterOS-Scripts:
    Version:    85

🔗 https://mikrotik.com/download/changelogs/stable-release-tree
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
863cf9cae0 doc/check-lte-firmware-upgrade: update notification
---- ✂️ ----
 LTE firmware upgrade

A new firmware version R11e-LTE6_V033 is available for LTE interface lte on MikroTik.

Interface: MikroTik R11e-LTE6
Installed: R11e-LTE6_V027
Available: R11e-LTE6_V033
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
692ed21262 doc/check-health: update notifications
---- ✂️ ----
📉 Health warning: voltage

The voltage on MikroTik jumped more than 10%.

old value: 16.2V
new value: 12.4V
---- ✂️ ----
🔥 Health warning: temperature

The temperature on MikroTik is above threshold: 51°C
---- ✂️ ----
 Health recovery: temperature

The temperature on MikroTik dropped below threshold: 47°C
---- ✂️ ----
 Health warning: psu1-state

The power supply unit 'psu1-state' on MikroTik failed!
---- ✂️ ----
 Health recovery: psu1-state

The power supply unit 'psu1-state' on MikroTik recovered!
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
fadf4d5008 doc/check-certificates: update notification
---- ✂️ ----
🔏 Certificate renewed

A certificate on MikroTik has been renewed.

Name:        example.com
CommonName:  example.com
Private key: available
Fingerprint: cc54cdd01fcd7698ecb71213874be776906eb33d26cd57754d168632f14c4c8b
Issuer:      R3
Validity:    sep/08/2022 03:50:56 to dec/07/2022 03:50:55
Expires in:  8w 3d 12:03:30
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
98844d85d5 doc/backup-upload: update notification
---- ✂️ ----
💾⬆️ Backup & Config upload

Backup and config export upload for MikroTik.

Hostname:       MikroTik
Board name:     CHR
Architecture:   x86_64
RouterOS:
    Channel:    stable
    Installed:  7.6
RouterOS-Scripts:
    Version:    85

Backup file:    MikroTik_example_com.backup
Config file:    MikroTik_example_com.rsc
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
3733e0a919 doc/backup-cloud: update notification
---- ✂️ ----
💾☁️ Cloud backup

Uploaded backup for MikroTik to cloud.

Hostname:       MikroTik
Board name:     CHR
Architecture:   x86_64
RouterOS:
    Channel:    stable
    Installed:  7.6
RouterOS-Scripts:
    Version:    85

Name:           cloud-20221020-092419
Size:           370767 B (362 KiB)
Download key:   LLDBfPcWXxmSetWilqeJX5V
---- ✂️ ----
2022-10-20 11:28:09 +02:00
Christian Hesse
e7995fa06b update-tunnelbroker: get public address from website
This is a good condidate:

https://showipv6.de/

We can drop the cloud code, which seems to be unreliable in somd
situations.
2022-10-09 23:56:53 +02:00
Christian Hesse
c95cbdbc1e doc/update-tunnelbroker: give more hints on expected config 2022-10-09 00:00:50 +02:00
Christian Hesse
bfe2cbf575 drop 'netwatch-syslog'
To filter in firewall you should use something like this:

/ip/firewall/filter/add action=reject chain=output out-interface-list=WAN port=514 protocol=udp reject-with=icmp-admin-prohibited;
/ip/firewall/filter/add action=reject chain=forward out-interface-list=WAN port=514 protocol=udp reject-with=icmp-admin-prohibited;
2022-09-25 22:18:44 +02:00
Christian Hesse
eccc187014 introduce 'mod/notification-email', split off from global-functions 2022-09-25 22:10:05 +02:00
Christian Hesse
220dd8f892 netwatch-dns: support downloading / importing certificate 2022-09-13 20:28:52 +02:00
Christian Hesse
3988c70290 doc/netwatch-dns: fix example command...
This broke with:

 * doc/netwatch-dns: giving hostname in comment is not required
   9853943a36
2022-09-13 15:18:28 +02:00
Christian Hesse
a7ec92e358 optimize all svg files...
... and also update all version numbers to match current release.
2022-08-22 17:16:17 +02:00
Christian Hesse
a1606402d1 global-config: new setting to disable news and change notifications...
... and also drop the version from global-config and
global-config-overlay.
2022-07-06 21:46:52 +02:00
Christian Hesse
5767fceb39 netwatch-notify: quote the host/service name 2022-07-06 11:37:02 +02:00
Christian Hesse
e8f5f9217c netwatch-notify: properly handle services (http-get & tcp-conn) 2022-07-06 11:37:02 +02:00
Christian Hesse
19103cd345 netwatch-notify: rename parameter: hostname -> name
Starting with RouterOS 7.4 the netwatch tool has been extended, it can
now do tcp and http probes. Rename the parameter for reasonable naming
with services.
2022-07-06 11:37:02 +02:00
Christian Hesse
0a45e25562 doc/netwatch-dns: use default address for quad-nine 2022-07-05 13:29:39 +02:00
Christian Hesse
9853943a36 doc/netwatch-dns: giving hostname in comment is not required 2022-07-05 13:16:47 +02:00
Christian Hesse
3002990319 fix typos: 'at lease' -> 'at least' 2022-06-16 23:56:36 +02:00
Christian Hesse
b3de1fad34 drop script 'rotate-ntp'
For RouterOS 6.x a separate package 'ntp' exists. This adds server
functionality, but allows ip addresses for the client only. I added the
script 'rotate-ntp' to update addresses from names...

Now with RouterOS 7.x there's no extra package and the limitation does
no longer exist. So let's just drop the script.

This adds migration code, that...
 * removes the script from configuration
 * removes a scheduler from configuration
 * sets the configured ntp pool name for ntp client
2022-06-15 16:39:49 +02:00
Christian Hesse
782bbb2c90 doc/mod/bridge-port-to: fix scheduler name 2022-06-10 11:22:46 +02:00
Christian Hesse
aa7e9adbd7 doc/mod/notification-telegram: how to use the function 2022-06-05 22:50:57 +02:00
Christian Hesse
648ce9c3bd doc/mod/notification-matrix: how to use the function 2022-06-05 22:50:23 +02:00
Christian Hesse
09d926ed2f doc/update-tunnelbroker: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
f759a9a52e doc/update-gre-address: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
347cb4f3b6 doc/unattended-lte-firmware-upgrade: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
c2637ee72c doc/super-mario-theme: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
4ca43dcde3 doc/ssh-keys-import: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
06509f6af4 doc/sms-forward: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
25d11f798d doc/sms-action: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
45232019f4 doc/rotate-ntp: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
d9d2d67a4e doc/ppp-on-up: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
eb014b26b2 doc/packages-update: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
47b6f8941a doc/ospf-to-leds: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
6f76a41962 doc/netwatch-syslog: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
7561c719d1 doc/netwatch-notify: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
9ef2718c6d doc/netwatch-dns: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
2ed561d13b doc/mode-button: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
95a75b3fa1 doc/mod/scriptrunonce: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
76127ed53c doc/mod/notification-matrix: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
344ae8a55d doc/mod/ipcalc.d/ipcalc: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
f00ff997a4 doc/mod/inspectvar: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
21416c42ef doc/mod/bridge-port-vlan: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
e88a547f60 doc/mod/bridge-port-to: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
c5044e10ce doc/log-forward: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
36ec2e1595 doc/leds-mode: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
e25f13fe17 doc/lease-script: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
77ef9c0919 doc/ip-addr-bridge: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
ad6dc85320 doc/ipv6-update: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
ea619c8efc doc/ipsec-to-dns: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
d68958dd77 doc/hotspot-to-wpa: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
060d12d273 doc/gps-track: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
3e1802a1a0 doc/global-wait: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
474c4f7a62 doc/firmware-upgrade-reboot: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
7aea231940 doc/dhcp-to-dns: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
d9201aa29a doc/dhcp-lease-comment: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
2f52057e84 doc/daily-psk: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
847892c09f doc/collect-wireless-mac: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
15035cd70d doc/check-routeros-update: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
578ef72c89 doc/check-lte-firmware-upgrade: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
6086064129 doc/check-health: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
c52f69b98d doc/check-certificates: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
c483136689 doc/certificate-renew-issued: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
b3ec0f7fb9 doc/capsman-rolling-upgrade: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
fe88af2d5f doc/capsman-download-packages: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
fedf74300d doc/backup-upload: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
d4df7467b3 doc/backup-partition: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
81b0ed6675 doc/backup-email: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
71680aa1b8 doc/backup-cloud: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
6c2a7faedd doc/accesslist-duplicates: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
6784f82593 doc/check-routeros-update: link changelog and forum 2022-05-06 08:26:00 +02:00
Christian Hesse
c4008b91cd doc/check-routeros-update: give warning about possible breakage 2022-05-06 08:20:53 +02:00
Christian Hesse
a4ebc18af7 doc/check-routeros-update: mention neighbor discovery 2022-05-06 08:20:34 +02:00
PackElend
56c5da8ed4 doc/lease-script: reflect actual action of the script 2022-05-02 11:50:44 +02:00
Christian Hesse
71b69fc189 introduce backup-partition 2022-03-30 18:24:14 +02:00
Christian Hesse
c4a5f8787a capsman-download-packages: get info from log
Relying on older packages in local storage may be problematic due to
size constraints. Let's check the log for required packages.
2022-03-25 11:23:00 +01:00
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