# Can't enable metric modules in version 7.6

**URL:** https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449
**Category:** Beats
**Tags:** metricbeat
**Created:** [March 6, 2020, 11:49am UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449 "2020-03-06T11:49:04Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Detlef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/detlef/32/38723_2.png) [@Detlef](https://discuss.elastic.co/u/Detlef)
#### Post date: [March 6, 2020, 11:49am UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/1 "2020-03-06T11:49:05Z")

</div>

Hi,  
I can't list/enable/disable modules for metricbeat with the given programs. The metricbeat version is at the current latest version of 7.6.

The output I recieve looks like this on all systems:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6fd7ccb2604240a099217f843744a8e4c9b17d33.png)

I have Ubuntu 18.04 LTS and CentOS 7 in the latest patch level in my test environment.

Cheers  
Detlef

---

<div class="post-metadata">

### Author: ![Alex\_Kristiansen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_kristiansen/32/46086_2.png) [@Alex\_Kristiansen](https://discuss.elastic.co/u/Alex_Kristiansen)
#### Post date: [March 10, 2020, 2:30pm UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/2 "2020-03-10T14:30:11Z")

</div>

How did you install metricbeat? Are the module files in your `modules.d` directory?

---

<div class="post-metadata">

### Author: ![Detlef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/detlef/32/38723_2.png) [@Detlef](https://discuss.elastic.co/u/Detlef)
#### Post date: [March 10, 2020, 3:25pm UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/3 "2020-03-10T15:25:43Z")

</div>

Hi Alex,

I've used the yum packages available for CentOS 7. The modules directory under `/etc/metricbeat/modules.d` contains the required files.  
For Ubuntu 18.04 LTS I've used the apt packages accordingly.

On both platforms the behavior is identical.

Cheers  
Detlef

---

<div class="post-metadata">

### Author: ![Alex\_Kristiansen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_kristiansen/32/46086_2.png) [@Alex\_Kristiansen](https://discuss.elastic.co/u/Alex_Kristiansen)
#### Post date: [March 11, 2020, 2:56pm UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/4 "2020-03-11T14:56:12Z")

</div>

Alright, think I see what's happening. The packages install a script under `/bin/metricbeat` and the actual binary under `/usr/share/metricbeat...`

The script under `/bin` sets the paths properly. Do the commands work if you run `/bin/metricbeat modules list` ?

---

<div class="post-metadata">

### Author: ![Detlef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/detlef/32/38723_2.png) [@Detlef](https://discuss.elastic.co/u/Detlef)
#### Post date: [March 11, 2020, 3:15pm UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/5 "2020-03-11T15:15:32Z")

</div>

Hi Alex,

you fixed my issue. But I believe it is time to change the documentation accordingly.

Thanks for your assistance.

Cheers  
Detlef

---

<div class="post-metadata">

### Author: ![Alex\_Kristiansen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_kristiansen/32/46086_2.png) [@Alex\_Kristiansen](https://discuss.elastic.co/u/Alex_Kristiansen)
#### Post date: [March 11, 2020, 7:51pm UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/6 "2020-03-11T19:51:32Z")

</div>

Detlef,

What documentation are you referring to?

---

<div class="post-metadata">

### Author: ![Detlef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/detlef/32/38723_2.png) [@Detlef](https://discuss.elastic.co/u/Detlef)
#### Post date: [March 12, 2020, 11:13am UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/7 "2020-03-12T11:13:40Z")

</div>

I read the documentation on [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-configuration.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-configuration.html). I read the line for Mac and Linux. I wasn't aware, that elastic extended the command stack in directory `/bin`. Reading this page carefully, you have stated, that you have metricbeat in the search path of the OS, if you used RPM or DEB packages to install metricbeat.  
So, it is up to you to clarify on this. It isn't best best practice to have similar commands (here: metricbeat) with different behavior.

---

<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: [April 9, 2020, 11:13am UTC](https://discuss.elastic.co/t/cant-enable-metric-modules-in-version-7-6/222449/8 "2020-04-09T11:13:45Z")

</div>

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