sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.61k stars 240 forks source link

RTCP-XR data being not displayed in Homer / Promethus #561

Open tcreek opened 1 year ago

tcreek commented 1 year ago

So I created a Widget type Metrics -> Prometheus and named it "test chart"

I selected all and even a single VQ RTCP-XR fields available.

homer_prom

When I save the settings, all I see is a blue circle:

homer_prom_circle

Looking in the hep_proto_35_default table in the homer_data (if that is the correct database), I can see there is data in there:

Just a snip:

140 | 0_1720938571@192.168.1.106 | 2022-10-05 20:57:33.405861+00 | {"dstIp": "192.168.1.106", "srcIp": "0.0.0.0", "dstPort": 5060, "srcPort": 5060, "protocol": 17,      "captureId": "1111", "capturePass": "myhep", "payloadType": 99, "timeSeconds": 1665003453, "timeUseconds": 405861, "correlation_id": "0_1720938571@192.168.1.106", "p     rotocolFamily": 2}  | {"node": "1111", "proto": "99"}     | PUBLISH sip:Homer@192.168.1.138:5060 SIP/2.0\r                                                                            +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK3161726235\r                                                            +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | From: "3003" <sip:3003@192.168.1.73:5060>;tag=4137359951\r                                                                +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | To: <sip:Homer@192.168.1.138:5060>\r                                                                                      +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Call-ID: 0_1559412259@192.168.1.106\r                                                                                     +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | CSeq: 1 PUBLISH\r                                                                                                         +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Contact: <sip:3003@192.168.1.106:5060>\r                                                                                  +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Content-Type: application/vq-rtcpxr\r                                                                                     +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDAT     E, MESSAGE\r+
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Max-Forwards: 70\r                                                                                                        +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | User-Agent: Yealink SIP-T42G 29.82.0.20\r

Is there something I have no done correctly, need more to do, or could there be something wrong with Homer?

Thanks for looking into this!

PS: This is the Docker install per the Wiki: https://github.com/sipcapture/homer/wiki/Quick-Install#-docker-install

tcreek commented 1 year ago

As a test, I also tried installing using the "quick installer" script. I noticed the script does not put Prometheus on the server. I put Prometheus on myself, put port 9096 in the settings and ran it. I am getting the exact same results as in the Docker installation.

lmangani commented 1 year ago

Can you display the metrics using Grafana and the demo dashboards?

tcreek commented 1 year ago

The default credentials of admin/admin is responding as invalid, but I can see this one chart

image

Seems to be empty also.

lmangani commented 1 year ago

@tcreek this would suggest no data is being received that can be interpreted as media reports. Please describe your setup and the senders, possibly with some examples.

tcreek commented 1 year ago

I have tried using sipcapture, heplify, and heplify-xrcollector . I have a VoIP telephone sending out VQ RCTP-XR reports.

heplify-xrcollector was setup on the Homer server and executed with:

./heplify-xrcollector -xs :9064

Also ran ./heplify-xrcollector-test on the same server and could see heplify-xrcollector responding. Also results from the test could be seen in Homer.

What examples exactly should I show that would help you out?