You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Lahiru Sandaruwan <la...@wso2.com> on 2013/11/19 19:09:54 UTC

Information received in Health stat topic

Hi Manula,

Can you please share the events that would be emitted from Event Processing
Engine to health stat topic?
I'm aware that LB statistic average, gradient, and second derivative are
there.

What about CPU load and memory consumption, will they be same values
like average, gradient, and second derivative?

Thanks.

-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Information received in Health stat topic

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi

On Fri, Nov 22, 2013 at 8:54 PM, Nirmal Fernando <ni...@gmail.com>wrote:

>
>
>
> On Fri, Nov 22, 2013 at 10:02 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:
>
>> Hi Manula,
>>
>> As part of sending the health of an VM to CEP, are we sending the health
>> of the process like whether it is up or not to CEP?
>>
> Yes, Manula is working on it.
>
> And plan is that CEP monitor for these events and if they didn't reach out
> for a fixed time of period, CEP would fire an alarm to auto-scaler.
>

+1.

>
>
>> This is obviously a fault handling scenario.
>>
>> @Lahiru
>>
>> Do we have a plan on how to handle this particular scenario? If we are to
>> send periodic updates from VM on it's process status like port up or not,
>> then we need to generalize the protocol to check the port rather than just
>> checking the http or https port's status only.
>>
>
> Yes, basically, any port you send via port.mapping should be monitored by
> the agent.
>
+1.  This what i have asked for. So, we have to change our agent to check
on any type of ports.

Thanks,
Reka



>> Thanks,
>> Reka
>>
>> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Thanks for the update. We can find used memory / total memory from the
>>>> health checker module and send those values to CEP. From CEP side we can
>>>> find avarage, gradient and second derivative of memory consumption.
>>>>
>>>
>>> Great, that would do.
>>>
>>> Thanks.
>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>>
>>>>>
>>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>>> percentage as it will give some nice numbers...
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>>> manulac@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Manula,
>>>>>>>>
>>>>>>>> Sorry for my late feedback.
>>>>>>>>
>>>>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>>>
>>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>>>> manulac@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>>> derivative.
>>>>>>>>>
>>>>>>>>> Events are,
>>>>>>>>>
>>>>>>>>> average-total-memory
>>>>>>>>> average-load-average
>>>>>>>>> average-used-memory
>>>>>>>>>
>>>>>>>>> gradient-total-memory
>>>>>>>>> gradient-load-average
>>>>>>>>> gradient-used-memory
>>>>>>>>>
>>>>>>>>> second-derivative-total-memory-stats
>>>>>>>>> second-derivative-used-memory-stats
>>>>>>>>> second-derivative-load-average-stats
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Manula,
>>>>>>>>>>
>>>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>>> derivative are there.
>>>>>>>>>>
>>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>>> Software Engineer,
>>>>>>>>>> Platform Technologies,
>>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>>> linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>
>>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>>> phone : +94 772492511
>>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Lahiru Sandaruwan
>>>>>>>> Software Engineer,
>>>>>>>> Platform Technologies,
>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Manula Chathurika Thantriwatte
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>> phone : +94 772492511
>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Software Engineer,
>>>>> Platform Technologies,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>> twitter: http://twitter.com/lahirus
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manula Chathurika Thantriwatte
>>>> Software Engineer
>>>> WSO2 Inc. : http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> email : manulac@wso2.com / manula@apache.org
>>>> phone : +94 772492511
>>>> blog : http://manulachathurika.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: Information received in Health stat topic

Posted by Nirmal Fernando <ni...@gmail.com>.
On Fri, Nov 22, 2013 at 10:02 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:

> Hi Manula,
>
> As part of sending the health of an VM to CEP, are we sending the health
> of the process like whether it is up or not to CEP?
>
Yes, Manula is working on it.

And plan is that CEP monitor for these events and if they didn't reach out
for a fixed time of period, CEP would fire an alarm to auto-scaler.


> This is obviously a fault handling scenario.
>
> @Lahiru
>
> Do we have a plan on how to handle this particular scenario? If we are to
> send periodic updates from VM on it's process status like port up or not,
> then we need to generalize the protocol to check the port rather than just
> checking the http or https port's status only.
>

Yes, basically, any port you send via port.mapping should be monitored by
the agent.

