help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: REPOST: process filter question


From: Mark Burgess
Subject: Re: REPOST: process filter question
Date: Sun, 01 May 2005 23:01:08 +0200

Hei - difficult to say what you are doing wrong, if anything.
Let me try to look at this tomorrow. Sorry, I got sick with the flu
after coming home on the plane from US. I should have some time tomorrow
morning,

Mark


On Fri, 2005-04-29 at 10:03 -0700, Kelly Brown wrote:
> I'm going to try again.  Just incase the person that can really help me 
> missed this one 8)
> 
> Hello all:
> 
> I'm trying to set up a process filter to notify me when I have an httpd
> process that's been running for over an hour.
> 
> This is what I get when I try to run it:
> 
> sudo cfagent -q -f /etc/cfengine/cf.config
> cf:cfengine::/etc/cfengine/cf.config:196: Insufficient or incomplete
> processes statement
> 
> 
> Here's the syntax in the config...
> 
> ###########################################################################
> 
> filters:
> 
>    # When used will collect processes that have between 1 and 5 hours
> cputime.
>    { runawayhttpfilter
> 
>       FromTTime:   "accumulated(0,0,0,1,0,0)"
>       ToTTime:     "accumulated(0,0,0,5,0,0)"
>       Result:      "TTime"
> 
>    }
> 
> ########################################################################
> 
> processes:
> 
>    "httpd" filter=runawayhttpfilter action=warn
> 
> ########################################################################
> 
> 
> What am I doing wrong?  Can't seem to find too much documentation on
> this sort of thing so I figured I would ask here.  Thanks!
> 
> -K
> 
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]