[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

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

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,