{"id":15481879,"url":"https://github.com/mafairnet/asterisk-telegraf-integration","last_synced_at":"2025-04-22T15:25:37.377Z","repository":{"id":75652987,"uuid":"297149052","full_name":"mafairnet/asterisk-telegraf-integration","owner":"mafairnet","description":"Telegraf integration (NON OFFICIAL) to Monitor Asterisk VoIP Open Source Software with basica metrics like calls, SIP peers, IAX2 peers, Channels, etc.","archived":false,"fork":false,"pushed_at":"2021-11-09T17:20:57.000Z","size":52459,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-19T05:19:14.722Z","etag":null,"topics":["asterisk","grafana","influxdb","telegraf"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mafairnet.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":"2020-09-20T19:32:01.000Z","updated_at":"2023-09-18T17:10:51.000Z","dependencies_parsed_at":"2023-06-07T06:15:16.936Z","dependency_job_id":null,"html_url":"https://github.com/mafairnet/asterisk-telegraf-integration","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/mafairnet%2Fasterisk-telegraf-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafairnet%2Fasterisk-telegraf-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafairnet%2Fasterisk-telegraf-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafairnet%2Fasterisk-telegraf-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mafairnet","download_url":"https://codeload.github.com/mafairnet/asterisk-telegraf-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250266025,"owners_count":21402215,"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":["asterisk","grafana","influxdb","telegraf"],"created_at":"2024-10-02T05:06:44.297Z","updated_at":"2025-04-22T15:25:37.318Z","avatar_url":"https://github.com/mafairnet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"AstTelegraf\n===================\n#Asterisk Telegraf Integration (NON OFFICIAL)\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"400px\" src=\"https://raw.githubusercontent.com/mafairnet/asterisk-telegraf-integration/master/resources/screenshot.png\"\u003e\n\u003c/p\u003e\n\nAbout\n-----------\n#### Objective: Provide a Open Souce Monitoring Alternative to Monitor Asterisk VoIP Open Source Software.\n\nTelegraf integration (NON OFFICIAL) to Monitor Asterisk VoIP Open Source Software with basica metrics like calls, SIP peers, IAX2 peers, Channels, etc.\n\nPrerequisites\n-----------\n- InfluxDB Server\n- Grafana Server\n- Asterisk Server\n\nUsage\n-----------\n1. Get Telegraf Agent binary with Asterisk Input Plugin added.\n```\nwget https://raw.githubusercontent.com/mafairnet/asterisk-telegraf-integration/archive/master.zip\n```\n2. Uncompress File\n```\ntar -xvf asterisk-telegraf-integration-master.zip\n```\n3. Set write permissions to binary\n```\ncd asterisk-telegraf-integration-master\nchmod +x telegraf\n```\n4. Edit telegraf Agent Configuration\n```\n# Collects basic metrics dfrom Asterisk Open Source VoIP Software\n[agent]\n  hostname = \"\"\n[[outputs.influxdb]]\n  urls = [\"http://0.0.0.0:8086\"]\n[[inputs.asterisk]]\n  ##Sample Config\n  asterisk_ip = \"0.0.0.0\"\n  ami_port = 5038\n  ami_user = \"user\"\n  ami_password = \"password\"\n```\n5. Run Telegraf Agent\n```\n../telegraf -config telegraf.conf\n```\n5. Go to your grafana and cerate a new dashboard and configure to your needs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafairnet%2Fasterisk-telegraf-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmafairnet%2Fasterisk-telegraf-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafairnet%2Fasterisk-telegraf-integration/lists"}