[pve-devel] API - Read VM RRD statistics

Christian Bourque christian.bourque at gmail.com
Thu Nov 17 19:17:02 CET 2011


It doesn't seem to work, I always get: "Parameter verification failed"!

On Thu, Nov 17, 2011 at 12:15 AM, Christian Bourque <
christian.bourque at gmail.com> wrote:

> Cool thanks!
>
>
> On Thu, Nov 17, 2011 at 12:05 AM, Dietmar Maurer <dietmar at proxmox.com>wrote:
>
>> > I'm currently working on an Android app for Proxmox 2.0 and I'm trying
>> to read
>> > the rrd statistics of a virtual machine but I don't understand one of
>> the
>> > parameter I have to specify: "ds" (This list of datasources you want to
>> display).
>> >
>> > Is there a list of the possible values available somewhere?
>>
>> see pve-cluster/data/src/status.c
>>
>> for example the vm rrd file contains:
>>
>> static const char *rrd_def_vm[] = {
>>        "DS:maxcpu:GAUGE:120:0:U",
>>        "DS:cpu:GAUGE:120:0:U",
>>        "DS:maxmem:GAUGE:120:0:U",
>>        "DS:mem:GAUGE:120:0:U",
>>        "DS:maxdisk:GAUGE:120:0:U",
>>        "DS:disk:GAUGE:120:0:U",
>>        "DS:netin:COUNTER:120:0:U",
>>        "DS:netout:COUNTER:120:0:U",
>>        "DS:diskread:COUNTER:120:0:U",
>>        "DS:diskwrite:COUNTER:120:0:U",
>>
>> ...
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20111117/684d0c69/attachment.htm>


More information about the pve-devel mailing list