# Feature: Metricbeat for showing statistics of nodes managed by chef.io

**URL:** <https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424>\
**Category:** Beats\
**Created:** [February 19, 2018, 9:58am UTC](https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424 "2018-02-19T09:58:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_H](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_h/32/94049_2.png) [@Christian\_H](https://discuss.elastic.co/u/Christian_H)\
**Post date:** [February 19, 2018, 9:58am UTC](https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424/1 "2018-02-19T09:58:12Z")

</div>

I use chef for automation. I want to build a dashboard where I can monitor the status of my nodes.

For example, I want to be able to see which nodes have been bootstrapped, when the last checked in, their uptime like in the chef server web UI.

Additionally, I would be great to collect the run duration of a chef-client's run when it runs automatically every x minutes or so. It would be useful as indicator of how long deployments are taking.

This is just an idea in the early stage. I'd really like to hear your feedback and opinions about it.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 19, 2018, 4:00pm UTC](https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424/2 "2018-02-19T16:00:58Z")

</div>

I wonder which of these stats are generic and which one are chef specific. Contributions to metribeat modules are always very welcome 😉

> which nodes have been bootstrapped:

How can you tell a node has been bootstrapped? Any kind of meta-data/file that might change over time?

> last checked in, uptime like in the chef server web UI

What kind of API do you use? You ask the server or agent? metricbeat provides a generic HTTP module, but a curated one might be nice to have.

> collect the run duration of a chef-client's run when it runs automatically every x minutes or so

Metricbeat system/process module queries active applications every now and then. For events on application start/stop (more detailed output), auditbeat might get you what you want. If the agent/server would provide this kind of information, it would be easier though.

Besides these information, some more stats and failures would be nice to have as well. Maybe also introduce a filebeat module shipping agent/server logs?  
If software/licenses are updated, versions/dates would be nice to have as well. That is, give the user a chance to see the system is really in the expected state.

---

<div class="post-metadata">

**Author:** ![Christian\_H](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_h/32/94049_2.png) [@Christian\_H](https://discuss.elastic.co/u/Christian_H)\
**Post date:** [February 21, 2018, 6:39pm UTC](https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424/3 "2018-02-21T18:39:37Z")

</div>

Sorry, I don't have time to think about a solution at the moment. So much stuff on my agenda. I just wanted to share my thoughts about what would be a nice feature

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2018, 9:58am UTC](https://discuss.elastic.co/t/feature-metricbeat-for-showing-statistics-of-nodes-managed-by-chef-io/120424/4 "2018-03-12T09:58:12Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
