Forum: CFEngine Help
Subject: Re: Darwin/OS X: cf-execd log entries
Author: [email protected]
Link to topic: https://cfengine.com/forum/read.php?3,27331,27374#msg-27374
Hi Diego,
I'm running 3.3.5 community edition on OS X 10.7.4.
Might it be the mailing system?
Although cf-execd executes cf-agent on a regular base
it doesn't send any mails - although configured to -
if cf-agent finds anything to repair...
body executor control {
splaytime => "1";
mailto => "[email protected]";
mailfrom => "cfengine@$(sys.host)";
smtpserver => "localhost";
executorfacility => "LOG_DAEMON";
mailmaxlines => "60";
schedule => { "Min00", "Min05", "Min10", "Min15", "Min20",
"Min25", "Min30", "Min35", "Min40", "Min45", "Min50", "Min55" };
exec_command => "$(sys.workdir)/bin/cf-agent -f failsafe.cf &&
$(sys.workdir)/bin/cf-agent";
}
cf-execd itself is started via an unspectecular plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Label
eu.ecologic.cf-execd
ProgramArguments
/private/var/cfengine/bin/cf-execd
StandardOutPath
/var/log/cf3execd.log
StandardErrorPath
/var/log/cf3execd.err
RunAtLoad
KeepAlive
Is there a simple way to check the mail api that cf-execd is trying to use?
mailx from the commandline is working,
LOG_DAEMON from cf-execd is working too.
TIA
Bernhard
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine