help-cfengine
[Top][All Lists]
Advanced

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

process filter question


From: Kelly Brown
Subject: process filter question
Date: Thu, 28 Apr 2005 07:24:26 -0700
User-agent: Debian Thunderbird 1.0 (X11/20050116)

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





reply via email to

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