My graph do show any more data

4 views
Skip to first unread message

zinda....@googlemail.com

unread,
Jun 26, 2008, 5:16:11 AM6/26/08
to vmktree
Hello,

I'm using vmktree 0.3.0 with 2 esx 3.5. I maked a test last week and
vmktree worked good. But today, i checked vmktree but nothing,actually
no, there are always my 2 esx with them vm's and the differents board
(cpu0,memory,disk...) but graph does not show any data .I don't know
why.

I'm using a debian. And I run the vmktree in web
browser.
inside /var/lib/vmktree contains the subdir are sys,vm,net and my esx
and vm's.

I need the help.

PS:sorry for my english, i'm french:)

lar...@colargol.tihlde.org

unread,
Jun 28, 2008, 8:31:54 AM6/28/08
to vmk...@googlegroups.com, zinda....@googlemail.com

Hi!
1. Are you able to login (using ssh) to your ESX server's Service Console from the
machine you installed vmktree on (with the user you specified when you
added the esx host)? ssh user@esx-server
2. If data collection fails the data collector will create a file
/var/lib/vmktree/sys/<your-esxservername>.txt
What is the content in the first few lines of this file?

Lars

--

zinda....@googlemail.com

unread,
Jun 28, 2008, 2:07:57 PM6/28/08
to vmktree
Hi,

1.Yes,i'm able to login (permitrootlogin=yes).It's ok for that.
2.what I did not understand is that vmktree recovers well data of my
esx and its vm but there is no data in my graphs.
The file /vm contains the vm of my esx (vm-esx1)
/sys file contains "memory.rrd, cpu0.rrd ...).

when I run the vmktree in web browser,i see my esx with vm's and the
differents graphs but no data...
it worked one time and then nothing.

Contact if you need more information.

Thank you for your response!!

zinda.
> --- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

lar...@colargol.tihlde.org

unread,
Jun 28, 2008, 3:01:42 PM6/28/08
to vmk...@googlegroups.com, zinda....@googlemail.com
zinda,
1. Have you added any VMs with "strange" characters in the name?

2. Do you get any error messages if you run the collector manually? You can
get the syntax with the command: cat /etc/cron.d/vmktree

The command will be something like:
/usr/bin/vmktree-esx3-collector esxname username

3. What distro are you using?

Lars

--

lar...@colargol.tihlde.org

unread,
Jul 1, 2008, 5:22:04 PM7/1/08
to zinda narvalo, vmk...@googlegroups.com
On Tue, Jul 01, 2008 at 05:24:09PM +0200, zinda narvalo wrote:
>
> Hi,

Hi zinda! Nice to hear from you again. :)

> I don't find the solution!!!!!
> when i run the collector manually. I obtain "vmktree-collector is already
> running"

The collector is invoked from /etc/cron.d/vmktree. You can comment out
a line there, wait a minute and try to run the collector manually again.

> I type in /sys/myesx : rrdtool dump x.rrd

You can also use rrdtool fetch to check this. Gives more readable output
about the latest values. :)

> My files "x.rrd" contains "nan=not a number".vmktree can't obtain the data
> from my esx but vmktree see all vm's.

You have graphs working for your virtual machines, but not your ESX
hosts?


> The distrib is not in cause because it worked one time and then nothing...

You might be right about that. Data is however stored at different
locations on different distros so it could possibly help in giving you
advices based on your distro.


Lars

zinda....@googlemail.com

unread,
Jul 2, 2008, 9:54:59 AM7/2/08
to vmktree
Hi Lars,

I become crazy:)

> The collector is invoked from /etc/cron.d/vmktree. You can comment out
> a line there, wait a minute and try to run the collector manually again

I acquire in the directory / sys: /esx with cpu0.rrd,
Hostmemory.rrd... esx.txt with the hardware information (pci device)
and root.txt

> You can also use rrdtool fetch to check this. Gives more readable output
> about the latest values. :)

rrdtool fetch cpu0.rrd (for exemple) AVERAGE :
...1215006240:nan nan nan
1215006300: nan nan nan
...

> You have graphs working for your virtual machines, but not your ESX
> hosts?

I had graphs working for vm's ans esx but then nothing.not for vm not
for esx

> You might be right about that. Data is however stored at different
> locations on different distros so it could possibly help in giving you
> advices based on your distro.

date is stored :/var/lib/vmktree/sys
/net
/vm
my distrib is linux 2.6.18-5-486 i686 GNU Linux.

I despair:)

lar...@colargol.tihlde.org

unread,
Jul 4, 2008, 4:09:19 AM7/4/08
to vmk...@googlegroups.com, zinda....@googlemail.com
On Wed, Jul 02, 2008 at 06:54:59AM -0700, zinda....@googlemail.com wrote:
>
> I acquire in the directory / sys: /esx with cpu0.rrd,
> Hostmemory.rrd... esx.txt with the hardware information (pci device)
> and root.txt
>

Did you try running the collector manually again after disabling the
collector in cron? Any error messages?

>
> rrdtool fetch cpu0.rrd (for exemple) AVERAGE :
> ...1215006240:nan nan nan
> 1215006300: nan nan nan
> ...

Looks like there are no updates.

> date is stored :/var/lib/vmktree/sys
> /net
> /vm
> my distrib is linux 2.6.18-5-486 i686 GNU Linux.

Almost sounds like youre using Debian 4.0 :)

Lars

Reply all
Reply to author
Forward
0 new messages