OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Telegraf in 17.7.7_1
« previous next »
  • Print
Pages: [1]

Author Topic: Telegraf in 17.7.7_1  (Read 2569 times)

nycaleksey

  • Newbie
  • *
  • Posts: 24
  • Karma: 3
    • View Profile
Telegraf in 17.7.7_1
« on: October 27, 2017, 02:44:50 pm »
Hi,

I am running 17.7.7_1 and deployed the newly published Telegraf plugin. It works fine except for one missing item - network traffic. Seems like Telegraf does not report NIC activity counters. The firewall has two Intel NICs, both using stock 7.6.1-k driver. Does anyone here run Telegraf plugin with NIC counters being reported ?

Thank you,

Aleksey
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6332
  • Karma: 435
    • View Profile
Re: Telegraf in 17.7.7_1
« Reply #1 on: October 27, 2017, 03:56:09 pm »
Did they work without the plugin? Or better, did you run telegraf via CLI?
I didn't add it since it doesn't show any graphs for me (I was guessing not supported on FreeBSD)
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

nycaleksey

  • Newbie
  • *
  • Posts: 24
  • Karma: 3
    • View Profile
Re: Telegraf in 17.7.7_1
« Reply #2 on: October 27, 2017, 04:50:42 pm »
Turns out, all I had to do to enable NIC counters reporting was add “[[inputs.net]]” line to the bottom of telegraf.conf, and restart the telegraf service.
It doesn’t survive the reboots though.
Logged

nycaleksey

  • Newbie
  • *
  • Posts: 24
  • Karma: 3
    • View Profile
Re: Telegraf in 17.7.7_1
« Reply #3 on: October 27, 2017, 11:52:17 pm »
@mimugmail - Thank you very much for creating this plugin.

I have added support for NIC statistics collection and created Pull request 348 with the changes.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Telegraf in 17.7.7_1
 

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