>
> Thanks,
> Reka
>
> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>>
>>
>>
>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Thanks for the update. We can find used memory / total memory from the
>>> health checker module and send those values to CEP. From CEP side we can
>>> find avarage, gradient and second derivative of memory consumption.
>>>
>>
>> Great, that would do.
>>
>> Thanks.
>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>
>>>>
>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>> percentage as it will give some nice numbers...
>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>>
>>>>>>> Manula,
>>>>>>>
>>>>>>> Sorry for my late feedback.
>>>>>>>
>>>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>>
>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>>> manulac@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>> derivative.
>>>>>>>>
>>>>>>>> Events are,
>>>>>>>>
>>>>>>>> average-total-memory
>>>>>>>> average-load-average
>>>>>>>> average-used-memory
>>>>>>>>
>>>>>>>> gradient-total-memory
>>>>>>>> gradient-load-average
>>>>>>>> gradient-used-memory
>>>>>>>>
>>>>>>>> second-derivative-total-memory-stats
>>>>>>>> second-derivative-used-memory-stats
>>>>>>>> second-derivative-load-average-stats
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Manula,
>>>>>>>>>
>>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>> derivative are there.
>>>>>>>>>
>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>> Software Engineer,
>>>>>>>>> Platform Technologies,
>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>
>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>>
>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>> phone : +94 772492511
>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Information received in Health stat topic

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Reka,

Please find my comments inline,


On Fri, Nov 22, 2013 at 10:02 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:

> Hi Manula,
>
> As part of sending the health of an VM to CEP, are we sending the health
> of the process like whether it is up or not to CEP? This is obviously a
> fault handling scenario.
>
> @Lahiru
>
> Do we have a plan on how to handle this particular scenario?
>

Yeah,

We have discussed this scenario. Agent will send a health check message to
CEP if the process is down.


> If we are to send periodic updates from VM on it's process status like
> port up or not, then we need to generalize the protocol to check the port
> rather than just checking the http or https port's status only.
>

Sorry. Didn't quite get you here. Do you mean that we should check both
http/ https ports? If so. yes we should.

Anything additional to check?

Thanks.



> Thanks,
> Reka
>
> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>>
>>
>>
>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Thanks for the update. We can find used memory / total memory from the
>>> health checker module and send those values to CEP. From CEP side we can
>>> find avarage, gradient and second derivative of memory consumption.
>>>
>>
>> Great, that would do.
>>
>> Thanks.
>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>
>>>>
>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>> percentage as it will give some nice numbers...
>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>>
>>>>>>> Manula,
>>>>>>>
>>>>>>> Sorry for my late feedback.
>>>>>>>
>>>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>>
>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>>> manulac@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>> derivative.
>>>>>>>>
>>>>>>>> Events are,
>>>>>>>>
>>>>>>>> average-total-memory
>>>>>>>> average-load-average
>>>>>>>> average-used-memory
>>>>>>>>
>>>>>>>> gradient-total-memory
>>>>>>>> gradient-load-average
>>>>>>>> gradient-used-memory
>>>>>>>>
>>>>>>>> second-derivative-total-memory-stats
>>>>>>>> second-derivative-used-memory-stats
>>>>>>>> second-derivative-load-average-stats
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Manula,
>>>>>>>>>
>>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>> derivative are there.
>>>>>>>>>
>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>> Software Engineer,
>>>>>>>>> Platform Technologies,
>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>
>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>>
>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>> phone : +94 772492511
>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Information received in Health stat topic

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Reka,

I'm currently implementing actions what needs to be done if a VM is down.
VM down in the sense if the agent does not send any response for a given
time period.

CEP check if a agent does not send any statistic for a 1 minutes. Then it
emits a MemberFault event to Auto Scaler. Then auto scaler tell CC to kill
that member and spawn another instance in the same partition the killed VM
was.

More fault handling scenarios will be implemented soon such as network of
agent down,VM up but application crashed...etc
Touched, not typed. Erroneous words are a feature, not a typo.

Re: Information received in Health stat topic

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi Luca,


On Fri, Nov 22, 2013 at 8:56 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Hi Luca,
>
>
> On Sat, Nov 23, 2013 at 6:55 AM, Luca Martini <lm...@cisco.com> wrote:
>
>> Reka,
>> I believe that we need health checking to be a separate function from the
>> load monitoring. We need to detect crashes and restarts. This function can
>> be handled by the same agent, but the architecture need to allow it to be
>> separate.
>>
>

