<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi,<br>
<br>
What OpenSIPS version you have? And as I understand, as
configuration, you do permanent probing to the destinations and
the disabling happens because of this probing ?<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 12.04.2024 05:41, Alexander Perkins
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALLkTp3D7GMqKo3pN=efcTMcSqfw8_K8eOko99Ec0VTMiiOvOQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi. I have an interesting issue. We have two
OpenSIPS servers with load balancer (with two different group
IDs in the lb table) and we have probing set correctly and we
are using the event, E_LOAD_BALANCER_STATUS, to capture changes
to servers that were probed. But we noticed that we have the
same server URI listed in the lb table, but with two different
group IDs, if one of the OpenSIPS servers probes that URI and it
does not return, then lb disables both groups. I'd expect it to
only disable one group.
<div><br>
</div>
<div>My question is how can we tell the LB module to disable the
IP, but also look for the groupID. For example, I have a
printout of lb_list below.</div>
<div>
<div><br>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"uri": "sip:<a href="http://1.2.3.4:5060"
moz-do-not-send="true">1.2.3.4:5060</a>", "id": 27, </span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgb(255,255,0)">"group":
12,</span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"enabled": "no", "auto-reenable": "on", "Resources": [ {
"name": "vz12", "max": 600, "load": 0 } ], "attrs": "0"</span><br>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace"
color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">AND</span></font></div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">{
"uri": "sip:<a href="http://1.2.3.4:5060"
moz-do-not-send="true">1.2.3.4:5060</a>", "id": 29, </span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgb(255,255,0)">"group":
13,</span><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">
"enabled": "no", "auto-reenable": "on", "Resources": [ {
"name": "vz13", "max": 600, "load": 0 } ], "attrs": "0" },</span><font
face="Monaco, Menlo, Consolas, Courier New, monospace"
color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></font></div>
</div>
<div><span
style="color:rgb(29,28,29);font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)"><br>
</span></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace"
color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">Thank
you,</span></font></div>
<div><font
face="Monaco, Menlo, Consolas, Courier New, monospace"
color="#1d1c1d"><span
style="font-size:12px;font-variant-ligatures:none;background-color:rgba(29,28,29,0.04)">Alex</span></font></div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>