Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-25 Thread no-reply
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,21571#msg-21571 This was my workaround to this issue. I set a class by using returnszero, and grepping for ALERT on th

Re: Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-21 Thread Mike Svoboda
Yeah I tried that. It didn't work. I guess because we're using "body changes", its entering a special place in the code where if_repaired doesn't take effect. On 4/21/11 11:44 AM, "no-re...@cfengine.com" wrote: > Forum: Cfengine Help > Subject: Re: laying a tripwire and firing the checksum_al

Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-21 Thread no-reply
Forum: Cfengine Help Subject: Re: laying a tripwire and firing the checksum_alerts class Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21544,21554#msg-21554 What if you use classes => if_repaired() instead of checksum_alerts:: class, would it work? files: linux:: "/et

Re: Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-20 Thread Jesse Becker
On Wed, Apr 20, 2011 at 04:51:03PM -0400, Mike Svoboda wrote: >Anyone? =( > >The only other solution I can think of, and this is dumb, would be to insert >this into root's crontab. > >0,15,30,45 * * * /var/cfengine/bin/cf-agent -b lay_etc_tripwire_detection Could you use cron to run cf-agent usin

Re: Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-20 Thread Mike Svoboda
Anyone? =( The only other solution I can think of, and this is dumb, would be to insert this into root's crontab. 0,15,30,45 * * * /var/cfengine/bin/cf-agent -b lay_etc_tripwire_detection I really don't want to do that, because cf-execd is firing splaytime, and clients could have multiple inst

Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-20 Thread no-reply
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

Cfengine Help: Re: laying a tripwire and firing the checksum_alerts class

2011-04-20 Thread no-reply
Forum: Cfengine Help Subject: Re: laying a tripwire and firing the checksum_alerts class Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21544,21545#msg-21545 Try removing the background action at this point. ___ Help-cfengine m