
0
Completed
How can I get the full execution log of a Directive the is in error state in a node?
When a Directive is in error state, is there any way to get the full log of the commands executed to investigate which was the problem?
I only get messages like "Job failed on last completed execution"
Customer support service by UserEcho
You may see some details about what happened on a node in its ouput files
Those files are located on the Node in /var/rudder/cfengine-community/outputs
There is one for each agent run but I don't know if you will find the information you need ...
Maybe you can get more information by running the agent with more details:
To run in info mode: rudder agent run -i
To run in verbose (but it's veeeeeeeeeeeeeeeeeeeery verbose) : rudder agent run -v
Is it a JobScheduler technique ??
Hi Vince,
I try with Scheduled jobs and Command Execution, but I have the same problem with any Technique.
I need to see the full commands output en server side.
Going to look logs in nodes is not an option for me, I have about 200 nodes, all of them behind firewalls and without direct ssh connection, (each node is a server from a customer of my products).
I'm testing Rudder and Puppet + TheForeman.
In puppet you can get a full log of command execution in server side with something like:
I'm trying to get the same in Rudder but I can't.
It is posible?
Regards
I see your response about command output on ServerFault.
https://serverfault.com/questions/887598/get-output-of-command-execution-in-rudder
Thank you.