OPNsense-Dashboard/plugins
2021-11-20 01:36:28 -06:00
..
README.md Update README.md 2021-11-19 16:53:27 -06:00
telegraf_pfifgw.php Removed unused variables 2021-11-20 01:36:28 -06:00
telegraf_temperature.sh Initial changes to convert to OPNsense 2021-11-17 18:33:51 -06:00

Installing the Plugins

Place these plugins in "/usr/local/bin". The easiest way of doing this would be to SSH into your router, navigate to "/usr/local/bin" and use curl to download the files, like so:

curl https://raw.githubusercontent.com/Bsmith101/OPNsense-Dashboard/master/plugins/telegraf_pfifgw.php -o telegraf_pfifgw.php

curl https://raw.githubusercontent.com/Bsmith101/OPNsense-Dashboard/master/plugins/telegraf_temperature.sh -o telegraf_temperature.sh

Make sure to set the permissions to "755"

telegraf_pfifgw.php

This single script collects information for Interfaces and gateways.

Interfaces:

  • Interface name
  • IP4 address
  • IP4 subnet
  • IP6 address
  • IP6 subnet
  • MAC address
  • Friendly name
  • Status (Online/Offline/Etc.)

Gateways:

  • Interface name
  • Monitor IP
  • Source IP
  • GW Description
  • Delay
  • Stddev
  • Loss (%)
  • Status (Online/Offline/etc.)