[rudder-users] Log rudder-agent

Nicolas Charles nicolas.charles at normation.com
Wed Feb 27 15:06:13 CET 2013


On 27/02/2013 14:55, Le Haies Cyrille wrote:
>
> Hello,
>
> I use directive « Download a file from a shared folder » to install my 
> server.
>
> I download archive and compil it with a series of instructions in 
> « post-modification ».
>
> But when i installed a new serveur with only rudder-agent, the archive 
> are download and the post-modification instruction are not executed, i 
> deleted my archive on my new server and execute 
> /var/rudder/cfengine-community/bin/cf-agent --KI and  it's works
>
> Can i have a log file when rudder-agent work automatically the same 
> when i run /var/rudder/cfengine-community/bin/cf-agent --KI ?
>
> Thanks,
>
> Cyrille
>

Hello Cyrille,

This bug is quite annoying. You are sure that Rudder didn't execute the 
command in the first time ?
There are no way to get a log like what you get when you run cf-agent 
-KI, since the I is a manual modifier to run it in "Inform" mode. 
However, you can access to the Technical log on the node screen, which 
shows the last 1000 reports from the agent (and you can search within). 
If it's not sufficient, you may also have a look to 
/var/rudder/cfengine-community/outputs, which contains timestamped 
output of all the CFEngine runs

Does it answer your need ?
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20130227/f6fd45b6/attachment.html>


More information about the rudder-users mailing list