[OpenSIPS-Users] Parsing lb_list

Nilanjan Banerjee nil.banerjee at gmail.com
Mon Nov 12 14:34:44 CET 2012


Thanks as always Bogdan. I guess the bulk approach should meet my
requirements for now.

Regards,
Nilanjan.

On Sat, Nov 10, 2012 at 1:07 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:

> **
> Hi Nilanjan,
>
> The LB load info is available only via the MI interface, as it is runtime
> info and not saved or present in DB.
>
> Now, you can get it bulk via lb_list (for all destinations, all resources)
> or you can go under the hood and take them one at the time (if interested)
> using the profile_get_size MI dialog function:
>     profile_get_size lbXRESOUCE_NAME DESTINATION_URI
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
>
> On 11/09/2012 05:09 PM, Nilanjan Banerjee wrote:
>
> Hello,
>
>   Is there a way (some data structure may be) to access the dynamic load
> balancer status table printed by the lb_list MI FIFO command so that it's
> easier to parse the individual fields in the records of that table? Or, is
> it that the only way is to print the table and then parse it as a text file
> using some text processing script?
>
> Thanks,
> Nil.
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121112/d7d39be4/attachment.htm>


More information about the Users mailing list