Skip To Content

Add an HTTP counter

HTTP counters allow you to track the HTTP response code, response time, content length, server time, and network time for specific URLs. Perform the steps in the following sections to add an HTTP counter.

Add an HTTP counter with no security

Complete these steps to add an HTTP counter for URLs that don't require a token or authentication:

  1. Start ArcGIS Monitor Administrator.

    The Connections view appears.

  2. Click Open on the Monitor Server connection to which you want to add the counter.

    The collection pane appears.

  3. In the tree view, expand the collection and monitor service to which you want to add the counter.
  4. Click Http in the tree view to choose it.
  5. Right-click Http and click Add.
  6. Expand Http in the tree view and click New Http.

    The Config tab appears.

  7. Type a name for the counter in the Name text box.
  8. Click the Request Type drop-down arrow and choose No security.
  9. Type the URL you want to monitor in the URL text box.
  10. Optionally type a text string you want to check for in the Find String text box.
  11. Optionally type a text string you want to check for that should not be present in the Find String Not text box.
  12. Choose a sample interval from the Sample Interval drop-down menu.
    Hinweis:

    It is recommended that you not use sample intervals greater than 5 minutes for critical alerts as this can skew availability statistics. For more information, see View collection availability.

  13. Optionally type a description in the Description text box.
  14. Click Test to test the counter.

    The test results are displayed below the Test button.

  15. Click Save to save the counter.

Now you can configure alerts for the counter. You can also view and analyze counter status and metrics in the ArcGIS Monitor Server application by clicking Categories > Web.

Add an HTTP counter with ArcGIS token security

Complete these steps to add an HTTP counter for URLs that require an ArcGIS token for access to secure services:

  1. Start ArcGIS Monitor Administrator.

    The Connections view appears.

  2. Click Open on the Monitor Server connection to which you want to add the counter.

    The collection pane appears.

  3. In the tree view, expand the collection and monitor service to which you want to add the counter.
  4. Click Http in the tree view to choose it.
  5. Right-click Http and click Add.
  6. Expand Http in the tree view and click New Http.

    The Config tab appears.

  7. Type a name for the counter in the Name text box.
  8. Click the Request Type drop-down arrow and choose ArcGIS Token.
  9. Use one of the following samples to add the URL you want to monitor:
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer/export?bbox=-104.53020709870626%2C-25.471925275660684%2C75.35704494206294%2C51.908146633940035&bboxSR=&layers=&layerDefs=&size=&imageSR=&format=jpg&transparent=false&dpi=&time=&layerTimeOptions=&dynamicLayers=&gdbVersion=&mapScale=&f=image
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?f=jsapi
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?
    Hinweis:

    URLs must include a question mark, which is typically followed by one or more arguments.

  10. Optionally type a text string you want to check for in the Find String text box.
  11. Optionally type a text string you want to check for that should not be present in the Find String Not text box.
  12. Use the following sample to add the Token Url:
    https://<Hostname>.<Domain>.com:6443/arcgis/tokens/generateToken
    https://webadaptorhost.domain.com/webadaptorname/tokens/generateToken
    Hinweis:

    If your organization uses a different token path, make sure you enter the correct path.

  13. Click Add Credential.

    The Add Credential dialog box appears.

    Hinweis:

    Only ArcGIS Server authentication is supported.

  14. Type a name for the credential in the Name text box.
  15. Type the ArcGIS Server Manager administrator user name in the User text box.
  16. Type the ArcGIS Server Manager administrator password in the Password text box.
  17. Click Add.
  18. Click the Select a credential drop-down arrow and choose a credential.
  19. Choose a sample interval from the Sample Interval drop-down menu.
    Hinweis:

    It is recommended that you not use sample intervals greater than 5 minutes for critical alerts as this can skew availability statistics. For more information, see View collection availability.

  20. Optionally type a description in the Description text box.
  21. Click Test to test the counter.

    The test results are displayed below the Test button.

  22. Click Save to save the counter.

Now you can configure alerts for the counter. You can also view and analyze counter status and metrics in the ArcGIS Monitor Server application by clicking Categories > Web.

Add an HTTP counter with Windows authentication for a nonfederated ArcGIS Server

