Hi,
I am querying the rrddata for a specific vm:
generally it works fine, however sometimes it ends with a single time response in the whole array:
What is the reason why this happens? I tried to find a relation to it, but it seems completely random, however if it happens it is always the last one.
thanks Martin
I am querying the rrddata for a specific vm:
"https://$APINODE:8006/api2/json/nodes/$TARGETNODE/qemu/122/rrddata?timeframe=hour&cf=MAX" |jq
generally it works fine, however sometimes it ends with a single time response in the whole array:
Code:
{
"disk": 0,
"maxmem": 2147483648,
"maxcpu": 1,
"diskread": 0,
"maxdisk": 34359738368,
"netout": 0,
"mem": 1219237106,
"netin": 0,
"time": 1754050980,
"diskwrite": 0,
"cpu": 0.0125752520266843
},
{
"diskread": 0,
"maxcpu": 1,
"maxmem": 2147483648,
"disk": 0,
"netin": 0,
"mem": 1219237106,
"cpu": 0.0126159918156209,
"diskwrite": 0,
"time": 1754051040,
"netout": 0,
"maxdisk": 34359738368
},
{
"time": 1754051100
}
]
}
thanks Martin
Last edited: