{"id":13529834,"url":"https://github.com/toni-moreno/snmpcollector","last_synced_at":"2026-01-28T17:16:50.320Z","repository":{"id":43868208,"uuid":"56316007","full_name":"toni-moreno/snmpcollector","owner":"toni-moreno","description":"A full featured  Generic SNMP data collector with Web Administration Interface  for InfluxDB","archived":false,"fork":false,"pushed_at":"2023-12-18T23:01:40.000Z","size":12588,"stargazers_count":284,"open_issues_count":43,"forks_count":53,"subscribers_count":39,"default_branch":"master","last_synced_at":"2024-08-02T07:10:50.190Z","etag":null,"topics":["cacti","collector","discovery","golang","influxdb","metrics","monitoring","networking","opennms","performance","performance-monitoring","qos","snmp","solarwinds","time-series"],"latest_commit_sha":null,"homepage":"","language":"Go","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/toni-moreno.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-04-15T11:43:20.000Z","updated_at":"2024-07-12T18:21:27.000Z","dependencies_parsed_at":"2024-01-02T23:41:52.364Z","dependency_job_id":"2ad9b015-b106-4348-97d4-71021600eefe","html_url":"https://github.com/toni-moreno/snmpcollector","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni-moreno%2Fsnmpcollector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni-moreno%2Fsnmpcollector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni-moreno%2Fsnmpcollector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toni-moreno%2Fsnmpcollector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toni-moreno","download_url":"https://codeload.github.com/toni-moreno/snmpcollector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222748160,"owners_count":17031897,"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":["cacti","collector","discovery","golang","influxdb","metrics","monitoring","networking","opennms","performance","performance-monitoring","qos","snmp","solarwinds","time-series"],"created_at":"2024-08-01T07:00:39.817Z","updated_at":"2026-01-28T17:16:45.298Z","avatar_url":"https://github.com/toni-moreno.png","language":"Go","funding_links":[],"categories":["Misc","Collecting data into InfluxDB","Go","Tools"],"sub_categories":["Projects","GUIs"],"readme":"# SnmpCollector [![Go Report Card](https://goreportcard.com/badge/github.com/toni-moreno/snmpcollector)](https://goreportcard.com/report/github.com/toni-moreno/snmpcollector)\n\nSnmpCollector is a full featured Generic SNMP data collector with Web Administration Interface Open Source tool which has as main goal simplify  the configuration for getting data from any  device which snmp protocol support and send resulting data to an influxdb backend.\n\nFor complete information on installation from binary package and configuration you could read the [snmpcollector wiki](https://github.com/toni-moreno/snmpcollector/wiki).\n\nIf you wish to compile from source code you can follow the next steps\n\n## Run from master\nIf you want to build a package yourself, or contribute. Here is a guide for how to do that.\n\n### Dependencies\n\n- Go 1.5 for snmpcollector \u003c 0.8\n- Go 1.11 for snmpcollector \u003e= 0.8\n- NodeJS \u003e=6.2.1\n\n### Get Code and  setup example config\n\n```bash\ngit clone https://github.com/toni-moreno/snmpcollector.git\ncd snmpcollector\ncp conf/sample.config.toml conf/config.toml\n```\n\n### Building the backend\n\n\n```bash\ngo run build.go build           \n```\n\n### Building frontend and backend in production mode\n\n```bash\nnpm install\nPATH=$(npm bin):$PATH            # or export PATH=$(npm bin):$PATH depending on your shell\nnpm run build:prod               # will build fronted and backend\n```\n\n### Creating minimal package tar.gz\n\nAfter building frontend and backend you wil do\n\n```bash\nnpm run postbuild #will build fronted and backend\n```\n\n### Creating rpm and deb packages\n\nyou  will need previously installed the fpm/rpm and deb packaging tools.\nAfter building frontend and backend  you will do.\n\n```bash\ngo run build.go latest\n```\n\n### Running first time\nTo execute without any configuration you need a minimal config.toml file on the conf directory.\n\n```bash\ncp conf/sample.config.toml conf/config.toml\n./bin/snmpcollector\n```\n\nThis will create a default user with username *adm1* and password *adm1pass* (don't forget to change them!).\n\n### Recompile backend on source change (only for developers)\n\n```bash\ngo get github.com/unknwon/bra\nnpm start\n```\nwill init a change autodetect webserver with angular-cli (ng serve) and also a autodetect and recompile process with bra for the backend\n\n\n#### Online config\n\nNow you wil be able to configure metrics/measuremnets and devices from the builting web server at  http://localhost:8090 or http://localhost:4200 if working in development mode (npm start)\n\n### Offline configuration.\n\nYou will be able also insert data directly on the sqlite db that snmpcollector has been created at first execution on config/snmpcollector.db examples on example_config.sql\n\n```\ncat conf/example_config.sql |sqlite3 conf/snmpcollector.db\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni-moreno%2Fsnmpcollector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoni-moreno%2Fsnmpcollector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni-moreno%2Fsnmpcollector/lists"}