OPNsense Forum
Archive => 17.7 Legacy Series => Topic started by: nycaleksey 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
-
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)
-
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.
-
@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.