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 experimented with a similar setup, but it's not working as
expected.
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 <delta_t> = 5184.63 secs (= 1.44 hours) (Expires 90 days)
However, there is another entry in the database that I would have
expected to have been flagged, given the following:
# cfshow -s | egrep -v '!0\.|!1\.'
x.x.x.x (hailed us) at [Sun Mar 19 23:39:41 2006] i.e. not seen for !37.76!
hours; <delta_t> = {1.44} hours
y.y.y.y (hailed us) at [Wed Mar 15 17:28:52 2006] i.e. not seen for !139.94!
hours; <delta_t> = {0.49} hours
Both of those should have been reported, shouldn't they?
I used 2.1.19p1.
Jim
_______________________________________________
Help-cfengine mailing list
[email protected]
http://cfengine.org/mailman/listinfo/help-cfengine