Node resource data.

janzun

New Member
Mar 19, 2011
28
0
1
Spain
Hi everybody,

First of all thank you for your great work. Im implementing it in labs environment with ten VT servers and ZFS deduplication across NFS (NexentaStorm) and its a really good choice.

Im developing a very simple and dirty php/ldap user interface while waiting for PVE 2. My first idea was modify perl native code, but its very hard to change it without any doc about it. It'd be also hard to support it across pve updates, so i decided to go in a non-intrusive way.

Anyway, i have a doubt about taking node resource data. From VMs, im parsing "/var/lib/pve-manager/vzlist" file, so pvecluster does the work for my and dont need to waste time and resources checking node by node over SSH loops, but i dont found or i dont know if there is a "vzlist like file", or a simple Perl work around.

Any idea?

Regars,

Jesús Feliz Fernández.
 
I know dietmar, thank you for your fast reply. But im looking for information about resource usage in each node or in whole cluster (cpu and ram free/used), like vzlist file does for individual VMs and like you can see in home web interface.

Is there any place where i can take this data without checking online with ssh loops each time?