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 6, 2018 in Other DevOps Questions by ffdfd
• 5,550 points
886 views

1 answer to this question.

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 6, 2018 by DareDev
• 6,890 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,680 points
920 views
0 votes
0 answers

How to get access token for Azure DevOps from Microsoft Teams app?

I integrated an MS Teams using tab with ...READ MORE

Mar 21, 2022 in Other DevOps Questions by Kichu
• 19,040 points
792 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 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,890 points
2,843 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP