You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by ch huang <ju...@gmail.com> on 2013/11/26 01:49:40 UTC

issue about flume monitor

hi,maillist:
              i want to write a nagios  plugin  for flume monitor and
alert,the script need get input from the command "
 curl http://myip:http_port/metrics ,so the flume need enable http monitor
use option "
 -Dflume.monitoring.type=http" ,but i already enable ganglia monitor ,use
option "-Dflume.monitoring.type=ganglia", my question is how can i get
input for nagios plugin,and the same time,i need not stop my ganglia
monitor,apology for poor expression!

Re: issue about flume monitor

Posted by Brock Noland <br...@cloudera.com>.
Agreed...and if you want to make the change permanent you can file a
ticket here: https://issues.apache.org/jira/browse/FLUME

On Thu, Nov 28, 2013 at 5:24 AM, Shangan Chen <ch...@gmail.com> wrote:
> in Application.java change the implementation of loadMonitoring(), use
> multiple monitor service
>
>
> On Tue, Nov 26, 2013 at 1:17 PM, ch huang <ju...@gmail.com> wrote:
>>
>> yes,that's what i wanted
>>
>>
>> On Tue, Nov 26, 2013 at 11:50 AM, Brock Noland <br...@cloudera.com> wrote:
>>>
>>> It sounds like you want to run both the http and ganglia monitoring at
>>> the same time. Is that correct?
>>>
>>>
>>> On Monday, November 25, 2013, ch huang wrote:
>>>>
>>>> hi,maillist:
>>>>               i want to write a nagios  plugin  for flume monitor and
>>>> alert,the script need get input from the command "
>>>>  curl http://myip:http_port/metrics ,so the flume need enable http
>>>> monitor use option "
>>>>  -Dflume.monitoring.type=http" ,but i already enable ganglia monitor
>>>> ,use option "-Dflume.monitoring.type=ganglia", my question is how can i get
>>>> input for nagios plugin,and the same time,i need not stop my ganglia
>>>> monitor,apology for poor expression!
>>>
>>>
>>>
>>> --
>>> Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org
>>>
>>
>
>
>
> --
> have a good day!
> chenshang'an
>



-- 
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org

Re: issue about flume monitor

Posted by Shangan Chen <ch...@gmail.com>.
in Application.java change the implementation of loadMonitoring(), use
multiple monitor service


On Tue, Nov 26, 2013 at 1:17 PM, ch huang <ju...@gmail.com> wrote:

> yes,that's what i wanted
>
>
> On Tue, Nov 26, 2013 at 11:50 AM, Brock Noland <br...@cloudera.com> wrote:
>
>> It sounds like you want to run both the http and ganglia monitoring at
>> the same time. Is that correct?
>>
>>
>> On Monday, November 25, 2013, ch huang wrote:
>>
>>> hi,maillist:
>>>               i want to write a nagios  plugin  for flume monitor and
>>> alert,the script need get input from the command "
>>>  curl http://myip:http_port/metrics ,so the flume need enable http
>>> monitor use option "
>>>  -Dflume.monitoring.type=http" ,but i already enable ganglia monitor
>>> ,use option "-Dflume.monitoring.type=ganglia", my question is how can i get
>>> input for nagios plugin,and the same time,i need not stop my ganglia
>>> monitor,apology for poor expression!
>>>
>>
>>
>> --
>> Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org
>>
>>
>


-- 
have a good day!
chenshang'an

Re: issue about flume monitor

Posted by ch huang <ju...@gmail.com>.
yes,that's what i wanted

On Tue, Nov 26, 2013 at 11:50 AM, Brock Noland <br...@cloudera.com> wrote:

> It sounds like you want to run both the http and ganglia monitoring at the
> same time. Is that correct?
>
>
> On Monday, November 25, 2013, ch huang wrote:
>
>> hi,maillist:
>>               i want to write a nagios  plugin  for flume monitor and
>> alert,the script need get input from the command "
>>  curl http://myip:http_port/metrics ,so the flume need enable http
>> monitor use option "
>>  -Dflume.monitoring.type=http" ,but i already enable ganglia monitor
>> ,use option "-Dflume.monitoring.type=ganglia", my question is how can i get
>> input for nagios plugin,and the same time,i need not stop my ganglia
>> monitor,apology for poor expression!
>>
>
>
> --
> Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org
>
>

Re: issue about flume monitor

Posted by Brock Noland <br...@cloudera.com>.
It sounds like you want to run both the http and ganglia monitoring at the
same time. Is that correct?

On Monday, November 25, 2013, ch huang wrote:

> hi,maillist:
>               i want to write a nagios  plugin  for flume monitor and
> alert,the script need get input from the command "
>  curl http://myip:http_port/metrics ,so the flume need enable http
> monitor use option "
>  -Dflume.monitoring.type=http" ,but i already enable ganglia monitor ,use
> option "-Dflume.monitoring.type=ganglia", my question is how can i get
> input for nagios plugin,and the same time,i need not stop my ganglia
> monitor,apology for poor expression!
>


-- 
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org