The below is an excerpt from a cfagent.conf file that I am testing.  This is my 
first attempt at using cfengine.  I am trying to setup the config so that it 
warns me if the cron proc is not running.  For some reason, if I include the 
signal=kill option, it appears to work, but if that is removed, then it does 
not.  I would expect a warning if the signal= option is absent.

What am I missing?

control:
         actionsequence = ( processes )
         domain         = ( blackrock.com )
         sysadm         = ( [EMAIL PROTECTED] )
         inform         = ( on )
         warnings       = ( on )
filters:
         #*********************************************
         # Process filter aliases
         #*********************************************
         { pcron
                Owner:          "root"
                 Command:        "/usr/sbin/cron"
  #               PPID:           "1"
                  Result:         "Owner.Command"
  #               Result:         "Owner"
          }
processes:
         #---------------------------------------------
         # All hosts must be running these proces
         #---------------------------------------------
         any::
                 "." filter=pcron action=warn signal=hup

Todd Urie
Unix Admin
Blackrock Financial Mgmt
302-797-6039


THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, 
CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader 
of this message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, copying or use of this message and any attachment 
is strictly prohibited. If you have received this message in error, please 
notify us immediately by replying to the message and permanently delete it from 
your computer and destroy any printout thereof.


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to