Hi all, I'd like to generate a report of all* changes Cfengine makes on systems for auditing and awareness purposes. If, for example, the same change is being made a lot on a system (e.g. fixing /etc/passwd permissions), then we would know something is wrong and could investigate it more deeply.
Cfengine Nova (I don't know about community) logs local promise repairs to /var/cfengine/nova_repair.log, which is rotated weekly. Here are a couple of example lines: Thu Jun 3 21:32:21 2010,fix_resolver_configuration_file,fix_resolver_configuration_file,Ens ure /etc/resolv.conf file exists and is correct,/var/cfengine/inputs/dg.bundles.cf,262 Thu Jun 3 21:34:16 2010,_fetch_public_ssh_key,ensure_authorized_ssh_key_exists,Ensure user's authorized_keys file contains remote user's public key,/var/cfengine/inputs/dg.ssh_keys.cf,98 I was thinking of having each policy server fetch the nova_repair.log from all of its hosts each day prior to rotation and generating a summary report that is easily skimmable by humans. However, before I start really diving into such an approach, I was wondering if anyone has been wanting or doing something similar. Thanks, Justin *By "all" I would filter out a lot of standard changes, like those done by Nova's generate_reports.cf. -- Justin C. Lloyd Unix Infrastructure Engineer DigitalGlobe, An Imaging and Information Company This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine