This commit is contained in:
parent
75c24e389b
commit
bada54bd1d
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": statistics.CPU[t].Y,
|
"load": float64(statistics.CPU[t].Y),
|
||||||
"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