<?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: Getting uptime information for a GlobalProtect connection? in GlobalProtect Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/484263#M2716</link>
    <description>&lt;P&gt;Curious if you ever found a solution to this? We're set at 12h which is fine for the vast majority of people, but one team is requesting a script to generate a popup reminder when it reaches 1 hour until connection expiration.&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 16:48:09 GMT</pubDate>
    <dc:creator>mholmesio</dc:creator>
    <dc:date>2022-05-02T16:48:09Z</dc:date>
    <item>
      <title>Getting uptime information for a GlobalProtect connection?</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453393#M2223</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a way (programmatically) to access current uptime for an active GlobalProtect connection?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to warn the users of my program well before (15+min) the connection times out. We are radiologists, and VPN dying in the middle of reporting of an urgent case causes all kinds of problems and lost work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uptime under GP Settings refreshes only when the window is open - thus I cannot use Win API to grab control's text, as it's outdated once the window is closed. I can parse pan_gp_event.log, but that seems somewhat crude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that GPA queries the service (PanGPS) from its log:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Send command to Pan Service&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Command = &amp;lt;request&amp;gt;&amp;lt;type&amp;gt;status&amp;lt;/type&amp;gt;&amp;lt;/request&amp;gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;...which returns a detailed status report in XML format!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get the same info myself? Or any other suggestions for the most reliable way to get live uptime info?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternately, any other approach of triggering an event x minutes before GP timeout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated. Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 17:45:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453393#M2223</guid>
      <dc:creator>BrankoB</dc:creator>
      <dc:date>2021-12-15T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting uptime information for a GlobalProtect connection?</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453416#M2224</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Is there a reason for limiting the VPN session time?&lt;/P&gt;&lt;P&gt;I know this doesn't answer your question, but changing the session time might solve your need as well.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 18:33:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453416#M2224</guid>
      <dc:creator>JoergSchuetter</dc:creator>
      <dc:date>2021-12-15T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting uptime information for a GlobalProtect connection?</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453725#M2226</link>
      <description>&lt;P&gt;Session time is now set at 8h, which is plenty for 99% of clinicians, but not for us when we cover call - we need 16+ hours. And disconnects lead to loss of currently dictated report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're getting our Chief to push hospital IT for increasing session time, but in the meantime I'd like to get a warning before disconnection, so we have time to save our work.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 18:08:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/453725#M2226</guid>
      <dc:creator>BrankoB</dc:creator>
      <dc:date>2021-12-16T18:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting uptime information for a GlobalProtect connection?</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/484263#M2716</link>
      <description>&lt;P&gt;Curious if you ever found a solution to this? We're set at 12h which is fine for the vast majority of people, but one team is requesting a script to generate a popup reminder when it reaches 1 hour until connection expiration.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 16:48:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/484263#M2716</guid>
      <dc:creator>mholmesio</dc:creator>
      <dc:date>2022-05-02T16:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting uptime information for a GlobalProtect connection?</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/484278#M2717</link>
      <description>&lt;P&gt;No, 12h proved sufficient, or at least no one seems to be complaining.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One way would be to have a background process or task periodically parse the&amp;nbsp;pan_gp_event.log file. Look for the last line in file which says "IPSec tunnel creation finished" or something similar - that marks a successful login. Than subtract the timestamp of the line from current time to get interval. If that interval is close enough to the cutoff, trigger some kind of an alert for the user. It would be fairly simple to do.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:57:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/getting-uptime-information-for-a-globalprotect-connection/m-p/484278#M2717</guid>
      <dc:creator>BrankoB</dc:creator>
      <dc:date>2022-05-02T17:57:36Z</dc:date>
    </item>
  </channel>
</rss>

