Forum: CFEngine Help
Subject: Understanding CF's log
Author: marc
Link to topic: https://cfengine.com/forum/read.php?3,23269,23269#msg-23269

Hi List

I have just started putting machines into productions using CFengine, and all 
is good. My promises is been keept and works. 

Now I what to follow up on all my promises, see if they are doing things right 
and looking for things to improve in my cf scripts. So I watch my messages log 
for errors, none. 
So I dig a little deeper, and finds this in my promise_summary.log:


1314690327,1314690327: Outcome of version (not specified) (agent-0): Promises 
observed to be kept 66%, Promises repaired 34%, Promises not repaired 0%
1314690327,1314690331: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 63%, Promises repaired 37%, Promises not repaired 0%
1314690647,1314690647: Outcome of version (not specified) (agent-0): Promises 
observed to be kept 66%, Promises repaired 34%, Promises not repaired 0%
1314690647,1314690651: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 65%, Promises repaired 35%, Promises not repaired 0%
1314690967,1314690967: Outcome of version (not specified) (agent-0): Promises 
observed to be kept 66%, Promises repaired 34%, Promises not repaired 0%
1314690967,1314690971: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 65%, Promises repaired 35%, Promises not repaired 0%
1314691227,1314691228: Outcome of version (not specified) (agent-0): Promises 
observed to be kept 66%, Promises repaired 34%, Promises not repaired 0%
1314691228,1314691232: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 82%, Promises repaired 18%, Promises not repaired 0%
1314691547,1314691548: Outcome of version (not specified) (agent-0): Promises 
observed to be kept 66%, Promises repaired 34%, Promises not repaired 0%
1314691548,1314691551: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 63%, Promises repaired 37%, Promises not repaired 0%


Which i read as my promises is been repaired every time cf-agent runs. This 
does not look to good. So I run "cf-agent -KI" in cmd. 
Which produced this i my promise_summary.log:


1314693624,1314693628: Outcome of version 0.0.5 (agent-0): Promises observed to 
be kept 99%, Promises repaired 1%, Promises not repaired 0%


Why this big difference?
And how do find out which promises is repaired all the time?
And why do I get a "version (not specified)" in half the runs?(I have set the 
version numbe to 0.0.5 in the promises.cf)

Best
.Marc

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

Reply via email to