mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
log-forward: use $SymbolByUnicodeName
This commit is contained in:
@ -13,6 +13,7 @@
|
|||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
:global MailServerIsUp;
|
:global MailServerIsUp;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
:global SymbolByUnicodeName;
|
||||||
:global WaitFullyConnected;
|
:global WaitFullyConnected;
|
||||||
|
|
||||||
$WaitFullyConnected;
|
$WaitFullyConnected;
|
||||||
@ -39,7 +40,7 @@ $WaitFullyConnected;
|
|||||||
}
|
}
|
||||||
|
|
||||||
:if ($Count > 0) do={
|
:if ($Count > 0) do={
|
||||||
$SendNotification ("\E2\9A\A0 Log Forwarding") \
|
$SendNotification ([ $SymbolByUnicodeName "warning-sign" ] . " Log Forwarding") \
|
||||||
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
|
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
|
||||||
[ / system resource get uptime ] . " uptime.\n" . $Messages);
|
[ / system resource get uptime ] . " uptime.\n" . $Messages);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user