help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with syslog


From: Arkadi Colson
Subject: Problems with syslog
Date: Mon, 07 Jun 2004 11:53:34 +0200

Hi,


I'm setting up cfengine for about 150 servers and I'm encountering difficulties with the syslog fascility of cfengine.
The problem is that when I use another module then shellcommands, these modules are not reporting anything to syslog.
So I started reading and found that there is an option Syslog " ". So when I use Syslog "true" into the editfiles section, syslog is reporting "Unknown action in editing of file [filename]" but he runned the action successfull.
I would like to see everything into the logging, even when an action was successfull. Is there any bug which is preventing logging?

Can anybody help me?


Here is my configuration:

control:

        smtpserver      = ( 10.32.240.101 )
        sysadm          = ( address@hidden )
        actionsequence  = ( editfiles shellcommands )
        Syslog          = ( on )
        SyslogFacility  = ( LOG_LOCAL3 )
        Verbose         = ( on )
        Warnings        = ( on )
        Inform          = ( on )
        Domain          = ( tess.elex.be )
        SplayTime       = ( 0 )

groups:
        allservers = ( kerberos )

shellcommands:
        allservers::
                "/bin/touch /home/arc/helloooo"

editfiles:
        allservers::
                { /home/arc/testeditfiles
           Syslog "on"
                DeleteLinesContaining "qwerty"
                }

alerts:
        allservers::
                "hallihallo $(host)" ifelapsed=0



Thanks in advance,
        Arkadi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]