how to check runtime for chef-client executions?

0 votes
  • We are using an 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

I want to know what's the runtime for each node to complete their chef-client run.

Jul 5, 2018 in Other DevOps Questions by Atul
• 5,490 points
24 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

 Chef doesn't have the mechanism to save this info. You need to this yourself by using a handler like docs.chef.io/handlers.html#id3 . You can make a handler which stores the duration of the last run as node attribute.  

answered Jul 5, 2018 by DareDev
• 6,670 points

Related Questions In Other DevOps Questions

0 votes
1 answer
0 votes
1 answer

How to use Powershell DSC for application installation?

Occasionally folks want to be able to ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
29 views
+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 56,140 points
113 views
0 votes
1 answer

How to get results of SonarQube?

You can use sonarqube quality gates which ...READ MORE

answered Jun 8, 2018 in Other DevOps Questions by ajs3033
• 7,080 points
346 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,670 points
178 views

© 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.