mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-19 18:34:42 +02:00
global-functions: introduce and use $SymbolForNotification
This commit is contained in:
parent
0e7b2d3ac7
commit
075859c898
9 changed files with 35 additions and 18 deletions
|
@ -13,7 +13,7 @@
|
|||
:global LogPrintExit;
|
||||
:global MailServerIsUp;
|
||||
:global SendNotification;
|
||||
:global SymbolByUnicodeName;
|
||||
:global SymbolForNotification;
|
||||
:global WaitFullyConnected;
|
||||
|
||||
$WaitFullyConnected;
|
||||
|
@ -40,7 +40,7 @@ $WaitFullyConnected;
|
|||
}
|
||||
|
||||
:if ($Count > 0) do={
|
||||
$SendNotification ([ $SymbolByUnicodeName "warning-sign" ] . " Log Forwarding") \
|
||||
$SendNotification ([ $SymbolForNotification "warning-sign" ] . "Log Forwarding") \
|
||||
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
|
||||
[ / system resource get uptime ] . " uptime.\n" . $Messages);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue