From 5f7c7274573ae290205aa984e8029c586db0e16e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 19 Feb 2019 22:56:28 +0100 Subject: check-routeros-update: give board name and model --- check-routeros-update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/check-routeros-update b/check-routeros-update index f0b06a1..2a482bd 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -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" . \ -- cgit v1.2.3-70-g09d2