Montior calls in the asterisk core, include: active calls, active channels, call processed
-
do you have to install python3.4
-
Install prometheus module
$ pip3.4 install prometheus
- Run it:
$ python3.4 asterisk_exporter.py
-
Go to http://192.168.1.115:9200/metrics or http://IP:9200/metrics
-
Add config to prometheus.yml file:
- job_name: 'asterisk_exporter'
scrape_interval: 30s
scrape_timeout: 30s
static_configs:
- targets: ['192.168.1.115:9200']