Thanks for reply Henning!

Yes I agree with the external collector, I am using it without issue will stick 
with it.

Many thanks

________________________________
From: Henning Westerholt <[email protected]>
Sent: 12 March 2020 11:12
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: Jonathan Hunter <[email protected]>
Subject: RE: xhttp_prom - Adding new metrics for dispatcher list to monitor SIP 
trunk availability


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/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskalatan.de%2Fblog%2F&data=02%7C01%7C%7Cf8482e2aab8b41a356f908d7c6764b74%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637196083676078315&sdata=li1nfUXPpQE5SF4o4x1KNSpYp8dEsac4zGY6JEgNMQI%3D&reserved=0>

Kamailio services – 
https://gilawa.com<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgilawa.com%2F&data=02%7C01%7C%7Cf8482e2aab8b41a356f908d7c6764b74%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637196083676088284&sdata=B%2BqXbHF1hS5qATm80FQrtWBCbny8L%2BSR85fihjAlzto%3D&reserved=0>



From: sr-users <[email protected]> On Behalf Of Jonathan 
Hunter
Sent: Tuesday, March 10, 2020 4:13 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
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
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to