Hi,

Not sure if you ever solved your problem but I think you are missing
the following config stanza from gmond.conf for the gmond that is
receiving the sFlow packets.

sflow {
  accept_vm_metrics = yes
}

I'm just trying this out myself for the first time and see the VM
metrics appear when gmond is run in debug mode but there is no trace
of them in the XML output.

$ gmond -d 2
...
saving metadata for metric: infsrcprv10.vdisk_capacity host: smc02
***Allocating value packet for host--(null)-- and metric
--infsrcprv10.vdisk_capacity-- ****
...

I would guess that something is going wrong when decoding the sFlow
packets because a host of "(null)" can't possibly work.

Has anyone else go this working?

Regards,
Nick

PS. I'm running ganglia agent version 3.5.0 and host sFlow agent version 1.22.2.


On Wed, Jan 2, 2013 at 5:45 PM, Duverne, Cyrille
<cyrille.duve...@euranova.eu> wrote:
> Hello,
>
> I have a cluster of 4 machines, running Ubuntu 12.04 x86_64, sFlow and
> Ganglia, here below the config I've set up :
>
> Master instance : /etc/gmond.conf :
>
> /* Feel free to specify as many udp_send_channels as you like.  Gmond
>    used to only support having a single channel */
> udp_send_channel {
>   mcast_join = inferno.local
> /*mcast_join = 139.2.11.71 DEFAULT VALUE*/
>   port = 8649
>   ttl = 1
> }
>
> /* You can specify as many udp_recv_channels as you like as well. */
> udp_recv_channel {
>  /* mcast_join = 239.2.11.71 DEFAULT VALUE*/
>   port = 8649
>  /* bind = 239.2.11.71 DEFAULT VALUE*/
>   family = inet4
> }
>
> /* channel to receive sFlow */
> /* 6343 is the default sFlow port, an explicit sFlow    */
> /* configuration section is needed to override default  */
> udp_recv_channel {
>   port = 6343
> }
>
> /* You can specify as many tcp_accept_channels as you like to share
>    an xml description of the state of the cluster */
> tcp_accept_channel {
>   port = 8649
> }
>
> Cluster machines :
>
> /etc/hsflowd.conf
>
> sflow {
>  DNSSD = off
>  polling = 20
>  sampling = 512
>  collector {
>     ip = 192.168.0.100
>     udpport = 6343
>   }
> }
>
> /etc/gmond.conf :
>
> /* Feel free to specify as many udp_send_channels as you like.  Gmond
>    used to only support having a single channel */
> udp_send_channel {
>   mcast_join = inferno.local
>   port = 8649
>   ttl = 1
> }
>
> /* You can specify as many udp_recv_channels as you like as well. */
> udp_recv_channel {
>   port = 8649
>   family = inet4
> }
>
> /* channel to receive sFlow */
> /* 6343 is the default sFlow port, an explicit sFlow    */
> /* configuration section is needed to override default  */
> udp_recv_channel {
>   port = 6343
> }
>
> /* You can specify as many tcp_accept_channels as you like to share
>    an xml description of the state of the cluster */
> tcp_accept_channel {
>   port = 8649
> }
>
> I can't see any stats of the VM running on those hosts in Gnaglia web
> interface... Hosts are correctly monitored.
>
> What's wrong in this ?
> Thanks a lot for your help.
>
> Cheers
> Cyrille
>
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>



-- 
gpg: using PGP trust model
pub   4096R/1EE38BD9 2013-01-06 [expires: 2018-01-06]
      Key fingerprint = 3EE9 550D D9D8 DB65 58C2  B58D CE78 EC6C 1EE3 8BD9
uid                  Nicholas Satterly (Debian Key) <nfsatte...@gmail.com>
sub   4096R/23804EE9 2013-01-06 [expires: 2018-01-06]

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to