{"id":26654148,"url":"https://github.com/nukedev/pfsense-custom-telegraf-plugins","last_synced_at":"2025-04-11T07:18:56.590Z","repository":{"id":271308439,"uuid":"656635535","full_name":"NukeDev/pfsense-custom-telegraf-plugins","owner":"NukeDev","description":"Custom metrics plugins for Telegraf using pfSense","archived":false,"fork":false,"pushed_at":"2025-01-06T22:32:38.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T04:57:27.839Z","etag":null,"topics":["grafana","influxdb","metrics","pfsense","telegraf"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NukeDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-21T10:32:33.000Z","updated_at":"2025-01-06T22:32:42.000Z","dependencies_parsed_at":"2025-01-06T23:34:41.025Z","dependency_job_id":"86c32f9c-f96b-4d02-90ce-6a1611640e73","html_url":"https://github.com/NukeDev/pfsense-custom-telegraf-plugins","commit_stats":null,"previous_names":["nukedev/pfsense-custom-telegraf-plugins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NukeDev%2Fpfsense-custom-telegraf-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NukeDev%2Fpfsense-custom-telegraf-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NukeDev%2Fpfsense-custom-telegraf-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NukeDev%2Fpfsense-custom-telegraf-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NukeDev","download_url":"https://codeload.github.com/NukeDev/pfsense-custom-telegraf-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358603,"owners_count":21090405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana","influxdb","metrics","pfsense","telegraf"],"created_at":"2025-03-25T04:57:31.667Z","updated_at":"2025-04-11T07:18:56.561Z","avatar_url":"https://github.com/NukeDev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Install\n\nThese plugins are used to add custom metrics, which can be sent with Telegraf to an influx db. These metrics are usually displayed later with Grafana.\n\nThere are currently 3 plugins:\n\n- **telegraf_pfifgw.php**: Collects additional information about network cards, including gateway, packet loss and ping.\n- **telegraf_temperature.sh**: Collects system and CPU temperatures.\n- **telegraf_pinger_ploss.sh**: Allows collecting the ping in ms and packet loss in percentage, of some hosts that can be configured within it.\n- **telegraf_old_gateways.py (for pfSense \u003c 2.4.5)**: Collects additional information gateway, rtt, rttsd and loss.\n- **telegraf_new_gateways.py (for pfSense \u003e= 2.4.5)**: Collects additional information gateway, rtt, rttsd and loss.\n\nPlugins can be added on pfSense using the \"Filer\" package.\n\nFiles created must have permissions **0755**\n\nNext, the advanced configuration of Telegraf, again on pfSense, must be modified by importing the previously created files with the correct path.\n\n# Additional configuration for Telegraf\n\n### pfSense \u003c 2.4.5\n\n```\n[[inputs.exec]]\ncommands = [\n  \"/usr/local/libexec/telegraf/telegraf_old_gateways.py\",\n  \"/usr/local/bin/telegraf_pfifgw.php\",\n  \"sh /usr/local/bin/telegraf_temperature.sh\",\n  \"sh /usr/local/bin/telegraf_pinger_ploss.sh\"\n]\ntimeout = \"10s\"\ndata_format = \"influx\"\n```\n\n### pfSense \u003e= 2.4.5\n\n```\n[[inputs.exec]]\ncommands = [\n  \"/usr/local/libexec/telegraf/telegraf_new_gateways.py\",\n  \"/usr/local/bin/telegraf_pfifgw.php\",\n  \"sh /usr/local/bin/telegraf_temperature.sh\",\n  \"sh /usr/local/bin/telegraf_pinger_ploss.sh\"\n]\ntimeout = \"10s\"\ndata_format = \"influx\"\n```\n\n## Grafana Dashboard\n\n- **grafana-dashboard.json**: This is my personal grafana dashboard, you can download it and import into yours.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukedev%2Fpfsense-custom-telegraf-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnukedev%2Fpfsense-custom-telegraf-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukedev%2Fpfsense-custom-telegraf-plugins/lists"}