Age | Commit message (Collapse) | Author | Files | Lines |
|
... just as without queue.
|
|
... when returning gracefully.
|
|
All scripts wait for the global functions on their own now.
|
|
In RouterOS functions are of type 'array' with 'code' (numerical index 1)
inside. Cast to string to make comparison work.
Also define the function to make it available.
|
|
|
|
|
|
Now that we have an e-mail queue we do not care if the server is up or not.
|
|
|
|
|
|
We can merge this when RouterOS 6.47 moves to long-term...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configuration
|
|
|
|
|
|
Anybody had enough time to migrate, no?
|
|
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate
to test...
:set SentConfigChangesNotification
$ScriptInstallUpdate
|
|
semi-mandatory
... and remove the migration from changes.
|
|
|
|
|
|
|
|
... if scheduler exists.
|
|
|
|
|
|
Signed-off-by: Michael Gisbers <michael@gisbers.de>
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
|
|
For e-mail just in plain text...
|
|
|
|
|
|
Formatting with fixed width font stopped links from being clickable.
|
|
|
|
|
|
|
|
|
|
The message is queued, not lost...
|
|
|
|
|
|
|
|
|
|
neighbor list
|
|
... with comma-separated list.
|
|
|
|
|
|
This helps against notification flooding.
|
|
|
|
|
|
... but give configuration to opt-out.
|
|
|
|
|
|
|
|
The uptime is returned in time, with supports arithmetic modulo
operation. This is three minutes in nano seconds, so multiplied
180 with 10^9.
|
|
|
|
|
|
|
|
|
|
Telegram messages have a maximum length of 4096 characters. Truncate if
too long, keep some spare characters for status messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This matches the string included in export.
|
|
|
|
|
|
|
|
This introduces function $FlushTelegramQueue, which flushes queue of
Telegram notifications. Notifications are appended to the queue if
sending failed.
|
|
|
|
Using 'print count-only' always prints a number to terminal, even if the
value is evaluated in a condition or assigned to a variable. This can be
quite annoying. Behavior will not chance (SUP-25503), so replacing the
code...
|
|
Situation will not improve... But chances are that RTC is available with
correct time, for example from host inside CHR vm. So return gracefully.
|
|
|
|
|
|
|
|
|
|
Do do generate certificate, but use scep-server otp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|