# Jmx plugin 6.8 vs Fixnum/Bignum

**URL:** <https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686>\
**Category:** Logstash\
**Created:** [July 10, 2019, 8:06am UTC](https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686 "2019-07-10T08:06:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)\
**Post date:** [July 10, 2019, 8:06am UTC](https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686/1 "2019-07-10T08:06:27Z")

</div>

Upgraded logstash from 5.6 to 6.8 and found that the jmx plugin complained like this:

```
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-jmx-3.0.7/lib/
logstash/inputs/jmx.rb:178: warning: constant ::Fixnum is deprecated
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-jmx-3.0.7/lib/
logstash/inputs/jmx.rb:178: warning: constant ::Bignum is deprecated

```

Had to remove few former collected Mbeans to avoid this, Any clues why 6.8 plugin no longer supports these types?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 10, 2019, 2:10pm UTC](https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686/2 "2019-07-10T14:10:24Z")

</div>

Yeah, and when you get to 7.2 you also get 'Thread.exclusive is deprecated, use Thread::Mutex' when logstash starts.

The elastic team will need to clean these up, but they do no break anything at this point. They are just warning that some ruby features have been deprecated.

---

<div class="post-metadata">

**Author:** ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)\
**Post date:** [July 11, 2019, 7:47am UTC](https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686/3 "2019-07-11T07:47:44Z")

</div>

Hm just wondering why I had to remove few collectd mbeans with larger integer values to silent this, similar happened between es2 and es5 😕

---

<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:** [August 8, 2019, 7:56am UTC](https://discuss.elastic.co/t/jmx-plugin-6-8-vs-fixnum-bignum/189686/4 "2019-08-08T07:56:08Z")

</div>

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