freeswitch_exporter
freeswitch_exporter copied to clipboard
Freeswitch registration count
Does the exporter collects freeswitch registration count? Looks like currently it doesn't.
Hello,
It does not at the moment, but it could be added easily.
Which command are you using on the CLI to fetch that information?
This is the command fs_cli -x "show registrations". Do we need to add another entry in the collector.go same as below.
Yes, but the output needs to be parsed properly.
Could you provide me some samples? With different results. One with no results, one with some results and another one with different results.
Thanks
Command : fs_cli -x "show registrations" Output fields : reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata
Output is present in this format and metadata field is the "count of registrations" at the end.