Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mafairnet/asterisk-telegraf-integration

Telegraf integration (NON OFFICIAL) to Monitor Asterisk VoIP Open Source Software with basica metrics like calls, SIP peers, IAX2 peers, Channels, etc.
https://github.com/mafairnet/asterisk-telegraf-integration

asterisk grafana influxdb telegraf

Last synced: 3 months ago
JSON representation

Telegraf integration (NON OFFICIAL) to Monitor Asterisk VoIP Open Source Software with basica metrics like calls, SIP peers, IAX2 peers, Channels, etc.

Awesome Lists containing this project

README

        

AstTelegraf
===================
#Asterisk Telegraf Integration (NON OFFICIAL)



About
-----------
#### Objective: Provide a Open Souce Monitoring Alternative to Monitor Asterisk VoIP Open Source Software.

Telegraf integration (NON OFFICIAL) to Monitor Asterisk VoIP Open Source Software with basica metrics like calls, SIP peers, IAX2 peers, Channels, etc.

Prerequisites
-----------
- InfluxDB Server
- Grafana Server
- Asterisk Server

Usage
-----------
1. Get Telegraf Agent binary with Asterisk Input Plugin added.
```
wget https://raw.githubusercontent.com/mafairnet/asterisk-telegraf-integration/archive/master.zip
```
2. Uncompress File
```
tar -xvf asterisk-telegraf-integration-master.zip
```
3. Set write permissions to binary
```
cd asterisk-telegraf-integration-master
chmod +x telegraf
```
4. Edit telegraf Agent Configuration
```
# Collects basic metrics dfrom Asterisk Open Source VoIP Software
[agent]
hostname = ""
[[outputs.influxdb]]
urls = ["http://0.0.0.0:8086"]
[[inputs.asterisk]]
##Sample Config
asterisk_ip = "0.0.0.0"
ami_port = 5038
ami_user = "user"
ami_password = "password"
```
5. Run Telegraf Agent
```
../telegraf -config telegraf.conf
```
5. Go to your grafana and cerate a new dashboard and configure to your needs.