negbie / heplify-xrcollector

9 stars 6 forks source link

heplify-xrcollector to heplify-server #3

Open edidavide opened 3 years ago

edidavide commented 3 years ago

Hello, I'm trying to understand how this exactly integrates with the existing homer7 infrastructure and if I have implemented it correctly given the architecture and how to troubleshoot it

homer server was manually installed on a Centos7.9 VM in our lab, following https://github.com/sipcapture/homer/wiki/homer-seven-setup for this, composed of:

homer-app and heplify-server taken from packagecloud qxip repo Victoriametrics and Prometheus Grafana

On a remote location I have installed heplify and heplify-xrcollector on a FreePBX with some Yealink phones that send RTCP-XR data to the PBX, on port 9065.

Both are running and i can see heplify-xrcollector listening on the chosen port 9065 with netstat -unpl as: "udp 0 0 :::9065"

the collector was launched with these parameters "heplify-xrcollector -xs :9065 -hi 12345678 -hs homerfqdn:9060"

Data is flowing from this remote pbx to my local homer7 VM and as i can see data in grafana dashboards (those taken from the docker branch here https://github.com/sipcapture/homer5-docker/tree/master/heplify-server/hom7-hep-prom-graf/grafana/provisioning/dashboards

I allowed inbound traffic on that custom 9065 port and I can see RTCP-XR packets coming in from the phones to the pbx for the collector to handle, but this is where I'm kind of lost... how do I confirm that the collector is indeed working and forwarding this data to homer?

Where am I supposed to find this data back on my homer7 server? Is it already displayed in Grafanas provided dashboards or is it shown in the "QoS" tab when inspecting a call in homer WUI? (I was expecting something in the QOS XRTP grafana dashboard but it remains empty)

Where is the collector data saved by heplify-server once it reaches homer VM (postgresql? prom-vicmetrics?)

Any input to help me understand where I am failing would be more than welcome 😄

Thank you

edidavide commented 3 years ago

Nevermind, I found the data in prometheus through grafana, all RFC metrics are there