From user-return-4896-apmail-flume-user-archive=flume.apache.org@flume.apache.org Fri Nov 1 06:34:09 2013 Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F3D510E10 for ; Fri, 1 Nov 2013 06:34:09 +0000 (UTC) Received: (qmail 13510 invoked by uid 500); 1 Nov 2013 06:34:08 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 13468 invoked by uid 500); 1 Nov 2013 06:34:03 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 13459 invoked by uid 99); 1 Nov 2013 06:34:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 06:34:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justlooks@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 06:33:56 +0000 Received: by mail-wg0-f54.google.com with SMTP id c11so3664658wgh.33 for ; Thu, 31 Oct 2013 23:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=llelqV4viYyFWqjoUqECF4L+bvL9Da/8msMgAHOi2r8=; b=qRILcUoTsuW0CeX2XSlPlrNmRJY7Z9P9y+4+KRfvsKDmAToNIbG4gTprukekjDB59p 4pD/pT/tyO5aWrJzHcDGDeZUJYXxJvrjbWyIZDW4Ro6eYZtXZUbNLDDKESrDJ0Pniqr5 E9p39QnClQ1YgSdkkLD4ppaUaky63VTJ1izaC1mmOv5CvcxVb+J12BKylhu5bAx397Qr EHqGprY2TQxi9Pso5fou6HuvVwLmv3pD4mrkYp7F1mH7Yj+q1VeBWYxLIAS/wqDmRF1G +dPO1hNJ65Qli98CcNnFdgWxODYJke8UpD9Kk2RJxxX8zvjbMksF1HNtns+xTTv/hdk9 kLSA== MIME-Version: 1.0 X-Received: by 10.195.13.164 with SMTP id ez4mr1141771wjd.11.1383287615580; Thu, 31 Oct 2013 23:33:35 -0700 (PDT) Received: by 10.227.105.129 with HTTP; Thu, 31 Oct 2013 23:33:35 -0700 (PDT) Date: Fri, 1 Nov 2013 14:33:35 +0800 Message-ID: Subject: how can i monitor flume though ganglia? From: ch huang To: user@flume.apache.org Content-Type: multipart/alternative; boundary=047d7bb04f68f2f25604ea17bef8 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb04f68f2f25604ea17bef8 Content-Type: text/plain; charset=ISO-8859-1 hi,all: i read the flume user manual,it says "Flume can also report these metrics to Ganglia 3 or Ganglia 3.1 metanodes." i have hadoop cluster (192.168.11.11/12/13/14/15) ,and ganglia gmetad installed in 192.168.11.142,also a flume agent installed in 192.168.11.12, and i am confused about the host which flume should report ,should i write this in flume-env.sh? JAVA_OPTS="-Xms100m -Xmx200m -Dcom.sun.management.jmxremote -Dflume.monitoring.type=ganglia -Dflume.monitoring.hosts=192.168.11.142:8651 # ps -ef|grep gmeta root 11365 1739 0 14:27 pts/3 00:00:00 grep gmeta nobody 23108 1 6 Oct24 ? 13:16:40 /usr/sbin/gmetad # netstat -utlpn|grep 23108 tcp 0 0 0.0.0.0:8651 0.0.0.0:* LISTEN 23108/gmetad tcp 0 0 0.0.0.0:8652 0.0.0.0:* LISTEN 23108/gmetad --047d7bb04f68f2f25604ea17bef8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hi,all:
=A0=A0=A0=A0=A0=A0 i read the flume user manual,it says "Flume can also report these metrics to Ganglia 3 or Ganglia 3.1 metano= des."
=A0
i have hadoop cluster (192.168.11.11/12/13/14/15) ,and ganglia gmetad installed in = 192.168.11.142,also a flume agent installed in 192.168.11.12,=A0and i am co= nfused about the host which flume should report=A0,should i write this in f= lume-env.sh?
=A0
JAVA_OPTS=3D"-Xms100m -Xmx200m -Dcom.sun.management.= jmxremote -Dflume.monitoring.type=3Dganglia -Dflume.monitoring.hosts=3D192.168.11.142:8651
=A0
# ps -ef|grep gmeta
root=A0=A0=A0=A0 11365=A0 1739=A0 0 14:27 pts/3=A0=A0=A0 00:00:00 grep gmet= a
nobody=A0=A0 23108=A0=A0=A0=A0 1=A0 6 Oct24 ?=A0=A0=A0=A0=A0=A0=A0 13:= 16:40 /usr/sbin/gmetad
# netstat -utlpn|grep 23108
tcp=A0=A0=A0=A0=A0= =A0=A0 0=A0=A0=A0=A0=A0 0 0.0.0.0:8651= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.0.0.0:*=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LISTEN=A0=A0=A0=A0=A0 23108/gmetad
tcp=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0 0.0.0.0:8652=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0.0.0.0:*=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LISTEN=A0=A0=A0=A0=A0 2= 3108/gmetad
=A0
--047d7bb04f68f2f25604ea17bef8--