> As Nirmal explained, then we can have the health monitoring as part of the
> agent as a separate functionality.
>

Thanks,
Reka

>  Luca
>>
>>
>> Reka Thirunavukkarasu <re...@wso2.com> wrote:
>>>
>>> Hi Manula,
>>>
>>> As part of sending the health of an VM to CEP, are we sending the health
>>> of the process like whether it is up or not to CEP? This is obviously a
>>> fault handling scenario.
>>>
>>> @Lahiru
>>>
>>> Do we have a plan on how to handle this particular scenario? If we are
>>> to send periodic updates from VM on it's process status like port up or
>>> not, then we need to generalize the protocol to check the port rather than
>>> just checking the http or https port's status only.
>>>
>>> Thanks,
>>> Reka
>>>
>>> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> Thanks for the update. We can find used memory / total memory from the
>>>>> health checker module and send those values to CEP. From CEP side we can
>>>>> find avarage, gradient and second derivative of memory consumption.
>>>>>
>>>>
>>>> Great, that would do.
>>>>
>>>> Thanks.
>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>>>> manulac@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>>>
>>>>>>
>>>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>>>> percentage as it will give some nice numbers...
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>>>> manulac@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Manula,
>>>>>>>>>
>>>>>>>>> Sorry for my late feedback.
>>>>>>>>>
>>>>>>>>> Is it possible to combine the Total memory and Used memory and
>>>>>>>>> send the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>>>>
>>>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>>>>> manulac@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>
>>>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>>>> derivative.
>>>>>>>>>>
>>>>>>>>>> Events are,
>>>>>>>>>>
>>>>>>>>>> average-total-memory
>>>>>>>>>> average-load-average
>>>>>>>>>> average-used-memory
>>>>>>>>>>
>>>>>>>>>> gradient-total-memory
>>>>>>>>>> gradient-load-average
>>>>>>>>>> gradient-used-memory
>>>>>>>>>>
>>>>>>>>>> second-derivative-total-memory-stats
>>>>>>>>>> second-derivative-used-memory-stats
>>>>>>>>>> second-derivative-load-average-stats
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Manula,
>>>>>>>>>>>
>>>>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>>>> derivative are there.
>>>>>>>>>>>
>>>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>>>> Software Engineer,
>>>>>>>>>>> Platform Technologies,
>>>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>
>>>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>>>> linked-in:
>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>  Regards,
>>>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>
>>>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>>>> phone : +94 772492511
>>>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>>
>>>
>> --
>> Sent from my Aphone with K-9 Mail. Please excuse my brevity.
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: Information received in Health stat topic

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Luca,


On Sat, Nov 23, 2013 at 6:55 AM, Luca Martini <lm...@cisco.com> wrote:

> Reka,
> I believe that we need health checking to be a separate function from the
> load monitoring. We need to detect crashes and restarts. This function can
> be handled by the same agent, but the architecture need to allow it to be
> separate.
>

Yes, the idea is to have separate modules for each functionality (load
monitoring, health status.. etc.) that Agent does.


> Luca
>
>
> Reka Thirunavukkarasu <re...@wso2.com> wrote:
>>
>> Hi Manula,
>>
>> As part of sending the health of an VM to CEP, are we sending the health
>> of the process like whether it is up or not to CEP? This is obviously a
>> fault handling scenario.
>>
>> @Lahiru
>>
>> Do we have a plan on how to handle this particular scenario? If we are to
>> send periodic updates from VM on it's process status like port up or not,
>> then we need to generalize the protocol to check the port rather than just
>> checking the http or https port's status only.
>>
>> Thanks,
>> Reka
>>
>> On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Thanks for the update. We can find used memory / total memory from the
>>>> health checker module and send those values to CEP. From CEP side we can
>>>> find avarage, gradient and second derivative of memory consumption.
>>>>
>>>
>>> Great, that would do.
>>>
>>> Thanks.
>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>>
>>>>>
>>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>>> percentage as it will give some nice numbers...
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>>> manulac@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Manula,
>>>>>>>>
>>>>>>>> Sorry for my late feedback.
>>>>>>>>
>>>>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>>>
>>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>>>> manulac@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>>> derivative.
>>>>>>>>>
>>>>>>>>> Events are,
>>>>>>>>>
>>>>>>>>> average-total-memory
>>>>>>>>> average-load-average
>>>>>>>>> average-used-memory
>>>>>>>>>
>>>>>>>>> gradient-total-memory
>>>>>>>>> gradient-load-average
>>>>>>>>> gradient-used-memory
>>>>>>>>>
>>>>>>>>> second-derivative-total-memory-stats
>>>>>>>>> second-derivative-used-memory-stats
>>>>>>>>> second-derivative-load-average-stats
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Manula,
>>>>>>>>>>
>>>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>>> derivative are there.
>>>>>>>>>>
>>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>>> Software Engineer,
>>>>>>>>>> Platform Technologies,
>>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>>> linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>
>>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>>> phone : +94 772492511
>>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Lahiru Sandaruwan
>>>>>> Software Engineer,
>>>>>> Platform Technologies,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>> twitter: http://twitter.com/lahirus
>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>>
>>
> --
> Sent from my Aphone with K-9 Mail. Please excuse my brevity.
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Information received in Health stat topic

