esx and cacti 0.8.6k values problem

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
polak92
Posts: 14
Joined: Mon Sep 17, 2007 6:38 am

esx and cacti 0.8.6k values problem

Post by polak92 »

hi,

i just install a new cacti 0.8.6k to monitor the new esx infrastructure at work.

i ve found the last template for cacti 0.8.6j to get value per vm on this forum.

everything works great except the NIC traffic.
i have inexpectedly high value, even if it is in bits and not in bytes as i want, i have try to use CDEF but it doesn't give me good result too.

is anybody have the same issue or everything work great exept for me. :(
i ve try different version of cacti and the same result is given by the template.

as you can see i have 117.22G of traffic ?!?
Attachments
here is the problem
here is the problem
VM.traffic.cacti.PNG (18.49 KiB) Viewed 1456 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit this graph at graph management, switch to debug and post results
Reinhard
polak92
Posts: 14
Joined: Mon Sep 17, 2007 6:38 am

Post by polak92 »

this is the result of debug command

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="XXX - VM Traffic - XXX - WAN / XXX" \
--rigid \
--base=1000 \
--height=150 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/share/cacti/rra/XXX_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/XXX_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8192,* \
CDEF:cdefe=b,1024,* \
CDEF:cdeff=b,8192,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In\:  4.3 GB\n"  \
LINE1:cdeff#002A97:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\:  4.3 GB" 

RRDTool Says:

OK

thanks for helping :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Wow, the CDEFs are quite unusual
CDEF:cdefa=a,8192,* \
CDEF:cdefe=b,1024,* \
CDEF:cdeff=b,8192,* \
Traffic is measured in Bytes, so if you want to graph bits, multiply by 8. But those CDEFs multiply by 8192 and 1024, respectively. So please review the Fraph Template and make sure to associate the correct CDEFs. Then, visit the CDEFs (select Graph Management, then CDEFs) to verify that they are built correctly
Reinhard
fredy
Posts: 8
Joined: Tue Jul 01, 2008 8:57 am

Post by fredy »

Well. I am having the same problem this has been unsolved until now.
The problem happends mainly when you reboots a Virtual Machine, so those peaks that you can see are generated during the boot time.

Anyone has any update about it or solved the problem.
I thought to put a limitation of maximum amount of data like 100Mbit/s but it doesn't solve the problem. I was not able yet to understand what kind of data cacti gets from ESX during the boot to generate those outstanding values.

Anyone can help.

Thanks

Fredy
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest