From e3f6c72278a26d5feafc900e8192fbc8c4d1d81d Mon Sep 17 00:00:00 2001 From: Victor Robellini Date: Sun, 12 Apr 2020 10:02:39 -0400 Subject: [PATCH] Added a readme for the gateway plugin since there are 2 versions. One for Python 2.7 and one for Python 3.7 --- ...egraf_gateways.py => telegraf_gateways-2.7.py} | 0 plugins/telegraf_gateways.md | 15 +++++++++++++++ 2 files changed, 15 insertions(+) rename plugins/{telegraf_gateways.py => telegraf_gateways-2.7.py} (100%) create mode 100644 plugins/telegraf_gateways.md diff --git a/plugins/telegraf_gateways.py b/plugins/telegraf_gateways-2.7.py similarity index 100% rename from plugins/telegraf_gateways.py rename to plugins/telegraf_gateways-2.7.py diff --git a/plugins/telegraf_gateways.md b/plugins/telegraf_gateways.md new file mode 100644 index 0000000..e655ebe --- /dev/null +++ b/plugins/telegraf_gateways.md @@ -0,0 +1,15 @@ + +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