<?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: Script to check server site 'health' in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385209#M14965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake, does the System Monitor just watch the AGS logs at the debug reporting level to get its stats about AGS or is it interfacing with the server site a deeper level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2015 13:51:23 GMT</pubDate>
    <dc:creator>ChrisMathers</dc:creator>
    <dc:date>2015-03-02T13:51:23Z</dc:date>
    <item>
      <title>Script to check server site 'health'</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385206#M14962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm hoping to write a Python script that can tell me if services are running slow on my server site. Would the easiest thing be to run HTTP requests against Export Map and Identify on each service and compare return time against previous times or is there a better way? In the Admin page of the site perhaps? I'm not familiar enough with the Server API to know off hand. I know I can run queries directly against my SQL databases to keep an eye on their indexes, query time, load, etc. which would affect performance of the server site. However any query run against the database is going to be faster than anything run against the server site so that's not a great marker for whats happening in my deployed webmaps/apps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to make the script show a graph of the last couple hours of data that updates periodically so I can visually see if there is a performance dip. Ultimately I'd like to install the script on a Raspberry Pi with a screen attached and hang it on my cube wall as a constant server site monitor. R-Pi's come with a Python deployment so as long as I try to stick to mostly standard libraries like urllib2 or pure python libraries like pypyodbc I shouldn't have any problems (the R-Pi uses an ARM7 processor so the C code behind the library has to be complied to work on that architecture).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit to add: Ill share anything I write obviously. I'm sure this sort of metric is something others would enjoy seeing as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 16:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385206#M14962</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2015-02-27T16:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Script to check server site 'health'</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385207#M14963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the ArcGIS System Monitor and System Test tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe" title="http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe"&gt;http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=e8bac3559fd64352b799b6adf5721d81" title="http://www.arcgis.com/home/item.html?id=e8bac3559fd64352b799b6adf5721d81"&gt;http://www.arcgis.com/home/item.html?id=e8bac3559fd64352b799b6adf5721d81&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 18:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385207#M14963</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-27T18:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script to check server site 'health'</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385208#M14964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. Doesnt help with my R-Pi project but I think these are going to show me what I want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 18:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385208#M14964</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2015-02-27T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script to check server site 'health'</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385209#M14965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake, does the System Monitor just watch the AGS logs at the debug reporting level to get its stats about AGS or is it interfacing with the server site a deeper level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 13:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385209#M14965</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2015-03-02T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Script to check server site 'health'</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385210#M14966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris, SM ties in to your AGS server's operating system.&amp;nbsp; I deployed System Monitor a few months ago to try it out and it was helpful.&amp;nbsp; You can monitor the % memory and cpu utilization , write custom sql queries to monitor enterprise geodatabases, and get stats from the ArcGIS Administrator API.&amp;nbsp; You can also setup custom http monitors, and monitor your rest endpoints.&amp;nbsp; The backend storage is a mongo database.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 14:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/script-to-check-server-site-health/m-p/385210#M14966</guid>
      <dc:creator>AndrewBrown</dc:creator>
      <dc:date>2015-03-02T14:00:44Z</dc:date>
    </item>
  </channel>
</rss>

