homer icon indicating copy to clipboard operation
homer copied to clipboard

RTCP-XR data being not displayed in Homer / Promethus

Open tcreek opened this issue 2 years ago • 5 comments

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 | [email protected] | 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": "[email protected]", "p     rotocolFamily": 2}  | {"node": "1111", "proto": "99"}     | PUBLISH sip:[email protected]:5060 SIP/2.0\r                                                                            +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK3161726235\r                                                            +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | From: "3003" <sip:[email protected]:5060>;tag=4137359951\r                                                                +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | To: <sip:[email protected]:5060>\r                                                                                      +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Call-ID: [email protected]\r                                                                                     +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | CSeq: 1 PUBLISH\r                                                                                                         +
     |                            |                               |                                                                                                                                                                                                                                                                                                     |                                     | Contact: <sip:[email protected]: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 avatar Oct 05 '22 21:10 tcreek

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.

tcreek avatar Oct 12 '22 14:10 tcreek

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

lmangani avatar Oct 12 '22 14:10 lmangani

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

image

Seems to be empty also.

tcreek avatar Oct 12 '22 15:10 tcreek

@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.

lmangani avatar Oct 19 '22 14:10 lmangani

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?

tcreek avatar Oct 19 '22 15:10 tcreek