Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Klang
Host Monitor
Commits
b90bd0cc
Commit
b90bd0cc
authored
Jun 09, 2021
by
Peter Möller
Browse files
Update host-monitor.sh
parent
32eaae34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Synology/host-monitor.sh
View file @
b90bd0cc
...
...
@@ -129,7 +129,7 @@ NIStr="\"network-interfaces\": [ $(echo "${OUTPUT}" | sed 's/,$//') ]"
# Ex: NIStr='"network-interfaces": [ { "interface": "ens192", "ip4": "130.235.16.11/23", "ip6": "fe80::250:56ff:feb6:b194/64", "mac": "00:50:56:b6:b1:94", "mac-p": "00:50:56:b6:b1:94", "speed": "10000Mb/s" } ]'
# Platform
PlatformStr
=
"
\"
platform
\"
: {
\"
virtualized
\"
: false,
\"
name
\"
:
\"
Model:
$DeviceType
$ModelName
\"
}"
PlatformStr
=
"
\"
platform
\"
: {
\"
virtualized
\"
: false,
\"
name
\"
:
\"
$DeviceType
$ModelName
\"
}"
# network
AliasName
=
",
\"
alias
\"
: [
\"
$DNSAlias
\"
] "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment