On 08/05/2011 16:59, Nick Anderson wrote:
> I was playing around with the reports trying to determine when mail gets
> sent. I might have just not found the place in the docs that describe it
> fully.
>
> It seems like manual runs of cf-agent even with -K reports generated are
> not emailed to the address specified in executor control. They are
> mailed if cf-agent is executed by cf-execd or so it seems (so long as
> the report is not a duplicate).
>
> Is that correct? Can someone point me to the documentation that
> describes the behavior?
>
> There is currently no support for emailing promisees reports is there?
>

Hi Nick,

Only cf-execd can send an email (the mailto and mailfrom is defined in 
the body executor control, which is used by cf-execd)
http://www.cfengine.org/manuals/cf3-reference.html#Reports-in-outputs

And a report is sent only if it differs from the previous report sent 
(to prevent having you mailbox full of redundant information)

Hope it help

Regards

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to