Forum: Cfengine Help
Subject: Possible to kill cf-agent if execution is longer than XYZ seconds?
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,21607,21607#msg-21607

I'm starting to see instances where I am getting a pile-up of cf-agent 
executions.  This can happen from the output of an external object like "yum" 
or a command like "prtdiag" hanging on the client.

Is there a way to instruct cf-execd to terminate its execution of cf-agent if 
execution takes longer than, say, 2m?  If I could raise a class / send a 
notification when cf-agent is hanging on something, then a human could look at 
it and figure out why its hanging / whats wrong with the system.

Thanks
Mike

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to