On 18-01-11 15:58, Jesse Becker wrote:
> On Tue, Jan 18, 2011 at 09:42:57AM -0500, Bas van der Vlies wrote:
>>>
>>> Alternately, if you use a convoluted construct like this? This should
>>> cause the hostseen() function and 'myhosts' variable to be evaluated
>>> only once.
>>>
>> Thanks for tip.
On Tue, Jan 18, 2011 at 09:42:57AM -0500, Bas van der Vlies wrote:
>On 18-01-11 13:49, Jesse Becker wrote:
>> On Tue, Jan 18, 2011 at 04:48, Bas van der Vlies wrote:
## Report if we lost contact with our policy server for an hour
#
bundle agent cfengine3_check_server_connectivity
>>
On 18-01-11 13:49, Jesse Becker wrote:
> On Tue, Jan 18, 2011 at 04:48, Bas van der Vlies wrote:
>>> ## Report if we lost contact with our policy server for an hour
>>> #
>>> bundle agent cfengine3_check_server_connectivity
>>> {
>>> vars:
>>> "myhosts" slist =>{ hostsseen("1","notseen","a
On Tue, Jan 18, 2011 at 04:48, Bas van der Vlies wrote:
>> ## Report if we lost contact with our policy server for an hour
>> #
>> bundle agent cfengine3_check_server_connectivity
>> {
>> vars:
>> "myhosts" slist => { hostsseen("1","notseen","address") };
>>
>> classes:
>> "cfengine_no_conn
> Maybe it is useful for someone else. I have written an bundle that reports
> back if a client did not see the policy server for an hour. That is the
> smallest value that can be set. I realy wanted to use 0.15 (each quarter
> of a hour)
>
> ## Report if we lost contact with our policy server for
On 14-01-11 23:32, Jesse Becker wrote:
> On Fri, Jan 14, 2011 at 04:40:47PM -0500, no-re...@cfengine.com wrote:
>> Forum: Cfengine Help
>> Subject: Re: Lastseen in body agent control per documentation isn't valid
>> Author: msvob...@linkedin.com
>> Link to topic: https://cfengine.com/forum/read.php
On Fri, Jan 14, 2011 at 04:40:47PM -0500, no-re...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: Lastseen in body agent control per documentation isn't valid
>Author: msvob...@linkedin.com
>Link to topic: https://cfengine.com/forum/read.php?3,20111,20112#msg-20112
>
>Nobody has lastseen w