Posted by Luca Martini <lm...@cisco.com>.
Reka, 
I believe that we need health checking to be a separate function from the load monitoring.   We need to detect crashes and restarts.  This function can be handled by the same agent, but the architecture need to allow it to be separate.
Luca

Reka Thirunavukkarasu <re...@wso2.com> wrote:
>Hi Manula,
>
>As part of sending the health of an VM to CEP, are we sending the
>health of
>the process like whether it is up or not to CEP? This is obviously a
>fault
>handling scenario.
>
>@Lahiru
>
>Do we have a plan on how to handle this particular scenario? If we are
>to
>send periodic updates from VM on it's process status like port up or
>not,
>then we need to generalize the protocol to check the port rather than
>just
>checking the http or https port's status only.
>
>Thanks,
>Reka
>
>On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com>
>wrote:
>
>>
>>
>>
>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Thanks for the update. We can find used memory / total memory from
>the
>>> health checker module and send those values to CEP. From CEP side we
>can
>>> find avarage, gradient and second derivative of memory consumption.
>>>
>>
>> Great, that would do.
>>
>> Thanks.
>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan
><la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> What do you mean by combine the Total memory and Used memory ?
>>>>>
>>>>
>>>> It is Used Memory as a fraction of Total memory. We better use the
>>>> percentage as it will give some nice numbers...
>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan
><la...@wso2.com>wrote:
>>>>>>
>>>>>>> Manula,
>>>>>>>
>>>>>>> Sorry for my late feedback.
>>>>>>>
>>>>>>> Is it possible to combine the Total memory and Used memory and
>send
>>>>>>> the "Memory consumption" average, gradient, and SD from CEP
>side.
>>>>>>>
>>>>>>> Because what Autoscaler is interested in is that.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte
><
>>>>>>> manulac@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>>> derivative.
>>>>>>>>
>>>>>>>> Events are,
>>>>>>>>
>>>>>>>> average-total-memory
>>>>>>>> average-load-average
>>>>>>>> average-used-memory
>>>>>>>>
>>>>>>>> gradient-total-memory
>>>>>>>> gradient-load-average
>>>>>>>> gradient-used-memory
>>>>>>>>
>>>>>>>> second-derivative-total-memory-stats
>>>>>>>> second-derivative-used-memory-stats
>>>>>>>> second-derivative-load-average-stats
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Manula,
>>>>>>>>>
>>>>>>>>> Can you please share the events that would be emitted from
>Event
>>>>>>>>> Processing Engine to health stat topic?
>>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>>> derivative are there.
>>>>>>>>>
>>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> Lahiru Sandaruwan
>>>>>>>>> Software Engineer,
>>>>>>>>> Platform Technologies,
>>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>
>>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>>> linked-in:
>http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Manula Chathurika Thantriwatte
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>>> lean . enterprise . middleware
>>>>>>>>
>>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>>> phone : +94 772492511
>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>> linked-in:
>http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
>-- 
>Reka Thirunavukkarasu
>Software Engineer,
>WSO2, Inc.:http://wso2.com,
>Mobile: +94776442007

-- 
Sent from my Aphone with K-9 Mail. Please excuse my brevity.

Re: Information received in Health stat topic

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi Manula,

As part of sending the health of an VM to CEP, are we sending the health of
the process like whether it is up or not to CEP? This is obviously a fault
handling scenario.

@Lahiru

Do we have a plan on how to handle this particular scenario? If we are to
send periodic updates from VM on it's process status like port up or not,
then we need to generalize the protocol to check the port rather than just
checking the http or https port's status only.

