Forum: Cfengine Help
Subject: Re: laying a tripwire and firing the checksum_alerts class
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,21544,21546#msg-21546

Great suggestion, but it didn't work.  =(


$ grep background lay_etc_tripwire_detection.cf

$ echo blah >> /etc/mike

 $ /var/cfengine/bin/cf-agent -I -K -b lay_etc_tripwire_detection
 >> Using command line specified bundlesequence
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ALERT: Hash (md5) for /etc/mike changed!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 -> Updating hash for /etc/mike to MD5=7c28d5494f5d030ab701303bdc203393
I: Report relates to a promise with handle "tripwire_on_etc"
I: Made in version '1.3.4' of 
'/var/cfengine/inputs/lay_etc_tripwire_detection.cf' near line 14
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ALERT: Last modified time for /etc/mike changed Wed Apr 20 08:20:50 2011 -> Wed 
Apr 20 08:49:04 2011


No report printed...

$ /var/cfengine/bin/cf-agent -I -K -b lay_etc_tripwire_detection
 >> Using command line specified bundlesequence
R: cf3: The tripwire on esv4-be24.stg:/etc has been tripped. 


The persistent class takes effect.


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to