{"id":13580856,"url":"https://github.com/robcowart/influx_snmp","last_synced_at":"2025-04-06T06:32:03.971Z","repository":{"id":119626029,"uuid":"145820635","full_name":"robcowart/influx_snmp","owner":"robcowart","description":"SNMP Data Collection and Analytics with the TICK Stack (Telegraf, InfluxDB, Chronograf and Kapacitor)","archived":true,"fork":false,"pushed_at":"2022-01-14T17:38:50.000Z","size":311,"stargazers_count":29,"open_issues_count":0,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-05T20:46:36.694Z","etag":null,"topics":["chronograf","influxdata","influxdb","kapacitor","snmp","telegraf","tick-stack"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robcowart.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":"2018-08-23T07:56:26.000Z","updated_at":"2023-12-01T02:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"559b4ef8-d21f-4c14-a5c4-e0e3be170b5a","html_url":"https://github.com/robcowart/influx_snmp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robcowart%2Finflux_snmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robcowart%2Finflux_snmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robcowart%2Finflux_snmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robcowart%2Finflux_snmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robcowart","download_url":"https://codeload.github.com/robcowart/influx_snmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445649,"owners_count":20939952,"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":["chronograf","influxdata","influxdb","kapacitor","snmp","telegraf","tick-stack"],"created_at":"2024-08-01T15:01:55.702Z","updated_at":"2025-04-06T06:32:03.965Z","avatar_url":"https://github.com/robcowart.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# THIS REPOSITORY IS ARCHIVED AND SHOULD NOT BE USED!!!\n\n## While Telegraf's SNMP input has some advantages over other open source options, the simple fact is that it has serious deficiencies that make it almost useless for anything beyond the simplest low-scale use-cases. If I ever find an SNMP poller worth recommending I will note it here at that time.\n\n# SNMP Data Collection and Analytics with the TICK Stack\n`influx_snmp` provides a solution for SNMP data collection and analytics using InfluxData's TICK Stack - Telegraf, InfluxDB, Chronograf and Kapacitor.\n\n![influx_snmp](https://user-images.githubusercontent.com/10326954/54396081-11e73980-46b2-11e9-894c-0ca229ad3d8b.png)\n\n## \"Dockerized\" Telegraf for SNMP Polling\nTo poll a device, a container of the appropriate type is configured and run. docker-compose provides a mechanism to easily configure and start multiple containers for the various devices in your infrastructure. An example `docker-compose.yml` file is provided, including an example of using a environment variable file to set global settings.\n\nThe containers are available on Docker Hub [HERE](https://hub.docker.com/r/robcowart/telegraf-snmp).\n\nThe following is an example `docker-compoase.yml` file, which polls three different device type-specific containers:\n\n```\nversion: '3'\nservices:\n  snmp-rt1:\n    image: robcowart/telegraf-snmp:0.0.1_ubiquiti_edgeos_base\n    container_name: snmp-rt1\n    restart: unless-stopped\n    hostname: snmp-rt1\n    network_mode: host\n    env_file:\n      - influx_snmp.env\n    environment:\n      TELEGRAF_SNMP_AGENT: \"192.0.2.1:161\"\n      TELEGRAF_SNMP_AGENT_TYPE: ubiquiti_edgeos\n      TELEGRAF_SNMP_HOST: rt1\n\n  snmp-sw1:\n    image: robcowart/telegraf-snmp:0.0.1_juniper_ex\n    container_name: snmp-sw1\n    restart: unless-stopped\n    hostname: snmp-sw1\n    network_mode: host\n    env_file:\n      - influx_snmp.env\n    environment:\n      TELEGRAF_SNMP_AGENT: \"192.0.2.2:161\"\n      TELEGRAF_SNMP_AGENT_TYPE: juniper_ex\n      TELEGRAF_SNMP_HOST: rt2\n\n  snmp-wlan1:\n    image: robcowart/telegraf-snmp:0.0.1_engenius_wifi\n    container_name: snmp-wlan1\n    restart: unless-stopped\n    hostname: snmp-wlan1\n    network_mode: host\n    env_file:\n      - influx_snmp.env\n    environment:\n      TELEGRAF_SNMP_AGENT: \"192.0.2.5:161\"\n      TELEGRAF_SNMP_AGENT_TYPE: engenius_wifi\n      TELEGRAF_SNMP_HOST: wlan1\n```\n\nThe external environment variable file `influx_snmp.env` for _global_ settings:\n\n```\n# The SNMP query timeout.\nTELEGRAF_SNMP_TIMEOUT=5s\n\n# polling interval.\nTELEGRAF_SNMP_INTERVAL=60s\n\n# SNMPv1/v2c community string\nTELEGRAF_SNMP_COMMUNITY=public\n\n# SNMPv3 credentials\nTELEGRAF_SNMP_SEC_NAME=username\nTELEGRAF_SNMP_AUTH_PROTOCOL=MD5\nTELEGRAF_SNMP_AUTH_PASSWORD=changeme\nTELEGRAF_SNMP_SEC_LEVEL=authNoPriv\n\n# InfluxDB instance, credentials and DB name.\nTELEGRAF_SNMP_INFLUXDB_URL=http://192.168.9.11:8086\nTELEGRAF_SNMP_INFLUXDB_USER=admin\nTELEGRAF_SNMP_INFLUXDB_PASSWD=changeme\nTELEGRAF_SNMP_DATABASE=snmp\n```\n\n\u003e You can also easily run InfluxDB, Kapacitor, Chronograf and even Grafana in Docker containers. A `docker-compose.yml` file to help you get started is available [HERE](https://github.com/robcowart/docker_compose_cookbook/blob/master/STACKS/influx_oss/docker-compose.yml).\n\n## Building the Docker Containers\n\nThis repository includes the configuration and scripts to build containers for each supported device type.\n\n## To-Do\n\n* More Chronograf and/or Grafana Dashboards\n* Kapacitor Alerts\n* Additional device support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobcowart%2Finflux_snmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobcowart%2Finflux_snmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobcowart%2Finflux_snmp/lists"}