Long running chef-client executions

0 votes

I have tried this so many times.

  • I'm using a open-source chef server managing about 150 nodes.
  • Analytics/Reporting module is not activated in the chef server due to resource constraints.
  • "chef-client" is running on all the nodes every 30 minutes

How can I find, how much time each chef-client run is taking to complete? I'm trying to find the nodes that are slowest in completing their chef-client runs

Jun 20, 2018 in Chef by shubham
• 6,480 points
26 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You can try the following steps.

Chef Server doesn't store this information.

You'll need to manage it yourself, possibly using a handler as linked above in the comments. A simple option would be to make a handler which stores the duration of the last run as a node attribute, but the sky is the limit. If you want something to help debug long runs once you find them, check out my poise-profiler cookbook.

I hope the above information would be helpful to you.

answered Jun 20, 2018 by shubham
• 6,480 points

Related Questions In Chef

0 votes
1 answer

How do I run chef client?

You've kinda answered your own question there. ...READ MORE

answered Jun 14, 2018 in Chef by ajs3033
• 7,000 points
17 views
+1 vote
2 answers

Unable To Create a Chef Node "ChefNode2"

Try giving the password to access your ...READ MORE

answered Oct 16, 2018 in Chef by Kalgi
• 35,800 points
192 views
+2 votes
3 answers

Using attributes in Chef

There are 6 different types of attributes: default: A default attribute ...READ MORE

answered Oct 23, 2018 in Chef by Aditya
171 views
0 votes
1 answer

How do I Force push a recipe to the end of run_list Iin Chef?

Here is a concept which you can ...READ MORE

answered Aug 7, 2018 in Chef by Damon Salvatore
• 5,250 points
25 views
+3 votes
4 answers

Chef vs puppet

Both chef and puppet have their own ...READ MORE

answered Aug 13, 2018 in Chef by Sahil
237 views
+13 votes
2 answers
0 votes
1 answer
+5 votes
2 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.