Complete these steps to add an HTTP counter for a nonfederated ArcGIS Server that requires Windows authentication for access to secure services:

  1. Start ArcGIS Monitor Administrator.

    The Connections view appears.

  2. Click Open on the Monitor Server connection to which you want to add the counter.

    The collection pane appears.

  3. In the tree view, expand the collection and monitor service to which you want to add the counter.
  4. Click Http in the tree view to choose it.
  5. Right-click Http and click Add.
  6. Expand Http in the tree view and click New Http.

    The Config tab appears.

  7. Type a name for the counter in the Name text box.
  8. Click the Request Type drop-down arrow and choose Windows Authentication Non-Federated (use monitor service identity).
  9. Use one of the following samples to add the URL you want to monitor:
    http://<Hostname>.<Domain>.com/arcgis/rest/services/SampleWorldCities/MapServer/export?bbox=-104.53020709870626%2C-25.471925275660684%2C75.35704494206294%2C51.908146633940035&bboxSR=&layers=&layerDefs=&size=&imageSR=&format=png&transparent=false&dpi=&time=&layerTimeOptions=&dynamicLayers=&gdbVersion=&mapScale=&rotation=&datumTransformations=&layerParameterValues=&mapRangeValues=&layerRangeValues=&f=image
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?f=jsapi
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?
    Hinweis:

    URLs must include a question mark, which is typically followed by one or more arguments.

  10. Optionally type a text string you want to check for in the Find String text box.
  11. Optionally type a text string you want to check for that should not be present in the Find String Not text box.
  12. Choose a sample interval from the Sample Interval drop-down menu.
    Hinweis:

    It is recommended that you not use sample intervals greater than 5 minutes for critical alerts as this can skew availability statistics. For more information, see View collection availability.

  13. Optionally type a description in the Description text box.
  14. Click Test to test the counter.

    The test results are displayed below the Test button.

  15. Click Save to save the counter.

Now you can configure alerts for the counter. You can also view and analyze counter status and metrics in the ArcGIS Monitor Server application by clicking Categories > Web.

Add an HTTP counter with Windows authentication for a federated ArcGIS Server

Complete these steps to add an HTTP counter for a federated ArcGIS Server that requires Windows authentication for access to secure services:

  1. Start ArcGIS Monitor Administrator.

    The Connections view appears.

  2. Click Open on the Monitor Server connection to which you want to add the counter.

    The collection pane appears.

  3. In the tree view, expand the collection and monitor service to which you want to add the counter.
  4. Click Http in the tree view to choose it.
  5. Right-click Http and click Add.
  6. Expand Http in the tree view and click New Http.

    The Config tab appears.

  7. Type a name for the counter in the Name text box.
  8. Click the Request Type drop-down arrow and choose Windows Authentication for Federated (use monitor service identity).
  9. Use one of the following samples to add the URL you want to monitor:
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer/export?bbox=-104.53020709870626%2C-25.471925275660684%2C75.35704494206294%2C51.908146633940035&bboxSR=&layers=&layerDefs=&size=&imageSR=&format=png&transparent=false&dpi=&time=&layerTimeOptions=&dynamicLayers=&gdbVersion=&mapScale=&rotation=&datumTransformations=&layerParameterValues=&mapRangeValues=&layerRangeValues=&f=image
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?f=jsapi
    https://<Hostname>.<Domain>.com:<Port>/arcgis/rest/services/SampleWorldCities/MapServer?
    Hinweis:

    URLs must include a question mark, which is typically followed by one or more arguments.

  10. Optionally type a text string you want to check for in the Find String text box.
  11. Optionally type a text string you want to check for that should not be present in the Find String Not text box.
  12. Use the following sample to add the Token Url:
    https://webadaptorhost.domain.com/webadaptorname/sharing/rest/generateToken
    https://webadaptorhost.domain.com/webadaptorname/sharing/generateToken
    Hinweis:

    If your organization uses a different token path, make sure you enter the correct path.

  13. Click Add Credential.

    The Add Credential dialog box appears.

  14. Type a name for the credential in the Name text box.
  15. Type the Windows user name in the User text box.
  16. Type the Windows password in the Password text box.
  17. Click Add.
  18. Click the Select a credential drop-down arrow and choose a credential.
  19. Choose a sample interval from the Sample Interval drop-down menu.
    Hinweis:

    It is recommended that you not use sample intervals greater than 5 minutes for critical alerts as this can skew availability statistics. For more information, see View collection availability.

  20. Optionally type a description in the Description text box.
  21. Click Test to test the counter.

    The test results are displayed below the Test button.

  22. Click Save to save the counter.

Now you can configure alerts for the counter. You can also view and analyze counter status and metrics in the ArcGIS Monitor Server application by clicking Categories > Web.