Victor Robellini 80963d9652 https://forum.netgate.com/topic/152132/grafana-dashboard-using-telegraf-with-additional-plugins/20
Thanks to @JohnKap the response times in the gateway plugin (3.7) now work.  The fix
would most likely work witht he 2.7 script as well, but I don't have time to test at the moment.
2020-04-16 10:53:55 -04:00
..
2020-04-12 10:16:36 -04:00
2020-04-02 01:09:24 -04:00

telegraf_gateways

Depending on how recent your pfSense install is, you may need to use the python 3.7 version of the plugin. If you are running 2.4.5, you probably want telegraf_gateways-3.7.py. They both output he same data in the same format.

All I did was copy telegraf_gateways-3.7.py to /usr/local/bin and rename it to telegraf_gateways.py

Python 2.7

Does /usr/local/bin/python2.7 exist on your pfSense system? If so, use this telegraf_gateways-2.7.py

Python 3.7

Does /usr/local/bin/python3.7 exist on your pfSense system? If so, use this telegraf_gateways-3.7.py

If you have both 2.7 and 3.7 on your system, use 3.7

Thanks to this thread, user bigjohns97 for following up and fastjack for the dev effort.

telegraf_netifinfo_plugin

This plugin is not in use on my system but it's still worth documenting.

I found a plugin to get IP, MAC, IF Name and Status. On this thread a user posts some go code for a telegraf plugin. I fired up a FreeBSD 11 ami on amazon, installed go and compiled a binary version of the code. It's worked as expected but my queries and formatting could use some help.

I saved the code as telegraf_netifinfo_plugin.go and compiled with the following commands:

setenv CGO_ENABLED 0
setenv GOOS freebsd
setenv GOARCH amd64
go build -o telegraf_netifinfo_plugin