mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 09:44:35 +02:00
check-routeros-update: give board name and model
This commit is contained in:
parent
5f210eb1ec
commit
5f7c727457
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
:if ($InstalledVersion != $LatestVersion) do={
|
||||
:local Channel [ / system package update get channel ];
|
||||
:local BoardName [ / system resource get board-name ];
|
||||
:local Model [ / system routerboard get model ];
|
||||
:local SerialNumber [ / system routerboard get serial-number ];
|
||||
|
||||
|
@ -56,7 +57,8 @@
|
|||
|
||||
$SendNotification ("RouterOS update notification") \
|
||||
("There is a RouterOS update available\n\n" . \
|
||||
"Routerboard: " . $Model . "\n" . \
|
||||
"Board name: " . $BoardName . "\n" . \
|
||||
"Model: " . $Model . "\n" . \
|
||||
"Serial number: " . $SerialNumber . "\n" . \
|
||||
"Hostname: " . $Identity . "\n" . \
|
||||
"Channel: " . $Channel . "\n" . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue