<?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: Check Whether a Map Service Available and Responding in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218927#M34200</link>
    <description>&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All of our map services are public.&amp;nbsp; One of our users created a simple ASP.NET page that will send 15 queries spread accross 10 map services and the geometry service.&amp;nbsp; The results are displayed in a table.&amp;nbsp; If the 15 query results match the expected result the then the text in the table is green.&amp;nbsp; If the results do not match then the corresponding table row is red.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The user created this ASP.NET page to test our map services that they are using in an application.&amp;nbsp; They posted it to a public web server so we could also take advantage of it as a diagnostic / monitoring tool.&amp;nbsp; It is simple but it is very helpful. Send me a private message if you want more info.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="statuscheck.png" style="width: 682px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52888i9ABD8D2B0380F3C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="statuscheck.png" alt="statuscheck.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2022 12:11:31 GMT</pubDate>
    <dc:creator>berniejconnors</dc:creator>
    <dc:date>2022-10-05T12:11:31Z</dc:date>
    <item>
      <title>Check Whether a Map Service Available and Responding</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1217898#M34143</link>
      <description>&lt;P&gt;I am currently trying to write a python script to check whether map services are up and responding.&amp;nbsp; The first thing that came to mind for me to do this was to use the REST API and get a status response and/or to query the map service.&amp;nbsp; This appears to be working so far but I am not sure if this is a true indication of whether a map service is available and responding.&amp;nbsp; Does anyone have any experience with checking map service health or can verify that I am going about this the right way?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 14:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1217898#M34143</guid>
      <dc:creator>JasonBartling1</dc:creator>
      <dc:date>2022-09-30T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Check Whether a Map Service Available and Responding</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218047#M34146</link>
      <description>&lt;P&gt;querying individual layers makes sense to me. As you know REST resources are most likely get cached, therefore that is not highly reliable to check if layers in a map service are all in good health. Whereas query will definitely give you that confidence.&lt;/P&gt;&lt;P&gt;I'd probably simply make a query call with returnRecordCount=True parameter and make sure the result matches my expectation or non-zero (whichever works better for you); or just get attributes for a feature of layer if you want to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 22:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218047#M34146</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2022-09-30T22:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Check Whether a Map Service Available and Responding</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218070#M34147</link>
      <description>&lt;P&gt;Thanks for the tip about query.&amp;nbsp; Part of my check was to use the server admin endpoint to check the status.&amp;nbsp; Usually this returns STARTED if the map service is available, but I was thinking it might not give a response if for some reason the service got into some kind of error state.&amp;nbsp; That is why I added the query as a kind of second check.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 00:59:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218070#M34147</guid>
      <dc:creator>JasonBartling1</dc:creator>
      <dc:date>2022-10-01T00:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Check Whether a Map Service Available and Responding</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218679#M34190</link>
      <description>&lt;P&gt;Does anyone else have suggestions or is query the definitive answer?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 15:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218679#M34190</guid>
      <dc:creator>JasonBartling1</dc:creator>
      <dc:date>2022-10-04T15:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Check Whether a Map Service Available and Responding</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218927#M34200</link>
      <description>&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All of our map services are public.&amp;nbsp; One of our users created a simple ASP.NET page that will send 15 queries spread accross 10 map services and the geometry service.&amp;nbsp; The results are displayed in a table.&amp;nbsp; If the 15 query results match the expected result the then the text in the table is green.&amp;nbsp; If the results do not match then the corresponding table row is red.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The user created this ASP.NET page to test our map services that they are using in an application.&amp;nbsp; They posted it to a public web server so we could also take advantage of it as a diagnostic / monitoring tool.&amp;nbsp; It is simple but it is very helpful. Send me a private message if you want more info.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="statuscheck.png" style="width: 682px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52888i9ABD8D2B0380F3C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="statuscheck.png" alt="statuscheck.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 12:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/check-whether-a-map-service-available-and/m-p/1218927#M34200</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2022-10-05T12:11:31Z</dc:date>
    </item>
  </channel>
</rss>

