On Fri, Nov 22, 2013 at 10:02 PM, Reka Thirunavukkarasu <[email protected]>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 <[email protected]>wrote:
>
>>
>>
>>
>> On Fri, Nov 22, 2013 at 3:17 PM, Manula Chathurika Thantriwatte <
>> [email protected]> 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 <[email protected]>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 22, 2013 at 3:09 PM, Manula Chathurika Thantriwatte <
>>>> [email protected]> 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 <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yes, can do it. I'll do the necessary changes.
>>>>>>
>>>>>>
>>>>>> On Fri, Nov 22, 2013 at 2:55 PM, Lahiru Sandaruwan 
>>>>>> <[email protected]>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 <
>>>>>>> [email protected]> 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 <
>>>>>>>> [email protected]> 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: [email protected] 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 : [email protected] / [email protected]
>>>>>>>> phone : +94 772492511
>>>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Lahiru Sandaruwan
>>>>>>> Software Engineer,
>>>>>>> Platform Technologies,
>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> email: [email protected] 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 : [email protected] / [email protected]
>>>>>> phone : +94 772492511
>>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : [email protected] / [email protected]
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: [email protected] 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 : [email protected] / [email protected]
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: [email protected] 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/

Reply via email to