diff --git a/unms.go b/unms.go index 1067de1..29fdf99 100644 --- a/unms.go +++ b/unms.go @@ -162,8 +162,9 @@ func processUNMSAPIRouter() []node { "nodeid": strings.ReplaceAll(dev.Identification.MAC, ":", ""), } fields := map[string]interface{}{ - "cpu": statistics.CPU[t].Y, - "ram": statistics.RAM[t].Y, + "cpu": statistics.CPU[t].Y, + "load": statistics.CPU[t].Y, + "ram": statistics.RAM[t].Y, //hier fehlen noch die interfaces } slice := strconv.Itoa(statistics.CPU[t].X) @@ -265,7 +266,7 @@ func processUNMSAPIRouter() []node { MAC: dev.Identification.MAC, Adresses: UnmsGetAddresses(details.IPAddress), Domain: currentDevice.Domain, - Hostname: "[RiFu] " + details.Identification.Name, + Hostname: "[VPN-Router] " + details.Identification.Name, Owner: "Freifunk Rhein-Sieg", Firmware: firmware{ Base: "Ubiquiti - Stock",