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

This request type is used when no authentication and no token are needed.

  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 search for in the Optional: Check for String text box.
  11. Choose a sample interval from the Sample Interval drop-down menu.
    Note:

    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.

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

    The test results are displayed below the Test button.

  14. Click Save to save the counter.

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

Add an HTTP counter with ArcGIS token security

This request type is used when an ArcGIS token is needed to access 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?
    Note:

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

  10. Optionally type a text string you want to search for in the Optional: Check for String text box.
  11. Use the following sample to add the Token Url:
    https://<Hostname>.<Domain>.com:6443/arcgis/tokens/generateToken
    https://webadaptorhost.domain.com/webadaptorname/tokens/generateToken
    Note:

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

  12. Click Add Credential.

    The Add Credential dialog box appears.

    Note:

    Only ArcGIS Server authentication is supported.

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

    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.

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

    The test results are displayed below the Test button.

  21. Click Save to save the counter.

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

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

This request type is used when Windows authentication is needed to access 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?
    Note:

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

  10. Optionally type a text string you want to search for in the Optional: Check for String text box.
  11. Choose a sample interval from the Sample Interval drop-down menu.
    Note:

    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.

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

    The test results are displayed below the Test button.

  14. Click Save to save the counter.

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

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

This request type is used when Windows authentication is needed to access 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?
    Note:

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

  10. Optionally type a text string you want to search for in the Optional: Check for String text box.
  11. Use the following sample to add the Token Url:
    https://webadaptorhost.domain.com/webadaptorname/sharing/rest/generateToken
    https://webadaptorhost.domain.com/webadaptorname/sharing/generateToken
    Note:

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

  12. Click Add Credential.

    The Add Credential dialog box appears.

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

    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.

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

    The test results are displayed below the Test button.

  21. 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 ArcGIS Monitor Server by clicking Categories > Web.