# Kibana Monitoring Elasticsearch nodes doesn't show CPU usage

**URL:** <https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505>\
**Category:** Kibana\
**Created:** [May 20, 2017, 2:38am UTC](https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505 "2017-05-20T02:38:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaquisar1](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jaquisar1](https://discuss.elastic.co/u/jaquisar1)\
**Post date:** [May 20, 2017, 2:38am UTC](https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505/1 "2017-05-20T02:38:30Z")

</div>

I'm having an issue with CPU stats shown for Elasticsearch nodes in Kibana Monitoring.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b720d23c1d2c49348c9dd0ed3a3170bfc55a21c7.jpg)

The problem is that CPU Usage is always 0.

Kibana and Elasticsearch both run as docker containers and version 5.3.2.

Checking the kibana requests using the browser's developer tools I can see that the request to /api/monitoring/v1/clusters/uuid/elasticsearch/nodes returns:

```
            "node_cgroup_quota": {
                "metric": {
                    "app": "elasticsearch",
                    "field": "node_stats.process.cpu.percent",
                    "label": "Cgroup CPU Utilization",
                    "title": "CPU Utilization",
                    "description": "CPU Usage time compared to the CPU quota shown in percentage. If CPU quotas are not set, then the OS level CPU usage in percentage is shown.",
                    "units": "%",
                    "format": "0,0.[00]"
                },
                "min": null,
                "max": null,
                "slope": null
            },

```

The weird thing is that if I go to a node's detail page it shows cpu usage:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/1/710a651da82a1056340c17b628e7039b3a412710.png)

Is there any configuration I'm missing? This was a 5.1.1 cluster that was upgraded to 5.3.2, and when it was 5.1.1 cpu stats were showing fine.

Thanks!

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [May 23, 2017, 5:33am UTC](https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505/2 "2017-05-23T05:33:15Z")

</div>

Hi @jaquisar1,

The fact that the node list is showing the CPU Throttling suggests that someone has enabled the Monitoring UI Container settings:

[https://www.elastic.co/guide/en/x-pack/current/monitoring-settings.html#monitoring-ui-cgroup-settings](https://www.elastic.co/guide/en/x-pack/current/monitoring-settings.html#monitoring-ui-cgroup-settings)

Given that there is no throttling (all zeroes), I assume these are not running in containers, so this setting should be turned off in the `kibana.yml`, which is its default value (so it can be removed):

```auto
xpack.monitoring.ui.container.elasticsearch.enabled: false

```

---

<div class="post-metadata">

**Author:** ![jaquisar1](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jaquisar1](https://discuss.elastic.co/u/jaquisar1)\
**Post date:** [May 23, 2017, 9:38pm UTC](https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505/3 "2017-05-23T21:38:57Z")

</div>

Thank you @pickypg!! You pointed me in the right direction.

At first I was running Kibana with a custom docker image and then I moved to `docker.elastic.co/kibana/kibana` image, the new image has the setting you mentioned in true ([https://www.elastic.co/guide/en/kibana/current/\_configuring\_kibana\_on\_docker.html#\_docker\_defaults](https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html#_docker_defaults)).

In order to disable it I added the `XPACK_MONITORING_UI_CONTAINER_ELASTICSEARCH_ENABLED` with `false`.

Thanks!

---

<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:** [June 20, 2017, 9:39pm UTC](https://discuss.elastic.co/t/kibana-monitoring-elasticsearch-nodes-doesnt-show-cpu-usage/86505/4 "2017-06-20T21:39:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
