help-cfengine
[Top][All Lists]
Advanced

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

warn when killing blacklisted processes


From: Mike Gabriel
Subject: warn when killing blacklisted processes
Date: Thu, 26 Aug 2004 18:35:33 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi there,

another question:

is it possible to send a mail-warning if a processed gets killed by cfengine?

the cf_code is:

<snip>
# cf.process_blacklist

#
# POLICY for cf.process_blacklist
#
#   o kill any of the following processes if detected on the system
#

control:

  actionsequence = ( processes )

processes:

  linux::

    "psybnc" signal=kill

</snip>

whenever psybnc is started, i want it killed and i want cfengine to tell me... 
any clues?

thanks a lot!!!
mike

- -- 

network administration, ecology centre, kiel university, germany
Mike Gabriel, olshausenstr 75, 24118 kiel, germany

fon-work: +49 431 880-1186
fon-home: +49 431 6474196
mail: mgabriel@ecology.uni-kiel.de
www: http://www.ecology.uni-kiel.de, http://zope.ecology.uni-kiel.de
     
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLhFVpoJgRMI6HfERAoxVAJ9a5+rXuwT7iZygWw6+YuHWg9bZtgCfWNal
togFamU6+LqbGkchFmLgmFY=
=0Lzu
-----END PGP SIGNATURE-----




reply via email to

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