[Ganglia-general] Process state monitoring

2015-06-30 Thread Sergey
Hi Everybody!

I see that we can monitor any process and collect CPU and memory metrics for 
this process via Python module.
Is it possible to monitor the state of the process (if running - state=Up, if 
stopped - state=Down)?
I see that CPU and memory metrics are coming independently of the process 
state, so I can’t use them to calculate the process state.
I think some “process heartbeat” monitor required. Any ideas?

Thanks!
Sergey
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Process state monitoring

2015-06-30 Thread Vladimir Vuksan
You can alert on process memory size e.g. we have alerts that say if 
process memory is  100 bytes it's down. Also if process memory is  X 
bytes it's leaking memory.

Vladimir

06/30/2015 u 01:19 PM, Sergey je napisao/la:
 Hi Everybody!

 I see that we can monitor any process and collect CPU and memory metrics for 
 this process via Python module.
 Is it possible to monitor the state of the process (if running - state=Up, if 
 stopped - state=Down)?
 I see that CPU and memory metrics are coming independently of the process 
 state, so I can’t use them to calculate the process state.
 I think some “process heartbeat” monitor required. Any ideas?

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Process state monitoring

2015-06-30 Thread Sergey
Hi Vladimir,

This is indirect solution. I’d prefer some python module which will return 
metric “100” in case of running process and “0” - if it doesn’t exist.
Or, for example - to return number of the existing processes with the same name.


Thank you!

Sergey

 
 On Jun 30, 2015, at 11:57 AM, Vladimir Vuksan vli...@veus.hr wrote:
 
 You can alert on process memory size e.g. we have alerts that say if process 
 memory is  100 bytes it's down. Also if process memory is  X bytes it's 
 leaking memory.
 
 Vladimir
 
 06/30/2015 u 01:19 PM, Sergey je napisao/la:
 Hi Everybody!
 
 I see that we can monitor any process and collect CPU and memory metrics for 
 this process via Python module.
 Is it possible to monitor the state of the process (if running - state=Up, 
 if stopped - state=Down)?
 I see that CPU and memory metrics are coming independently of the process 
 state, so I can’t use them to calculate the process state.
 I think some “process heartbeat” monitor required. Any ideas?


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general