RRDtool is Missing While install vmktree

7 views
Skip to first unread message

tmss

unread,
Mar 25, 2008, 2:42:42 AM3/25/08
to vmktree
Hi Lars
Already I installed vmware server1.0.4 and Management
Interface(MUI).
I followed the install procedure to install vmktree, By
give the command the following error occured.

[root@tms vmktree-server-0.1.2]# ./install.sh
RRDtool not found in /usr/bin/rrdtool.
vmktree depends on RRDtool. Install aborted.

[root@tms vmktree-server-0.1.2]#

What I do to overcome this?


Thanks
tmss

lar...@colargol.tihlde.org

unread,
Mar 25, 2008, 3:00:22 AM3/25/08
to vmk...@googlegroups.com
Hi tmss,
I believe rrdtool is already included in Fedora 8 so you should be able
to locate it in the Fedora Package Management system.

Lars

tmss

unread,
Mar 25, 2008, 5:51:54 AM3/25/08
to vmktree


Hi Lars
Now i installed RRDtool .and the vmktree is installed
successfully .
Its working fine....Thanks for giving the information.
Now I got the graphs for CPU and Memory usage . When i select
the real time cpu from side menu ,It shows two graphs
one graph titled as % CPU Busy,
In this graph two lines dropped and in the bottom specified
two cpu such as cpu0 and cpu1.
But i actually installed only one guest os as Windows XP.

another one graph title is Windows XP professional % CPU
Busy

Can You explain the graph informations for some example graphs.

can i write code (API) or edit existing code for display
the graph as per my requirements

Thanks
tmss

lar...@colargol.tihlde.org

unread,
Mar 25, 2008, 6:53:43 AM3/25/08
to vmk...@googlegroups.com

Hi tmss,
The left hand menu Top 25/cpu shows you one graph at teh top of the
systems total cpu load and below you will see your 25 VMs with the most
load, sorted by their load. Your physical cpu seems to have 2 cores
which is why you see cpu0 and cpu1 there. The "Real time cpu" graph is
very similar, except that it shows you a graph that is updated every 5
seconds. Since you have only 1 VM you will see those two graphs like you
describe.

You are free to modify things to your needs or write your own code for
your displaying needs. Note however that vmktree is currently being
rewritten in order to handle VMware Server 1 & 2 and also ESX Server and
a few other products. VMware Server support is not still available in
the beta, but will soon be.

Lars

--

tmss

unread,
Mar 25, 2008, 7:52:38 AM3/25/08
to vmktree

Hi Lars
In the "real time cpu" first graph as % CPU Busy,in that two
cpu (cpu0,cpu1)shows , how can i identify which one for host machine
and another one for guest os?.
and some data are displayed such as Max ,Min,and current value of
those cpu's. but in second graph data values are not match to the
first graph values(both cpus-> cpu0 and cpu1).

In which language the code was developed, can i make some
modification to the existing code and display the graph as my
requirement. .Actually want the to add and modify the labels and
legends of the graph.
And You previously specified that
>
>VMware Server support is not still available in
>the beta, but will soon be.
>

What it indicates that?



lar...@colargol.tihlde.org

unread,
Mar 25, 2008, 8:24:04 AM3/25/08
to vmk...@googlegroups.com
Hi tmss,

On Tue, Mar 25, 2008 at 04:52:38AM -0700, tmss wrote:
> In the "real time cpu" first graph as % CPU Busy,in that two
> cpu (cpu0,cpu1)shows , how can i identify which one for host machine
> and another one for guest os?.

Both cpu0 and cpu1 in the top graph belongs to the host and shows the
load of both your physical cpus or cores.

The graph(s) below that are numbered are showing the cpu load of your
virtual machines. As there is also other activity on the host, not
caused by virtual machines, the system load might differ from the load
seen generated by the virtual machines. This is fairly similar to what
you see by using the cmomand 'top' in the host os (or from vmktree).

> In which language the code was developed, can i make some
> modification to the existing code and display the graph as my
> requirement. .Actually want the to add and modify the labels and
> legends of the graph.

It's coded in perl and you can find it in
/usr/lib/vmware-mui/apache/cgi-bin/vmk/

> And You previously specified that
> >
> >VMware Server support is not still available in
> >the beta, but will soon be.
> >
>
> What it indicates that?

Not 100% sure what you're meaning by that, but I'm currently writing some new
code that will make VMware Server graphs available from the same vmktree
interface as ESX Server and some other products. This will make it
easier to maintain since we then don't need several branches of the software.

Lars

tmss

unread,
Mar 26, 2008, 1:12:15 AM3/26/08
to vmktree

Hi Lars
Thank you very much for guiding me.
I saw the perl code inside the /usr/lib...folder that contains some
text files and perl scripts. I am not familiar in perl language . I am
familiar with c and java .
My doubt is ,"can I use these language(c or java) to write code to
get the virtual machine performance details?". Please help me for
doing this.


Thanks
tmss

lar...@colargol.tihlde.org

unread,
Mar 26, 2008, 2:38:15 AM3/26/08
to vmk...@googlegroups.com
Hi tmss,
You can use any language that supports rrd files (round robin databases)
to create graphs of your desire. Both C and Java is normally for
executing code at "client side", while vmktree is using perl (cgi) at
the server side. Doing it at the server side means I can get it to
create a web page when a page is requested through the web browser at
the client side. There are however also web servers that can execute
java at the server side (such as tomcat).

Please also read the docs found here:
http://oss.oetiker.ch/rrdtool/
https://rrd4j.dev.java.net/
http://osdir.com/ml/db.rrdtool.user/2003-09/msg00095.html

Good luck!

Lars

--

Message has been deleted

tmss

unread,
Mar 28, 2008, 5:42:30 AM3/28/08
to vmktree
hi Lars
you know any tools developed in java or c , similar to vmktree
for getting the performance details of virtual machine?


Thanks
tmss

lar...@colargol.tihlde.org

unread,
Mar 28, 2008, 7:09:02 AM3/28/08
to vmk...@googlegroups.com

As the Virtual Infrastructure Client is depending on the .NET framework
I would guess that it's developed in C#.

Similarly is the web based infrastructure client based on tomcat and written in
java.

The source code is however not available publicly for any of
these, but it shouldn't be that hard to write something from scratch if
you use the VI SDK:
http://www.vmware.com/support/developer/vc-sdk/

Lars

Message has been deleted

tmss

unread,
Mar 28, 2008, 7:50:45 AM3/28/08
to vmktree

Hi Lars
i forget to specify one thing. I saw the rrd4j link. which
is developed in java. will that link will be useful for me to plot
the graph for display the virtual machine performance ?. can i
download the source code,its free?.

Thanks
tmss
Reply all
Reply to author
Forward
0 new messages