Commit graph

1320 commits

Author SHA1 Message Date
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
a87fbb4be1 start news items with capital letter 2020-03-26 14:22:10 +01:00
Christian Hesse
0d6bdd4eb1 README: unify markup 2020-03-26 07:53:44 +01:00
Christian Hesse
524cc29e99 check-health: add fancy unicode symbols 2020-03-24 12:38:03 +01:00
Christian Hesse
0229516bb5 check-routeros-update: add fancy unicode symbol 2020-03-24 12:35:40 +01:00
Christian Hesse
7e982a470d netwatch-notify: add fancy unicode symbols
https://www.compart.com/de/unicode/block/U+2700
2020-03-24 12:28:06 +01:00
Christian Hesse
111e339d06 netwatch-notify: report the number of checks a host was down 2020-03-24 12:12:00 +01:00
Christian Hesse
5f46ef7635 completely replace script-updates with $ScriptInstallUpdate 2020-03-23 14:01:20 +01:00
Christian Hesse
1282a91f04 check-certificates: exclude certificates issued by SCEP 2020-03-20 22:03:31 +01:00
Christian Hesse
1cde38e2da move template to sub directory 2020-03-20 12:58:47 +01:00
Christian Hesse
f16056ef8b convert initial commands from script to page
This is not intended for installation...
2020-03-20 12:51:28 +01:00
Christian Hesse
8a88743e9f add certificate 'DigiCert ECC Secure Server CA'
This is used by DNS over HTTPS services:

https://cloudflare-dns.com/dns-query
https://dns9.quad9.net/dns-query (secured)
https://dns10.quad9.net/dns-query (unsecured)

https://github.com/curl/curl/wiki/DNS-over-HTTPS
2020-03-20 12:07:11 +01:00
Christian Hesse
1e7e19cc87 certificate-renew-issued: log action 2020-03-20 09:26:12 +01:00
Christian Hesse
739884ecc7 certificate-renew-issued: support auto-export with given passphrases 2020-03-20 09:26:12 +01:00
Christian Hesse
f50e416e49 global-functions: introduce $MkDir
This is a dirty hack... RouterOS does not support creating directories,
so we mis-use http server and fetch tool.
2020-03-20 09:26:12 +01:00
Christian Hesse
98585afe1c add script 'global-wait'
Run this in schedulers that fire on startup without interval. Schedulers
should look something like this:

/ system scheduler {
  add name=global-scripts on-event="/ system script { run global-config; run global-config-overlay; run global-functions; }" start-time=startup;
  add name=bridge-port-to-default on-event="/ system script { run global-wait; run bridge-port-to-default; }" start-time=startup;
}
2020-03-12 08:40:29 +01:00
Christian Hesse
63ed093340 check-health: add encoded degree sign 2020-03-09 16:23:10 +01:00
Christian Hesse
1f8c22b23d hotspot-to-wpa: unbreak options 2020-03-09 13:46:06 +01:00
Christian Hesse
8992b18166 global-functions: $DeviceInfo: more indention 2020-03-09 09:29:36 +01:00
Christian Hesse
8020955b3b script-updates: also consider scripts with empty source for update 2020-03-05 20:09:36 +01:00
Christian Hesse
f3e2fb654b netwatch-notify: add logging 2020-03-05 12:47:42 +01:00
Christian Hesse
9aed03693c netwatch-notify: fix handling of array
Looks like handling of more-dimensional arrays is a bit tricky in
RouterOS... Without this *all* values with the same key name are
updated, independent of intermediate name.
2020-03-05 12:42:21 +01:00
Christian Hesse
3d07ebde05 global-functions: $SendEMail: invert condition 2020-03-05 11:00:36 +01:00
Christian Hesse
227151e189 global-functions: $SendTelegram: invert condition 2020-03-05 11:00:36 +01:00
Christian Hesse
34db2e34db global-functions: $SendTelegram: allow to override chatid
This allows to send Telegram messages to different contact or group.
Use something like this:

/system scheduler add name=netwatch-notify interval=1m start-time=startup \
  on-event=":global TelegramChatIdOverride \"-1234\"; / system script run netwatch-notify; :set TelegramChatIdOverride;"
2020-03-05 10:54:48 +01:00
Christian Hesse
71ae8cb75f rotate-ntp: use $LogPrintExit 2020-03-05 09:42:28 +01:00
Christian Hesse
27e2635007 bridge-port-to-default: use $LogPrintExit for debug 2020-03-05 09:24:10 +01:00
Christian Hesse
bf41a8d48a always use severity 'warning', not just 'warn' 2020-03-05 09:18:23 +01:00
Christian Hesse
e104b54bf0 hotspot-to-wpa: use $LogPrintExit and add more logging 2020-03-05 09:17:19 +01:00
Christian Hesse
970641a974 check-routeros-update: use $LogPrintExit 2020-03-05 09:08:57 +01:00
Christian Hesse
08bb73b6fc check-certificates: use $LogPrintExit for debug 2020-03-05 09:01:11 +01:00
Christian Hesse
34255c9050 script-updates: use $LogPrintExit for debug 2020-03-05 08:58:29 +01:00
Christian Hesse
3ec34fa752 dhcp-to-dns: fix value in message 2020-03-05 08:43:56 +01:00
Christian Hesse
554308a399 dhcp-to-dns: use $LogPrintExit 2020-03-05 08:37:12 +01:00
Christian Hesse
be5b6e0687 dhcp-lease-comment: use $LogPrintExit 2020-03-05 08:34:33 +01:00
Christian Hesse
3127800496 daily-psk: use $LogPrintExit 2020-03-05 08:26:05 +01:00
Christian Hesse
1dbd91f76d collect-wireless-mac: use $LogPrintExit 2020-03-05 08:22:47 +01:00
Christian Hesse
f90c59e4fb netwatch-notify: properly initialize default values 2020-03-05 08:15:36 +01:00
Christian Hesse
792eba8465 global-functions: $LogPrintExit: add debugging option 2020-03-05 08:11:17 +01:00
Christian Hesse
478688d534 netwatch-notify: use another level of array 2020-03-04 21:01:21 +01:00
Christian Hesse
e588607efd add script netwatch-notify 2020-03-04 15:56:40 +01:00
Christian Hesse
628ae1bd70 bridge-port-to-default: use $ParseKeyValueStore...
... and unbreak last commit removing delay (69352c90).
This requires a change in configuration syntax. Change this...

    comment="default:br-local, alt:br-guest"

to...

    comment="default=br-local, alt=br-guest"
2020-03-03 13:32:00 +01:00
Christian Hesse
4ccdec602e bridge-port-to-default: use $LogPrintExit 2020-03-03 08:54:18 +01:00