<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automate the monitoring and remediation of shifting traffic off a degraded link in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/535431#M3338</link>
    <description>&lt;P&gt;What about TCL Expect? As some things are not available through the Palo Alto API and because of this Ansible is not an option you can use my script to ssh to the device and run ping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-articles/automating-the-palo-alto-ngfw-s-process-deamon-restarts/ta-p/529328" target="_blank" rel="noopener"&gt;https://live.paloaltonetworks.com/t5/general-articles/automating-the-palo-alto-ngfw-s-process-deamon-restarts/ta-p/529328&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to play around as you can make bash script triggering the tcp expect script and then the bash script can trigger an Ansible playbook that will dissable an interface or whatever else you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/42353148/expect-within-bash-script" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/42353148/expect-within-bash-script&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2023 14:36:05 GMT</pubDate>
    <dc:creator>nikoolayy1</dc:creator>
    <dc:date>2023-03-22T14:36:05Z</dc:date>
    <item>
      <title>Automate the monitoring and remediation of shifting traffic off a degraded link</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532209#M3319</link>
      <description>&lt;P&gt;Hi all, as the title suggests I'd like to be able to automate the monitoring and remediation of shifting traffic off a degraded link.&amp;nbsp; In my environment, we have two corp DIA circuits for internet-bound traffic which we perform ECMP load balancing on.&amp;nbsp; The problem we have is if one of the two links is degraded and suffering substantial packet loss but not a complete outage, traffic continues to flow across both links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the idea of using Ansible via API call to send pings out of each link and if the packet loss exceeded a certain threshold, then raise the metric of the static route for the affected link so that traffic would only use the healthy link until the affected link returned to normal.&amp;nbsp; However, that's when I realized there's no way to send a ping command via API call so there's really no way to automate the link monitoring for degredation.&amp;nbsp; Am I missing something here or is there some other way to accomplish this?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 18:04:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532209#M3319</guid>
      <dc:creator>stangri-la</dc:creator>
      <dc:date>2023-02-24T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automate the monitoring and remediation of shifting traffic off a degraded link</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532334#M3320</link>
      <description>&lt;P&gt;Other options include &lt;A href="https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-networking-admin/static-routes/configure-path-monitoring-for-a-static-route" target="_self"&gt;path monitoring&lt;/A&gt;, or for even more flexibility in monitoring and path selection the &lt;A href="https://docs.paloaltonetworks.com/sd-wan" target="_self"&gt;SD-WAN suite of features&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 11:28:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532334#M3320</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2023-02-27T11:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automate the monitoring and remediation of shifting traffic off a degraded link</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532364#M3321</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt;.&amp;nbsp; We already have path monitoring in place but that only helps when there's a complete outage, not when the link is degraded and suffering &amp;lt; 100% packet loss.&amp;nbsp; I realize SD-WAN is meant to address this shortcoming but I wish this was a native feature of the firewalls.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 16:15:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/532364#M3321</guid>
      <dc:creator>stangri-la</dc:creator>
      <dc:date>2023-02-27T16:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automate the monitoring and remediation of shifting traffic off a degraded link</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/535431#M3338</link>
      <description>&lt;P&gt;What about TCL Expect? As some things are not available through the Palo Alto API and because of this Ansible is not an option you can use my script to ssh to the device and run ping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-articles/automating-the-palo-alto-ngfw-s-process-deamon-restarts/ta-p/529328" target="_blank" rel="noopener"&gt;https://live.paloaltonetworks.com/t5/general-articles/automating-the-palo-alto-ngfw-s-process-deamon-restarts/ta-p/529328&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to play around as you can make bash script triggering the tcp expect script and then the bash script can trigger an Ansible playbook that will dissable an interface or whatever else you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/42353148/expect-within-bash-script" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/42353148/expect-within-bash-script&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 14:36:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automate-the-monitoring-and-remediation-of-shifting-traffic-off/m-p/535431#M3338</guid>
      <dc:creator>nikoolayy1</dc:creator>
      <dc:date>2023-03-22T14:36:05Z</dc:date>
    </item>
  </channel>
</rss>

