Hello All, I checked changes into the trunk to update the sFlow module to accept VM, JavaVM, HTTP and Memcache metrics.
The metrics are all collated under the physical host, using a metric-name-prefix to separate multiple instances (a departure from the way we did it before). In the case of hosted VMs, the prefix is always the VM name, so if you run hsflowd on a XenServer then below the hypervisor metrics you will see the VM metrics appear like this: Domain-0 : CPU Utilization Vyatta: CPU Utilization xenvm2: CPU Utilization ... For HTTP, Memcache and JavaVM the prefix is off by default, so if you run mod-sflow you will see: HTTP Method GET HTTP Method POST ... But if you have multiple instances, and your gmond.conf file has this: udp_recv_channel { port = 6343 } sflow { multiple_http_instances = yes multiple_memcache_instances = yes multiple_jvm_instances = yes } Then the prefix will be the service port that each daemon is listening on. For example: 80: HTTP Method GET 80: HTTP Method POST ... 8082: HTTP Method GET 8082: HTTP Method POST or: 11211: Memcache Get Hits 11211: Memcache Get Misses ... 11212: Memcache Get Hits 11212: Memcache Get Misses For JavaVMs the sFlow agent often supplies a node-name, so those metrics will use that as the prefix: jvm1: JVM GC mS jvm1: JVM Heap Used .... jvm2: JVM GC mS jvm2: JVM Heap Used .... The best place to go for open-source agents is: http://host-sflow.sourceforge.net/relatedlinks.php Where there are links to agents for Apache, NGINX, tomcat, node.js, memcached and Java (and of course hsflowd for Linux, FreeBSD and Windows). The sFlow specs are published on sflow.org: http://sflow.org/developers/specifications.php Please test and let me know how it goes. Neil ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers