Christian Hesse
5b2ea9b1a4
... and another one
2022-07-11 17:18:18 +02:00
Christian Hesse
deacda8630
give a heart for contributions ❤️
2022-07-11 17:16:25 +02:00
Christian Hesse
f9442ceaa2
update list of contributors
2022-07-11 16:22:18 +02:00
Christian Hesse
876f8a0f82
netwatch-dns: properly check for disabled state
...
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00
Christian Hesse
cb20b8c380
daily-psk: properly check for disabled state
...
The property 'disabled' can be undefined, which evaluates to
enabled - but is not matched by 'disabled=no'.
2022-07-11 10:41:51 +02:00
Christian Hesse
0ed68824fd
check-routeros-update: drop check for package...
...
... as wireless package is bundled with the system with RouterOS 7.x.
2022-07-11 10:41:37 +02:00
Christian Hesse
61598c81e9
update list of contributors
2022-07-08 08:30:25 +02:00
Christian Hesse
bbe8c02b5b
README: show a sample news and changes notification
2022-07-07 14:21:41 +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
68ae4fca0d
global-config-overlay: update wording
2022-07-06 12:26:58 +02:00
Christian Hesse
99feceda38
Merge branch 'netwatch' into next
2022-07-06 11:42:47 +02:00
Christian Hesse
447e1d99f9
netwatch-dns: break long lines
2022-07-06 11:37:02 +02:00
Christian Hesse
3a7bb1e239
netwatch-notify: break long lines
2022-07-06 11:37:02 +02:00
Christian Hesse
8e6eff30db
netwatch-notify: also support the name from property
2022-07-06 11:37:02 +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
f50d155500
netwatch-notify: $NetwatchNotifyHook: rename variable: $Type -> $State
2022-07-06 11:37:02 +02:00
Christian Hesse
a7c9444545
netwatch-notify: rename variable: $HostName -> $Name
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
5a02c32d7d
netwatch-notify: properly check for disabled state
...
Looks like checking for 'disabled=no' fails with net netwatch
in RouterOS 7.4...
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
597277dbe7
mod/ipcalc: use $PrettyPrint
2022-07-05 12:43:57 +02:00
Christian Hesse
150feac400
mod/inspectvar: use $PrettyPrint
2022-07-05 12:43:57 +02:00
Christian Hesse
eda75f0bbc
global-functions: introduce function $PrettyPrint
...
... to add trailing carriage return when printing to terminal:
[admin@MikroTik] > $PrettyPrint [ $DeviceInfo ]
Hostname: MikroTik
Board name: hAP ac^2
Architecture: arm
Model: RouterBOARD D52G-5HacD2HnD-TC
Serial number: 8A2A09A221A1
RouterOS:
Channel: testing
Installed: 7.4rc1
RouterOS-Scripts:
Current: 81
2022-07-05 12:43:57 +02:00
Christian Hesse
b0992da03d
mod/ipcalc: remove empty line
2022-07-05 12:28:50 +02:00
Christian Hesse
3434ea9d79
mod/bridge-port-to: re-enable interfaces by id
2022-06-30 08:59:27 +02:00
Christian Hesse
e27a0166ba
mod/bridge-port-vlan: re-enable interfaces by id
2022-06-30 08:59:08 +02:00
Christian Hesse
f26fb7c05f
mod/bridge-port-to: do not act on missing interface
...
Happens on broken configuration or early boot...
2022-06-29 12:53:50 +02:00
Christian Hesse
ba34ee5cda
mod/bridge-port-vlan: do not act on missing interface
...
Happens on broken configuration or early boot...
2022-06-29 12:53:02 +02:00
Christian Hesse
6fdf115dcf
README: How to remove a script...
2022-06-28 21:55:30 +02:00
Christian Hesse
fcd6e61849
global-functions: $ScriptInstallUpdate: remove script on failure when installing
2022-06-28 21:40:00 +02:00
Christian Hesse
8b6f830fe8
mod/notification-telegram: only flush queue if fully connected
...
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
cf59e7c1a2
mod/notification-matrix: only flush queue if fully connected
...
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
d8d7ace5e5
global-functions: introduce function $IsFullyConnected
2022-06-20 11:29:49 +02:00
Christian Hesse
b1ad89b1b5
global-functions: rename internal function: $TimeIsSync -> $IsTimeSync
2022-06-20 11:29:49 +02:00
Christian Hesse
9aa82316c8
global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving
2022-06-20 11:29:49 +02:00
Christian Hesse
0ee38a4303
global-functions: rename internal function: $DefaultRouteIsReachable -> $IsDefaultRouteReachable
2022-06-20 11:29:49 +02:00
Christian Hesse
f628ef73fd
global-functions: $WaitTimeSync: drop declaration of unused function
2022-06-17 00:04:24 +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
66b7fccd30
mod/bridge-port-to: log when re-enabling interfaces
2022-06-15 16:39:49 +02:00
Christian Hesse
1e894289ea
mod/bridge-port-vlan: log when re-enabling interfaces
2022-06-15 16:39:49 +02:00
Christian Hesse
5dc23dd267
mod/bridge-port-to: move reenable to correct level
2022-06-15 10:01:48 +02:00
Christian Hesse
5b3b3e182b
mod/bridge-port-vlan: move reenable to correct level
2022-06-15 10:01:48 +02:00
Christian Hesse
e9f00df290
global-config-overlay: fix $GlobalConfigVersion...
...
Looks like I missed this in commit 5e481a768b
.
😳
2022-06-14 21:26:09 +02:00
Christian Hesse
dafeeabdb4
rotate-ntp: update message to indicate resolve failed again
2022-06-10 11:22:46 +02:00
Christian Hesse
c7087ac4fe
rotate-ntp: do not flood the log on weak connection
2022-06-10 11:22:46 +02:00
Christian Hesse
782bbb2c90
doc/mod/bridge-port-to: fix scheduler name
2022-06-10 11:22:46 +02:00
Christian Hesse
e9780d9b4e
log-forward: fix the pattern excluding mail errors
...
This looked smart, but did not work... 🤪
Unicode characters have to be in place to make $QuotedPrintable have an
effect. So fix it... We have duplicate pattern if symbols are disabled,
but that does not hurt.
2022-06-08 21:05:08 +02:00