graph does not show any data

10 views
Skip to first unread message

tmss

unread,
Apr 14, 2008, 11:21:44 PM4/14/08
to vmktree
Hi Lars,
I installed fedora 8 as guest os. And I run the vmktree in web
browser. I wait upto 10 min , there is no data shown in the vmktree
graph. Then i uninstall the vmktree again i re -install it.
But i face the same problem .can u help me for what i to do?

lar...@colargol.tihlde.org

unread,
Apr 15, 2008, 6:53:47 AM4/15/08
to vmk...@googlegroups.com
Hi tmss,
- What's your host os? Did you install from tar ball or rpm?
- Any non standard characters in the VMs name?
- Are host stats working?

Lars

tmss

unread,
Apr 15, 2008, 7:02:39 AM4/15/08
to vmktree


>
> Hi tmss,
> - What's your host os? Did you install from tar ball or rpm?
> - Any non standard characters in the VMs name?
> - Are host stats working?
>
> Lars

Hi Lars
I use Vmware server 1.0.4 My host os is Fedora8. Using tar ball to
install the vmktree. Host stats also not working.
I give the virtual machine name is Fedora8. In this name any problem
is there...

Thanks
tmss

lar...@colargol.tihlde.org

unread,
Apr 15, 2008, 7:47:34 AM4/15/08
to vmk...@googlegroups.com
tmss,
- Any errors in /var/log showing up regarding anything related to cron and
vmktree-collector?
- Is SElinux enabled? Does it make any difference if you disable it?
- Anything happening if you run vmktree-collector from the command line
as root?
- Is /var/lib/vmktree being populated with subdirs and data?

As a side note I wouldn't really recommend Fedora 8 for running VMware
Server, since Fedora is known to have many strange issues, but that is
to be expected from a beta product (Fedora is after all the beta
playground of RHEL).

Good luck!

Lars

On Tue, Apr 15, 2008 at 04:02:39AM -0700, tmss wrote:
> I use Vmware server 1.0.4 My host os is Fedora8. Using tar ball to
> install the vmktree. Host stats also not working.
> I give the virtual machine name is Fedora8. In this name any problem
> is there...
>
> Thanks
> tmss
>
>

--

tmss

unread,
Apr 15, 2008, 8:34:52 AM4/15/08
to vmktree

Hi Lars
In /var/log there are 5 cron files are there.For each file
inside many data available for example "CROND[5291]: (root) CMD (/usr/
bin/vmktree-collector >/dev/null 2>&1)".
if i run vmktree-collector in cmd line there is no error (or)
message shown.
Inside /var/lib/vmktree contains the subdir are sys,vm,vnet.

I already run the vmktree in same host(Fc8). Now only the problem
raise.

Thanks
tmss

lar...@colargol.tihlde.org

unread,
Apr 15, 2008, 9:21:50 AM4/15/08
to vmk...@googlegroups.com
tmss,
By having no messages while running vmktree-collector it normally means
that everything went well.

- Do you see any .rrd files inside sys, vm & net?
find /var/lib/vmktree|grep rrd
- Are these files having a recent time stamp? (should get updated every
minute)
stat <rrdfile>


- Is SElinux enabled? Does it make any difference if you disable it?

http://sysdigg.blogspot.com/2008/02/how-to-disable-selinux-in-fedora-8.html
- No full file systems?
df -h
- ps working fine?
ps ax|grep -e vmware-vmx

Lars

--

tmss

unread,
Apr 15, 2008, 10:41:44 PM4/15/08
to vmktree
Hi Lars
1. The rrd files are found inside the sys,vm,net folder.
using stat rrd the result will be shown like this
# stat mem.rrd

File: `mem.rrd'
Size: 707064 Blocks: 1392 IO Block: 4096 regular
file
Device: fd00h/64768d Inode: 1439030 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/
root)
Access: 2008-04-15 13:33:57.000000000 +0530
Modify: 2008-04-15 13:33:47.000000000 +0530
Change: 2008-04-15 13:33:47.000000000 +0530

# stat system.rrd

File: `system.rrd'
Size: 152048 Blocks: 312 IO Block: 4096 regular
file
Device: fd00h/64768d Inode: 1439035 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/
root)
Access: 2008-04-15 13:33:57.000000000 +0530
Modify: 2008-04-15 13:33:47.000000000 +0530
Change: 2008-04-15 13:33:47.000000000 +0530


2. if i give the following cmd the result will be appear like this.
# ps ax|grep -e vmware-vmx
2829 ? S<sl 1:20 /usr/lib/vmware/bin/vmware-vmx -C /root/
Fedora8/Fedora8.vmx -@ ""
2939 pts/1 S+ 0:00 grep -e vmware-vmx

lar...@colargol.tihlde.org

unread,
Apr 16, 2008, 3:07:19 AM4/16/08
to vmk...@googlegroups.com
On Tue, Apr 15, 2008 at 07:41:44PM -0700, tmss wrote:
> Change: 2008-04-15 13:33:47.000000000 +0530

If the clock was 13:33 or 13:34 at your host while you ran the stat command it
seems like the data is being collected successfully.

Your ps command is also good and it shows the guest VM running. Did you
find out anything about SElinux (also from the link I gave you)?

So the problem might also be in the showing of the data. If you do the
command: sudo -u nobody perl /usr/lib/vmware-mui/apache/cgi-bin/vmk/cpu
and then press ctrl+d after the message "(offline mode: enter name=value
pairs on standard input)"

You will here get a short output that should normally refer to an image
file like this:
<img class=imgclass src='/vmktree/tmp/174.105434752168.png'
usemap="#cpu" title="Wed Apr 16 05:13:14 2008-Wed Apr 16 08:12:14 2008">

Now it should have generated a graph in the directory
/usr/lib/vmware-mui/apache/htdocs/vmktree/tmp

If the nobody user has write rights into this tmp dir, you should find
the image file there.

Good luck!

Lars

Reply all
Reply to author
Forward
0 new messages