mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-03 01:34:32 +02:00
Merge branch 'doc-copy-hint' into next
This commit is contained in:
commit
a4354d762f
20 changed files with 79 additions and 2 deletions
|
@ -36,6 +36,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `BackupPassword`: password to encrypt the backup with
|
||||
* `BackupRandomDelay`: delay up to amount of seconds when run from scheduler
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Also notification settings are required for
|
||||
[e-mail](mod/notification-email.md),
|
||||
[matrix](mod/notification-matrix.md) and/or
|
||||
|
|
|
@ -33,6 +33,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `BackupPassword`: password to encrypt the backup with
|
||||
* `BackupRandomDelay`: delay up to amount of seconds when run from scheduler
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Usage and invocation
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -42,6 +42,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `BackupUploadUser`: username for server authentication
|
||||
* `BackupUploadPass`: password for server authentication
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Also notification settings are required for
|
||||
[e-mail](mod/notification-email.md),
|
||||
[matrix](mod/notification-matrix.md) and/or
|
||||
|
|
|
@ -28,6 +28,10 @@ parameter:
|
|||
|
||||
* `CertRenewPass`: an array holding individual passphrases for certificates
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Usage and invocation
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -34,6 +34,10 @@ in `global-config-overlay`, these are the parameters:
|
|||
* `CertRenewUrl`: the url to download certificates from
|
||||
* `CertWarnTime`: on what remaining time to warn via notification
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Certificates on the web server should be named by their common name, like
|
||||
`CN.pem` (`PEM` format) or`CN.p12` (`PKCS#12` format). Alternatively any
|
||||
subject alternative name (aka *Subject Alt Name* or *SAN*) can be used.
|
||||
|
|
|
@ -74,6 +74,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `CheckHealthVoltageLow`: value (in volt*10) giving a hard lower limit
|
||||
* `CheckHealthVoltagePercent`: percentage value to trigger voltage jumps
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Also notification settings are required for
|
||||
[e-mail](mod/notification-email.md),
|
||||
[matrix](mod/notification-matrix.md) and/or
|
||||
|
|
|
@ -58,8 +58,9 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
(`long-term`, `stable` or `testing`) is appended
|
||||
* `SafeUpdateAll`: install **all** updates automatically
|
||||
|
||||
> ℹ️ **Info**: Installing **all** updates automatically requires extra
|
||||
> confirmation. See `global-config` for details.
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Also notification settings are required for
|
||||
[e-mail](mod/notification-email.md),
|
||||
|
|
|
@ -47,6 +47,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `DailyPskMatchComment`: pattern to match the wireless access list comment
|
||||
* `DailyPskSecrets`: an array with pseudo random strings
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Then add an access list entry. For CAPsMAN:
|
||||
|
||||
/caps-man/access-list/add comment="Daily PSK" ssid-regexp="-guest\$" private-passphrase="ToBeChangedDaily";
|
||||
|
|
|
@ -56,6 +56,10 @@ If no domain is found in dhcp server's network definition a fallback from
|
|||
|
||||
* `Domain`: the domain used for dns records
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
### Host name from DHCP lease comment
|
||||
|
||||
Overwriting the host name from dhcp lease comment is supported, just add
|
||||
|
|
|
@ -32,6 +32,10 @@ The configuration goes to `global-config-overlay`, the only parameter is:
|
|||
|
||||
* `GpsTrackUrl`: the url to send json data to
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
The configured coordinate format (see `/system/gps`) defines the format
|
||||
sent to the server.
|
||||
|
||||
|
|
|
@ -36,6 +36,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `HostNameInZone`: whether or not to add the ipsec/dns server's hostname
|
||||
* `PrefixInZone`: whether or not to add prefix `ipsec`
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
See also
|
||||
--------
|
||||
|
||||
|
|
|
@ -54,6 +54,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `LogForwardIncludeMessage`: define message text to be forwarded (even if
|
||||
filter matches)
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
These patterns are matched as
|
||||
[regular expressions](https://wiki.mikrotik.com/wiki/Manual:Regular_Expressions).
|
||||
To forward **all** (ignoring severity) log messages with topics `account`
|
||||
|
|
|
@ -32,6 +32,10 @@ the ntp client.
|
|||
Then edit `global-config-overlay`, add `EmailGeneralTo` with a valid
|
||||
recipient address. Finally reload the configuration.
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
### Sending to several recipients
|
||||
|
||||
Sending notifications to several recipients is possible as well. Add
|
||||
|
|
|
@ -31,6 +31,10 @@ Edit `global-config-overlay`, add `MatrixHomeServer`, `MatrixAccessToken` and
|
|||
`MatrixRoom` - see below on hints how to retrieve this information. Then
|
||||
reload the configuration.
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
### Home server
|
||||
|
||||
Matrix user accounts are identified by a unique user id in the form of
|
||||
|
|
|
@ -41,6 +41,10 @@ Finally edit `global-config-overlay`, add `TelegramTokenId` with the token
|
|||
from *BotFather* and `TelegramChatId` with your id from *GetIDs Bot*. Then
|
||||
reload the configuration.
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
### Notifications to a group
|
||||
|
||||
Sending notifications to a group is possible as well. Add your bot and the
|
||||
|
|
|
@ -27,6 +27,10 @@ The optional configuration goes to `global-config-overlay`.
|
|||
* `ScriptRunOnceBaseUrl`: base url, prepended to parameter
|
||||
* `ScriptRunOnceUrlSuffix`: url suffix, appended to parameter
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
If the parameter passed to the function is not a complete URL (starting
|
||||
with protocol `ftp://`, `http://`, `https://` or `sftp://`) the base-url is
|
||||
prepended, and file extension `.rsc` and url-suffix are appended.
|
||||
|
|
|
@ -54,6 +54,10 @@ The configuration goes to `global-config-overlay`, these are the parameters:
|
|||
* `ModeButton`: an array with defined actions
|
||||
* `ModeButtonLED`: led to give visual feedback
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Usage and invocation
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -28,6 +28,10 @@ The configuration goes to `global-config-overlay`, this is the only parameter:
|
|||
|
||||
* `SmsAction`: an array with pre-defined actions
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Then enable SMS actions:
|
||||
|
||||
/tool/sms/set allowed-number=+491234567890 receive-enabled=yes secret=s3cr3t;
|
||||
|
|
|
@ -44,6 +44,10 @@ The configuration goes to `global-config-overlay`, this is the only parameter:
|
|||
(which is matched against the sending phone number or name) and `command`.
|
||||
For `match` and `allowed-number` regular expressions are supported.
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Notification settings are required for
|
||||
[e-mail](mod/notification-email.md),
|
||||
[matrix](mod/notification-matrix.md) and/or
|
||||
|
|
|
@ -39,6 +39,10 @@ parameters:
|
|||
* `TelegramChatIdsTrusted`: an array with trusted chat ids or user names
|
||||
* `TelegramChatGroups`: define the groups a device should belong to
|
||||
|
||||
> ℹ️ **Info**: Copy relevant configuration from
|
||||
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
|
||||
> your local `global-config-overlay` and modify it to your specific needs.
|
||||
|
||||
Usage and invocation
|
||||
--------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue