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 Developer
http://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 list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to