Thanks,
Reka

On Fri, Nov 22, 2013 at 2:52 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
>
> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> Thanks for the update. We can find used memory / total memory from the
>> health checker module and send those values to CEP. From CEP side we can
>> find avarage, gradient and second derivative of memory consumption.
>>
>
> Great, that would do.
>
> Thanks.
>
>>
>>
>> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> What do you mean by combine the Total memory and Used memory ?
>>>>
>>>
>>> It is Used Memory as a fraction of Total memory. We better use the
>>> percentage as it will give some nice numbers...
>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>
>>>>>
>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>
>>>>>> Manula,
>>>>>>
>>>>>> Sorry for my late feedback.
>>>>>>
>>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>>
>>>>>> Because what Autoscaler is interested in is that.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>>> manulac@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Yes, those values are same like average, gradient, and second
>>>>>>> derivative.
>>>>>>>
>>>>>>> Events are,
>>>>>>>
>>>>>>> average-total-memory
>>>>>>> average-load-average
>>>>>>> average-used-memory
>>>>>>>
>>>>>>> gradient-total-memory
>>>>>>> gradient-load-average
>>>>>>> gradient-used-memory
>>>>>>>
>>>>>>> second-derivative-total-memory-stats
>>>>>>> second-derivative-used-memory-stats
>>>>>>> second-derivative-load-average-stats
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <
>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Manula,
>>>>>>>>
>>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>>> Processing Engine to health stat topic?
>>>>>>>> I'm aware that LB statistic average, gradient, and second
>>>>>>>> derivative are there.
>>>>>>>>
>>>>>>>> What about CPU load and memory consumption, will they be same
>>>>>>>> values like average, gradient, and second derivative?
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Lahiru Sandaruwan
>>>>>>>> Software Engineer,
>>>>>>>> Platform Technologies,
>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Manula Chathurika Thantriwatte
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>>> phone : +94 772492511
>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Lahiru Sandaruwan
>>>>>> Software Engineer,
>>>>>> Platform Technologies,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>> twitter: http://twitter.com/lahirus
>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manula Chathurika Thantriwatte
>>>> Software Engineer
>>>> WSO2 Inc. : http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> email : manulac@wso2.com / manula@apache.org
>>>> phone : +94 772492511
>>>> blog : http://manulachathurika.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: Information received in Health stat topic

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Lahiru,
>
> Thanks for the update. We can find used memory / total memory from the
> health checker module and send those values to CEP. From CEP side we can
> find avarage, gradient and second derivative of memory consumption.
>

Great, that would do.

Thanks.

>
>
> On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>>
>>
>>
>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> What do you mean by combine the Total memory and Used memory ?
>>>
>>
>> It is Used Memory as a fraction of Total memory. We better use the
>> percentage as it will give some nice numbers...
>>
>>>
>>>
>>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Yes, can do it. I'll do the necessary changes.
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>
>>>>> Manula,
>>>>>
>>>>> Sorry for my late feedback.
>>>>>
>>>>> Is it possible to combine the Total memory and Used memory and send
>>>>> the "Memory consumption" average, gradient, and SD from CEP side.
>>>>>
>>>>> Because what Autoscaler is interested in is that.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>>> manulac@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yes, those values are same like average, gradient, and second
>>>>>> derivative.
>>>>>>
>>>>>> Events are,
>>>>>>
>>>>>> average-total-memory
>>>>>> average-load-average
>>>>>> average-used-memory
>>>>>>
>>>>>> gradient-total-memory
>>>>>> gradient-load-average
>>>>>> gradient-used-memory
>>>>>>
>>>>>> second-derivative-total-memory-stats
>>>>>> second-derivative-used-memory-stats
>>>>>> second-derivative-load-average-stats
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi Manula,
>>>>>>>
>>>>>>> Can you please share the events that would be emitted from Event
>>>>>>> Processing Engine to health stat topic?
>>>>>>> I'm aware that LB statistic average, gradient, and second derivative
>>>>>>> are there.
>>>>>>>
>>>>>>> What about CPU load and memory consumption, will they be same values
>>>>>>> like average, gradient, and second derivative?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>>> twitter: http://twitter.com/lahirus
>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manula Chathurika Thantriwatte
>>>>>> Software Engineer
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> email : manulac@wso2.com / manula@apache.org
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Software Engineer,
>>>>> Platform Technologies,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>> twitter: http://twitter.com/lahirus
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manula Chathurika Thantriwatte
>>>> Software Engineer
>>>> WSO2 Inc. : http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> email : manulac@wso2.com / manula@apache.org
>>>> phone : +94 772492511
>>>> blog : http://manulachathurika.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Information received in Health stat topic

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Lahiru,

