Re: [one-users] ganglia integration and base64 errors
Since version 3.8 the output of poll pushed to ganglia is compressed using zlib before being encoded in base 64. On Fri, Dec 28, 2012 at 12:27 PM, samuel sam...@gmail.com wrote: Hi folks, We've started playing in the integration of opennebula (3.8) and ganglia and we faced an issue in the decoding section. when we launch the poll command, we got the following output: -bash-4.1$ $HOME/var/remotes/vmm/kvm/poll --kvm eJx1jUsKwzAMBfc+hfDewZKMJfs2pvXSSUkcaG/fJG2hH7p8b2DGOQdmGqvDkMEA5HWp51bbNN8ykE8pIe33WPt8zcDeK6vfn6WXXjOUJ+0bJRbVY5e2oYf2JT1d1gwWwxDsEVT+DWIUEcL4VsRNyiiCf5ohKQX8qip/VkmHaM0do/I9ug== and when we try to decode it, there's no human-readable information: -bash-4.1$ $HOME/var/remotes/vmm/kvm/poll --kvm | base64 -d x�u� �0 ��}�b�%��eo 4ˤҦ�oo[ ,���p�5�� m] �֥\k���H�F� �1�Gޗ��^ �w�[E�|^mM0X7���~A b�h×h ŋ#�c:�Dg���PO��=�-bash-4.1$ Can anyone point where the error can be located? Thanks in advance, Samuel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] ganglia integration and base64 errors
Hi folks, We've started playing in the integration of opennebula (3.8) and ganglia and we faced an issue in the decoding section. when we launch the poll command, we got the following output: -bash-4.1$ $HOME/var/remotes/vmm/kvm/poll --kvm eJx1jUsKwzAMBfc+hfDewZKMJfs2pvXSSUkcaG/fJG2hH7p8b2DGOQdmGqvDkMEA5HWp51bbNN8ykE8pIe33WPt8zcDeK6vfn6WXXjOUJ+0bJRbVY5e2oYf2JT1d1gwWwxDsEVT+DWIUEcL4VsRNyiiCf5ohKQX8qip/VkmHaM0do/I9ug== and when we try to decode it, there's no human-readable information: -bash-4.1$ $HOME/var/remotes/vmm/kvm/poll --kvm | base64 -d x�u� �0��}�b�%��eo4ˤҦ�oo[,���p�5��m]�֥\k���H�F��1�Gޗ��^�w�[E�|^mM0X7���~Ab�h×hŋ#�c: �Dg���PO��=�-bash-4.1$ Can anyone point where the error can be located? Thanks in advance, Samuel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ganglia integration
Hello Olivier, Thanks for this feedback. My request wasn't clear enough, I already monitor my hosts and I see the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know how to use it to provide graphs on the VM usage. Will the VM information be displayed in Sunstone ? In Ganglia ? Any help is welcome on this. Cheers Cyrille Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit: Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit : Dear mailing-list, (these days it's like saying dear Santa, :) ) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Ganglia does not provide graphics for the VMs with opennebula. VM information are stored in a variable accessible for each host with name OPENNEBULA_VMS_INFORMATION (base64 encoded). Then opennebula will trigger ganglia to get the status of the VMs running on this host. OpenNebula uses Ganglia to extract the information, and not the contrary If you want to monitor your host with Ganglia you can use standard metrics provided by gmetric (cpu,ram,) Olivier Thanks in advance for your feedback Cheers Cyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ganglia integration
Le 12/14/12 9:32 AM, Duverne, Cyrille a écrit : Hello Olivier, Thanks for this feedback. My request wasn't clear enough, I already monitor my hosts and I see the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know how to use it to provide graphs on the VM usage. Will the VM information be displayed in Sunstone ? In Ganglia ? OPENNEBULA-VMS-INFORMATION provides global VM status information to opennebula. Some graphs are available in Sunstone to monitor the VM help with this data (when you click on your vm in suntone) If you want Ganglia monitoring of your VM, you have to setup gmond in the VM itself. Olivier Any help is welcome on this. Cheers Cyrille Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit: Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit : Dear mailing-list, (these days it's like saying dear Santa, :) ) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Ganglia does not provide graphics for the VMs with opennebula. VM information are stored in a variable accessible for each host with name OPENNEBULA_VMS_INFORMATION (base64 encoded). Then opennebula will trigger ganglia to get the status of the VMs running on this host. OpenNebula uses Ganglia to extract the information, and not the contrary If you want to monitor your host with Ganglia you can use standard metrics provided by gmetric (cpu,ram,...) Olivier Thanks in advance for your feedback Cheers Cyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ganglia integration
Hello World, On Friday, December 14, 2012, Olivier Sallou wrote: Le 12/14/12 9:32 AM, Duverne, Cyrille a écrit : Hello Olivier, Thanks for this feedback. My request wasn't clear enough, I already monitor my hosts and I see the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know how to use it to provide graphs on the VM usage. Will the VM information be displayed in Sunstone ? In Ganglia ? OPENNEBULA-VMS-INFORMATION provides global VM status information to opennebula. Some graphs are available in Sunstone to monitor the VM help with this data (when you click on your vm in suntone) If you want Ganglia monitoring of your VM, you have to setup gmond in the VM itself. Or one can use Host sFlow [1] to gather CPU, RAM and network statistics. There is a blog post [2] describing the installation procedure. Works with Ganglia 3.2+. If you need other metrics you'd have to install gmond inside the VM. Enjoy. [1]: http://host-sflow.sourceforge.net/ [2]: http://blog.sflow.com/2012/01/using-ganglia-to-monitor-virtual.html v Olivier Any help is welcome on this. Cheers Cyrille Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit: Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit : Dear mailing-list, (these days it's like saying dear Santa, [image: :)]) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Ganglia does not provide graphics for the VMs with opennebula. VM information are stored in a variable accessible for each host with name OPENNEBULA_VMS_INFORMATION (base64 encoded). Then opennebula will trigger ganglia to get the status of the VMs running on this host. OpenNebula uses Ganglia to extract the information, and not the contrary If you want to monitor your host with Ganglia you can use standard metrics provided by gmetric (cpu,ram,...) Olivier Thanks in advance for your feedback Cheers Cyrille ___ Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ganglia integration
Hello Valentin, Olivier, The sFlow seems to be exactly what I'm looking for, i'll launch an implementation and keep you posted of the result. Thanks a lot. Cyrille Vendredi 14/12/2012 à 11:25 Valentin Bud a écrit: Hello World, On Friday, December 14, 2012, Olivier Sallou wrote: Le 12/14/12 9:32 AM, Duverne, Cyrille a écrit : Hello Olivier, Thanks for this feedback. My request wasn't clear enough, I already monitor my hosts and I see the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know how to use it to provide graphs on the VM usage. Will the VM information be displayed in Sunstone ? In Ganglia ? OPENNEBULA-VMS-INFORMATION provides global VM status information to opennebula. Some graphs are available in Sunstone to monitor the VM help with this data (when you click on your vm in suntone) If you want Ganglia monitoring of your VM, you have to setup gmond in the VM itself. Or one can use Host sFlow [1] to gather CPU, RAM and network statistics. There is a blog post [2] describing the installation procedure. Works with Ganglia 3.2+. If you need other metrics you'd have to install gmond inside the VM. Enjoy. [1]: http://host-sflow.sourceforge.net/ [2]: http://blog.sflow.com/2012/01/using-ganglia-to-monitor-virtual.html v Olivier Any help is welcome on this. Cheers Cyrille Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit: Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit : Dear mailing-list, (these days it's like saying dear Santa, :) ) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Ganglia does not provide graphics for the VMs with opennebula. VM information are stored in a variable accessible for each host with name OPENNEBULA_VMS_INFORMATION (base64 encoded). Then opennebula will trigger ganglia to get the status of the VMs running on this host. OpenNebula uses Ganglia to extract the information, and not the contrary If you want to monitor your host with Ganglia you can use standard metrics provided by gmetric (cpu,ram,) Olivier Thanks in advance for your feedback Cheers Cyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org [1]) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org [1]) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 Links: -- [1] http://keyring.debian.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Ganglia integration
Dear mailing-list, (these days it's like saying dear Santa, :) ) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Thanks in advance for your feedback Cheers Cyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ganglia integration
Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit : Dear mailing-list, (these days it's like saying dear Santa, :) ) I've set up a ganglia environment in my lab and can see the monitoring information for my hosts. I've followed the manual about ganglia integration and updated the nodes, updated oned.conf, created the cron as follow : */1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string -v `/var/lib/one/remotes/vmm/kvm/poll --kvm` I've updated the probe file to point to my central ganglia server. But I can't see anything on Ganglia web. I might be missing something on the ganglia server side... but what ? Where are the VM information defines for Ganglia to display them ? Ganglia does not provide graphics for the VMs with opennebula. VM information are stored in a variable accessible for each host with name OPENNEBULA_VMS_INFORMATION (base64 encoded). Then opennebula will trigger ganglia to get the status of the VMs running on this host. OpenNebula uses Ganglia to extract the information, and not the contrary If you want to monitor your host with Ganglia you can use standard metrics provided by gmetric (cpu,ram,...) Olivier Thanks in advance for your feedback Cheers Cyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org