# Error while sending mongodb.status on mac os 10.11 using metricbeat 5.0

**URL:** <https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713>\
**Category:** Beats\
**Created:** [November 10, 2016, 6:37pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713 "2016-11-10T18:37:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhomart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhomart/32/13102_2.png) [@Zhomart](https://discuss.elastic.co/u/Zhomart)\
**Post date:** [November 10, 2016, 6:37pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/1 "2016-11-10T18:37:41Z")

</div>

I followed [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-mongodb.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-mongodb.html) doc, still getting error. What could be the problem?

Configuration and output is here

[https://gist.github.com/Zhomart/9f37598e71c7a1f0403f2d488fddac05](https://gist.github.com/Zhomart/9f37598e71c7a1f0403f2d488fddac05)

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 11, 2016, 11:42am UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/2 "2016-11-11T11:42:22Z")

</div>

It seems like some metrics are missing in your mongodb installations. Which version of mongodb are you using? I assume the data is still shipped to elasticsearch, you only see some errors in the log file?

---

<div class="post-metadata">

**Author:** ![Zhomart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhomart/32/13102_2.png) [@Zhomart](https://discuss.elastic.co/u/Zhomart)\
**Post date:** [November 11, 2016, 3:06pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/3 "2016-11-11T15:06:27Z")

</div>

I use 3.2.9

```auto
$ mongod --version
db version v3.2.9
git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
allocator: system
modules: none
build environment:
    distarch: x86_64
    target_arch: x86_64

```

Here is the full output [https://gist.github.com/Zhomart/1babae5dc915ccdd1052948f6ea0aa52](https://gist.github.com/Zhomart/1babae5dc915ccdd1052948f6ea0aa52)

You're right, data is still shipped. This error is just keep showing only.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 14, 2016, 1:27pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/4 "2016-11-14T13:27:19Z")

</div>

We tested the module with mongodb 3.0. I just checked and it seems in 3.2 (and 3.4) quite a few of the statistics fields were removed or moved. Can you open a Github issue for that?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 14, 2016, 3:14pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/5 "2016-11-14T15:14:30Z")

</div>

BTW: Just realised there is already an issue posted for it here: [https://github.com/elastic/beats/issues/2990](https://github.com/elastic/beats/issues/2990)

---

<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:** [December 1, 2016, 6:37pm UTC](https://discuss.elastic.co/t/error-while-sending-mongodb-status-on-mac-os-10-11-using-metricbeat-5-0/65713/6 "2016-12-01T18:37:49Z")

</div>

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