This commit is contained in:
parent
bada54bd1d
commit
cfdca822ae
2
unms.go
2
unms.go
@ -163,7 +163,7 @@ func processUNMSAPIRouter() []node {
|
|||||||
}
|
}
|
||||||
fields := map[string]interface{}{
|
fields := map[string]interface{}{
|
||||||
"cpu": statistics.CPU[t].Y,
|
"cpu": statistics.CPU[t].Y,
|
||||||
"load": float64(statistics.CPU[t].Y),
|
"load": float64(statistics.CPU[t].Y / 100),
|
||||||
"ram": statistics.RAM[t].Y,
|
"ram": statistics.RAM[t].Y,
|
||||||
//hier fehlen noch die interfaces
|
//hier fehlen noch die interfaces
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user