agent reports and syslog

67 views
Skip to first unread message

NWa...@symcor.com

unread,
Jan 28, 2010, 3:04:29 PM1/28/10
to help-c...@cfengine.org
Do agent reports always go to syslog? I disabled my agent and executor
*facility control settings yet reports are still going to syslog.

Sincerely,
--
Neil Watson
416-673-3465

Fraser Campbell

unread,
Feb 28, 2013, 3:31:20 PM2/28/13
to help-c...@googlegroups.com, help-c...@cfengine.org, NWa...@symcor.com
On Thursday, January 28, 2010 3:04:29 PM UTC-5, NWa...@symcor.com wrote:
Do agent reports always go to syslog? I disabled my agent and executor
*facility control settings yet reports are still going to syslog. 

I'm interested in this as well.  Can we stop the messages to syslog? I prefer to gather my reports in other ways ...

http://cfengine.com/manuals/cf3-Reference#syslog-in-agent is supposed to default to false and is described as "true/false switches on output to syslog at the inform level".  I get all output duplicated to syslog regardless of false, no or off value of syslog.

Am I doing something wrong?  Here's a self contained policy, I'd like the output on stdout (captured to /var/cfengine/outputs) but don't want it to also go to syslog:

body agent control {
  syslog => "false";
}


body common control {
  bundlesequence => { "test" };
}


bundle agent test {
  reports:
    linux::
        "Hi I'm a linux server";
}

Thanks,
Fraser

Neil Watson

unread,
Feb 28, 2013, 3:41:34 PM2/28/13
to help-c...@googlegroups.com, help-c...@cfengine.org
A blast from the past :) There are some open bugs about syslog and
reports:

https://cfengine.com/bugtracker/view.php?id=998
https://cfengine.com/dev/issues/1646

--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
Reply all
Reply to author
Forward
0 new messages