Thanks for the update. We can find used memory / total memory from the
health checker module and send those values to CEP. From CEP side we can
find avarage, gradient and second derivative of memory consumption.


On Fri, Nov 22, 2013 at 3:14 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
>
> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> What do you mean by combine the Total memory and Used memory ?
>>
>
> It is Used Memory as a fraction of Total memory. We better use the
> percentage as it will give some nice numbers...
>
>>
>>
>> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Yes, can do it. I'll do the necessary changes.
>>>
>>>
>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>> Manula,
>>>>
>>>> Sorry for my late feedback.
>>>>
>>>> Is it possible to combine the Total memory and Used memory and send the
>>>> "Memory consumption" average, gradient, and SD from CEP side.
>>>>
>>>> Because what Autoscaler is interested in is that.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>>> manulac@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> Yes, those values are same like average, gradient, and second
>>>>> derivative.
>>>>>
>>>>> Events are,
>>>>>
>>>>> average-total-memory
>>>>> average-load-average
>>>>> average-used-memory
>>>>>
>>>>> gradient-total-memory
>>>>> gradient-load-average
>>>>> gradient-used-memory
>>>>>
>>>>> second-derivative-total-memory-stats
>>>>> second-derivative-used-memory-stats
>>>>> second-derivative-load-average-stats
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>
>>>>>> Hi Manula,
>>>>>>
>>>>>> Can you please share the events that would be emitted from Event
>>>>>> Processing Engine to health stat topic?
>>>>>> I'm aware that LB statistic average, gradient, and second derivative
>>>>>> are there.
>>>>>>
>>>>>> What about CPU load and memory consumption, will they be same values
>>>>>> like average, gradient, and second derivative?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Lahiru Sandaruwan
>>>>>> Software Engineer,
>>>>>> Platform Technologies,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>> twitter: http://twitter.com/lahirus
>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : manulac@wso2.com / manula@apache.org
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Information received in Health stat topic

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Lahiru,
>
> What do you mean by combine the Total memory and Used memory ?
>

It is Used Memory as a fraction of Total memory. We better use the
percentage as it will give some nice numbers...

>
>
> On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> Yes, can do it. I'll do the necessary changes.
>>
>>
>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>> Manula,
>>>
>>> Sorry for my late feedback.
>>>
>>> Is it possible to combine the Total memory and Used memory and send the
>>> "Memory consumption" average, gradient, and SD from CEP side.
>>>
>>> Because what Autoscaler is interested in is that.
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>>> manulac@wso2.com> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Yes, those values are same like average, gradient, and second
>>>> derivative.
>>>>
>>>> Events are,
>>>>
>>>> average-total-memory
>>>> average-load-average
>>>> average-used-memory
>>>>
>>>> gradient-total-memory
>>>> gradient-load-average
>>>> gradient-used-memory
>>>>
>>>> second-derivative-total-memory-stats
>>>> second-derivative-used-memory-stats
>>>> second-derivative-load-average-stats
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>
>>>>> Hi Manula,
>>>>>
>>>>> Can you please share the events that would be emitted from Event
>>>>> Processing Engine to health stat topic?
>>>>> I'm aware that LB statistic average, gradient, and second derivative
>>>>> are there.
>>>>>
>>>>> What about CPU load and memory consumption, will they be same values
>>>>> like average, gradient, and second derivative?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Software Engineer,
>>>>> Platform Technologies,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>> twitter: http://twitter.com/lahirus
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manula Chathurika Thantriwatte
>>>> Software Engineer
>>>> WSO2 Inc. : http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>> email : manulac@wso2.com / manula@apache.org
>>>> phone : +94 772492511
>>>> blog : http://manulachathurika.blogspot.com/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Information received in Health stat topic

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Lahiru,

What do you mean by combine the Total memory and Used memory ?


