OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Update telegraf package
« previous next »
  • Print
Pages: [1] 2

Author Topic: Update telegraf package  (Read 11511 times)

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Update telegraf package
« on: May 10, 2018, 01:15:44 pm »
Currently features like ping metrics from the telegraf plugin are more or less useless since rtt etc. is skipped in the reporting (to influxdb or others).

Telegraf 1.3.1 was releases on 2017-05-31. A more recent version in the package system would be great :)

cheers
Martin
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Update telegraf package
« Reply #1 on: May 10, 2018, 03:01:05 pm »
This is the version the plugin, not the package.
What features are you missing?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #2 on: June 01, 2018, 02:59:46 am »
Sorry for my late reply.

My mistake - its 1.6.3

I am missing the ping rtt etc. on opnsense i get:

Code: [Select]
# telegraf --config telegraf.conf --input-filter ping --test
* Plugin: inputs.ping, Collection 1
> ping,host=router.hamburg.test.de,url=8.8.8.8 result_code=0i 1527814612000000000
> ping,host=router.hamburg.test.de,url=heise.de result_code=0i 1527814612000000000

But it should be something like:
Code: [Select]
$ ./telegraf --config telegraf.conf --input-filter ping --test
* Plugin: ping, Collection 1
ping,host=WIN-PBAPLP511R7,url=www.google.com result_code=0i,average_response_ms=7i,maximum_response_ms=9i,minimum_response_ms=7i,packets_received=4i,packets_transmitted=4i,percent_packet_loss=0,percent_reply_loss=0,reply_received=4i 1469879119000000000
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Update telegraf package
« Reply #3 on: June 01, 2018, 07:13:50 am »
Perhaps this is a feature lack of the freebsd pkg from telegraf? There's no option for RTT so I don't think it's a problem with OPNsense itself.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: Update telegraf package
« Reply #4 on: June 01, 2018, 08:11:27 am »
Yes, we had 1.6.1 pre-18.1.9, but now it's 1.6.3.

We don't control the process for FreeBSD inclusion on a lot of software we use, mostly because capable individuals run these shows and we are happy consumers. Occasionally, this means package updates are delayed.


Cheers,
Franco
Logged

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #5 on: June 03, 2018, 01:02:42 am »
ok thank you.

Can you point me to the direction where i can find the source ? Seems that i am too ...

Cheers
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Update telegraf package
« Reply #6 on: June 03, 2018, 02:32:50 am »
https://github.com/influxdata/telegraf
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #7 on: June 04, 2018, 12:40:50 am »
i missed the point when they started building freebsd builds.

thank you

https://github.com/influxdata/telegraf/issues/4227
Logged

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #8 on: June 07, 2018, 12:04:53 am »
Ok - it should be fixed in 1.70. I will check the nightly build tomorrow.

Cheers
Logged

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #9 on: June 07, 2018, 11:19:19 am »
Its fixed in 1.70 nightly. Cheers :)
Logged

cguilford

  • Full Member
  • ***
  • Posts: 130
  • Karma: 15
    • View Profile
Re: Update telegraf package
« Reply #10 on: June 07, 2018, 05:49:01 pm »
Mind if I ask a newb question?  This isn't showing up when I check for Update?  How do I/can I force it to install?  I'm trying to figure out how to get this to work.
Logged

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #11 on: June 08, 2018, 01:33:59 am »
You need to wait for opnsense to release a new version with 1.70 onboard.

If you want to test it install the package from opnsense and replace the binary with the one from the nighly build:

https://github.com/influxdata/telegraf
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: Update telegraf package
« Reply #12 on: June 12, 2018, 09:49:24 am »
You mean 1.7.0 ? It's currently release candidate so there is no release yet from upstream.


Cheers,
Franco
Logged

mbosner

  • Newbie
  • *
  • Posts: 43
  • Karma: 1
    • View Profile
Re: Update telegraf package
« Reply #13 on: July 17, 2018, 02:27:42 am »
Sorry for the late reply.

Yes, I was talking about 1.7.0. In the meantime they released 1.7.0 (2018-06-12 - the day of your last post - just some hours later ;) and 1.7.1 .

Thank you
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: Update telegraf package
« Reply #14 on: July 18, 2018, 11:50:52 pm »
FreeBSD ports doesn't seem to pick it up. I'll try to prod the maintainer.


Cheers,
Franco
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Update telegraf package
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2