Forum: Cfengine Help Subject: Re: strange output by cf-runagent Author: schattenfell Link to topic: https://cfengine.com/forum/read.php?3,21961,22010#msg-22010
Thank you for the hint. I overlooked it in the documentation. Here ist he output: ############################################################### root@testserver:/# /var/cfengine/bin/cf-runagent -H testserver [...] <- everything looks fine as expected cf3> -> cf3> Outcome of version 1.0 (agent-0): Promises observed to be kept 100%, Promises repaired 0%, Promises not repaired 0% cf3> -> cf3> Estimated system complexity as touched objects = 166, for 12 promises cf3> -> cf3> -> Writing last-seen observations cf3> -> cf3> -> Last saw +MD5=b3b3f04190d8d5c03a69f57bfe4d51ba (alias 10.1.1.6) at Tue May 17 14:01:13 2011 cf3> -> (noexpiry 0.2 <= 168.0) cf3> -> cf3> -> No lock purging scheduled cf3> !! root@testserver:/# ############################################################### So the "!!" is always the last output followed be a newline. So I even did a: cfruncommand => "${v.workdir}/bin/cf-agent -v -d 3": ############################################################### root@testserver:/# /var/cfengine/bin/cf-runagent -H testserver [...] <- everything looks fine as expected cf3> -> cf3> -> Last saw +MD5=b3b3f04190d8d5c03a69f57bfe4d51ba (alias 10.1.1.6) at Tue May 17 14:07:52 2011 cf3> -> (noexpiry 0.1 <= 168.0) cf3> -> WriteDB => +MD5=b3b3f04190d8d5c03a69f57bfe4d51ba cf3> -> OpenDB(/var/cfengine/state/cf_lock.db) cf3> -> OpenLock(/var/cfengine/state/cf_lock.db) cf3> -> READ lock_horizon cf3> -> cf3> -> No lock purging scheduled cf3> -> GenericDeInitialize() cf3> -> CloseAllDB() cf3> -> Closed 0 open DB handles cf3> !! root@testserver:/# ############################################################### Beste wishes Michael _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine