Details
Description
A while ago I submitted a patch for not listing registrations when doing "sofia status profile foo" because that list can become quite long.
http://jira.freeswitch.org/browse/FS-3699
Since a while I've been using the "sofia xmlstatus profile foo" to get statistics to graph them in Cacti, so now I'm experiencing the same problem there, a long list of registrations, while all I want to get is some basic statistics. Documentation in the wiki already shows that reg should be appended with xmlstatus if you want to list them:
http://wiki.freeswitch.org/wiki/Mod_sofia#View_SIP_Registrations
Attached patch disables listing of all the registrations when doing xmlstatus without the reg appended.
The patch also adds a field "registrations" to both status and xmlstatus with a counter value.
http://jira.freeswitch.org/browse/FS-3699
Since a while I've been using the "sofia xmlstatus profile foo" to get statistics to graph them in Cacti, so now I'm experiencing the same problem there, a long list of registrations, while all I want to get is some basic statistics. Documentation in the wiki already shows that reg should be appended with xmlstatus if you want to list them:
http://wiki.freeswitch.org/wiki/Mod_sofia#View_SIP_Registrations
Attached patch disables listing of all the registrations when doing xmlstatus without the reg appended.
The patch also adds a field "registrations" to both status and xmlstatus with a counter value.
Activity
Leon de Rooij
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | mod_sofia_xmlstatus_not_list_registrations_and_status_and_xmlstatus_show_reg_count_noleak.patch.txt [ 15923 ] | |
| Attachment | vg.log [ 15922 ] |
Leon de Rooij
made changes -
| Attachment | wlsfs2_load_average_without_xmlstatus_registrations.png [ 15954 ] | |
| Attachment | wlsfs2_cpu_usage_without_xmlstatus_registrations.png [ 15953 ] |
Git
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Leon de Rooij
made changes -
| Attachment | wlsfs2_cpu_usage_after_patch.png [ 15963 ] | |
| Attachment | wlsfs2_load_average_after_patch.png [ 15964 ] |
Auto Admin
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |