Re: Cfengine Help: Re: problem with process_select and ttime

2010-11-15 Thread Bas van der Vlies
On 12 nov 2010, at 21:30, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: problem with process_select and ttime > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,19220,19231#msg-19231 > > FYI, you might wish to also include s

Re: problem with process_select and ttime

2010-11-15 Thread Bas van der Vlies
On 12 nov 2010, at 19:53, Daniel V. Klein wrote: > No, I was worng (doh!). I am did more research into this, and it is not the > selection issue as I suspected. I apologize for any misleading. > No that section is only used to set a class. > There is something wrong with your range - 15 is n

Cfengine Help: Re: problem with process_select and ttime

2010-11-12 Thread no-reply
Forum: Cfengine Help Subject: Re: problem with process_select and ttime Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19220,19231#msg-19231 FYI, you might wish to also include sshd in the list of exceptions. Otherwise SSH sessions other than root will be terminated

Re: problem with process_select and ttime

2010-11-12 Thread Daniel V. Klein
No, I was worng (doh!). I am did more research into this, and it is not the selection issue as I suspected. I apologize for any misleading. There is something wrong with your range - 15 is not "15 minutes" :-) You should use "accumulated" on both sides of the irange. On Nov 12, 2010, at 4:32

Re: problem with process_select and ttime

2010-11-12 Thread Daniel V. Klein
It is probably not a bug - it is a language (in)consistency. Well, maybe that's a bug... let's see what Mark says? You are promising two contradictory things, and that is the basic problem. The first promise is that you will set a class "user_procs_out_of_range" if the number of processes matc

problem with process_select and ttime

2010-11-12 Thread Bas van der Vlies
version: community edition 3.1.0 os: debian I want to kill processes that have accumulated more then 15 minutes of time: body common control { bundlesequence => { example }; inputs => { "cfengine_stdlib.cf" }; } bundle agent example { processes: