Re: ReturnsZero and redirecting output

2006-03-21 Thread Jim Wight
On Tue, 2006-03-21 at 10:10 -0500, Brian E. Seppanen wrote: > I have the following code > > classes: > host_groupa:: > usera= ( ReturnsZero(/usr/bin/getent passwd usera) ) > > So what that would do is evaluate a class usera if /usr/bin/getent passwd > usera returns 0 if

Re: Cf_lastseen.db

2006-03-21 Thread Jim Wight
On Tue, 2006-03-21 at 13:54 +, Jim Wight wrote: > The most recent run has reported as follows: > > *: Host x.x.x.x (hailed us) last at Sun Mar 19 23:39:41 2006 > i.e. not seen for 37.63 hours > (Expected = 5184.63 secs (= 1.44 hours) (Expires 90 days) > &

Re: Cf_lastseen.db

2006-03-21 Thread Jim Wight
On Fri, 2006-03-17 at 15:06 -0600, Brendan Strejcek wrote: > This is how I use FriendStatus on my policy server: > > control: > LastSeenExpireAfter = ( 14 ) > > alerts: > policyhost:: > FriendStatus(24) > ifelapsed=10080 # Warn no more often than once per week I have