mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
email-backup: give board name and model
This commit is contained in:
parent
5664449f64
commit
eb14820f2e
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
:local Attach [ :toarray "" ];
|
||||
|
||||
# get some system information
|
||||
:local BoardName [ / system resource get board-name ];
|
||||
:local Model [ / system routerboard get model ];
|
||||
:local SerialNumber [ / system routerboard get serial-number ];
|
||||
:local Channel [ / system package update get channel ];
|
||||
|
@ -71,7 +72,8 @@
|
|||
/ tool e-mail send to=$EmailBackupTo cc=$EmailBackupCc \
|
||||
subject=("[" . $Identity . "] Backup & Config") \
|
||||
body=("Backup and config export for " . $Identity . ".\n\n" . \
|
||||
"Routerboard: " . $Model . "\n" . \
|
||||
"Board name: " . $BoardName . "\n" . \
|
||||
"Model: " . $Model . "\n" . \
|
||||
"Serial number: " . $SerialNumber . "\n" . \
|
||||
"Hostname: " . $Identity . "\n" . \
|
||||
"Channel: " . $Channel . "\n" . \
|
||||
|
|
Loading…
Reference in a new issue