[SR-Users] xhttp_prom - Adding new metrics for dispatcher list to monitor SIP trunk availability

Henning Westerholt hw at skalatan.de
Thu Mar 12 12:12:45 CET 2020


Hello,

It should be possible to use e.g. a timer route to periodically fetch the status from localhost with RPC commands and to feed this into the counters etc.. from xhttp_prom.

But the easier way is probably just to use an external collector.

Cheers,

Henning


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Jonathan Hunter
Sent: Tuesday, March 10, 2020 4:13 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] xhttp_prom - Adding new metrics for dispatcher list to monitor SIP trunk availability

Hi Guys,

We are running kamailio 5.3 in our dev environment with a view to using the xhttp_prom module, so that we can monitor using prometheous.

It works fine in terms of getting all the internal stats and groups, however is it possible to grab the dispatcher.list output/stats using the module?

I know there is a collector that does this and provides the dispatcher gateway trunk status, but wondered if it could be implemented using xhttp_prom, or if external code would be required to grab the states using rpc etc?

Many thanks

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200312/6b7b9551/attachment.html>


More information about the sr-users mailing list