On Fri, Nov 22, 2013 at 3:07 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Lahiru,
>
> Yes, can do it. I'll do the necessary changes.
>
>
> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>> Manula,
>>
>> Sorry for my late feedback.
>>
>> Is it possible to combine the Total memory and Used memory and send the
>> "Memory consumption" average, gradient, and SD from CEP side.
>>
>> Because what Autoscaler is interested in is that.
>>
>> Thanks.
>>
>>
>>
>>
>> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
>> manulac@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Yes, those values are same like average, gradient, and second derivative.
>>>
>>> Events are,
>>>
>>> average-total-memory
>>> average-load-average
>>> average-used-memory
>>>
>>> gradient-total-memory
>>> gradient-load-average
>>> gradient-used-memory
>>>
>>> second-derivative-total-memory-stats
>>> second-derivative-used-memory-stats
>>> second-derivative-load-average-stats
>>>
>>>
>>>
>>>
>>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>> Hi Manula,
>>>>
>>>> Can you please share the events that would be emitted from Event
>>>> Processing Engine to health stat topic?
>>>> I'm aware that LB statistic average, gradient, and second derivative
>>>> are there.
>>>>
>>>> What about CPU load and memory consumption, will they be same values
>>>> like average, gradient, and second derivative?
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manulac@wso2.com / manula@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Information received in Health stat topic

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Lahiru,

Yes, can do it. I'll do the necessary changes.


On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Manula,
>
> Sorry for my late feedback.
>
> Is it possible to combine the Total memory and Used memory and send the
> "Memory consumption" average, gradient, and SD from CEP side.
>
> Because what Autoscaler is interested in is that.
>
> Thanks.
>
>
>
>
> On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
> manulac@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> Yes, those values are same like average, gradient, and second derivative.
>>
>> Events are,
>>
>> average-total-memory
>> average-load-average
>> average-used-memory
>>
>> gradient-total-memory
>> gradient-load-average
>> gradient-used-memory
>>
>> second-derivative-total-memory-stats
>> second-derivative-used-memory-stats
>> second-derivative-load-average-stats
>>
>>
>>
>>
>> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>> Hi Manula,
>>>
>>> Can you please share the events that would be emitted from Event
>>> Processing Engine to health stat topic?
>>> I'm aware that LB statistic average, gradient, and second derivative are
>>> there.
>>>
>>> What about CPU load and memory consumption, will they be same values
>>> like average, gradient, and second derivative?
>>>
>>> Thanks.
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manula Chathurika Thantriwatte
>> Software Engineer
>> WSO2 Inc. : http://wso2.com
>> lean . enterprise . middleware
>>
>> email : manulac@wso2.com / manula@apache.org
>> phone : +94 772492511
>> blog : http://manulachathurika.blogspot.com/
>>
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Re: Information received in Health stat topic

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Manula,

Sorry for my late feedback.

Is it possible to combine the Total memory and Used memory and send the
"Memory consumption" average, gradient, and SD from CEP side.

Because what Autoscaler is interested in is that.

Thanks.




On Wed, Nov 20, 2013 at 9:28 AM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Lahiru,
>
> Yes, those values are same like average, gradient, and second derivative.
>
> Events are,
>
> average-total-memory
> average-load-average
> average-used-memory
>
> gradient-total-memory
> gradient-load-average
> gradient-used-memory
>
> second-derivative-total-memory-stats
> second-derivative-used-memory-stats
> second-derivative-load-average-stats
>
>
>
>
> On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>> Hi Manula,
>>
>> Can you please share the events that would be emitted from Event
>> Processing Engine to health stat topic?
>> I'm aware that LB statistic average, gradient, and second derivative are
>> there.
>>
>> What about CPU load and memory consumption, will they be same values
>> like average, gradient, and second derivative?
>>
>> Thanks.
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Information received in Health stat topic

Posted by Manula Chathurika Thantriwatte <ma...@wso2.com>.
Hi Lahiru,

Yes, those values are same like average, gradient, and second derivative.

Events are,

average-total-memory
average-load-average
average-used-memory

gradient-total-memory
gradient-load-average
gradient-used-memory

second-derivative-total-memory-stats
second-derivative-used-memory-stats
second-derivative-load-average-stats




On Tue, Nov 19, 2013 at 11:39 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:

> Hi Manula,
>
> Can you please share the events that would be emitted from Event
> Processing Engine to health stat topic?
> I'm aware that LB statistic average, gradient, and second derivative are
> there.
>
> What about CPU load and memory consumption, will they be same values
> like average, gradient, and second derivative?
>
> Thanks.
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/