Skip To Content

Register an ArcGIS Online organization

You can register the following web services that populate web layers in an ArcGIS Online organization to collect service health and performance metrics:

  • Feature
  • Image
  • Map

Prerequisites for monitoring

The following prerequisites are necessary for monitoring web services hosted from an ArcGIS Online organization:

Register ArcGIS Online web services for monitoring

You must be assigned the Administrator or Manager role to register components.

To register web services hosted from an ArcGIS Online organization, complete the following steps:

  1. Access ArcGIS Monitor if necessary.

    The Home page appears.

  2. Click Monitoring.

    The Monitoring page appears with registered components listed alphabetically by name.

  3. Click Register component.

    The Register component wizard appears.

    Note:

    If you don't have sufficient privileges, Register component is not available.

  4. Choose a Monitor Agent machine that has access to the services, and click Next.

    The Component type page appears.

  5. Under ArcGIS, choose ArcGIS Online Organization, and click Next.

    The Component details page appears.

  6. Provide a name for the component in the Component name text box.
  7. Optionally, provide a description for the component in the Description text box.
  8. Optionally, click Apply Labels Apply labels and choose the labels that you want to apply to the component.
    Tip:

    Provide the name of a label in the Enter label name text box to search for a specific label. If the label doesn't exist, click Create new label to add the label and apply it to the component.

  9. Click Next.

    The Connection page appears.

  10. Provide the URL of the ArcGIS Online organization in the Address text box.
  11. If the web services are secured, provide the credentials required to access the web services in the Username and Password text boxes.
  12. Click Register component.

    The Edit inventory dialog box appears with a list of available services.

  13. Optionally, do any or all of the following:
    • Click the Name A-Z drop-down arrow to change the sorting method.
    • Type a keyword in the Search by service name text box to search for specific web services.
  14. Check the check box next to the name of each web service that you want to monitor.

    You can monitor up to 30 web services for each ArcGIS Online organization component.

    Note:

    The web services to be monitored can be managed by editing the component's Inventory - ArcGIS Online Organization observer settings.

  15. Click Save.

    The component is added to the list of monitored components on the Monitoring page.

Observers

The following table describes the observers that collect ArcGIS Online organization attribute and metric data:

Observer nameDescription

Check - Remote Service

This optional, user-configured observer sends a request to an ArcGIS Online web service and uses a regular expression pattern to validate its JSON response.

Inventory - ArcGIS Online Organization

This observer manages attribute data, scans for web services across the ArcGIS Online organization, and its configuration defines the web services to be monitored.

The default interval for this observer is 5 minutes; however, you can configure it to run at longer intervals since changes to the remote site configuration are typically infrequent.

Metrics - ArcGIS Online Organization

This observer collects availability and performance metric data for monitored web services.

The default interval for this observer is 5 minutes; however, you can configure it to run at shorter intervals to retrieve data more frequently.

Collected attributes

The following table lists the attribute that is collected for remote ArcGIS Online organization web services:

Attribute nameDescriptionData type

Is remote

Specifies whether the service is remote.

Boolean

Collected metrics

The subsections below describe the metrics that are collected for the ArcGIS Online organization and its monitored web services.

ArcGIS Online organization metrics

The following table lists the metrics that are collected for the ArcGIS Online organization:

Metric nameDescriptionData typeUnit

Connectivity

The agent's ability to successfully connect to the component.

Float

Percent

Response Code

The request HTTP response code.

Float

Total

Response Size

The size of the response payload.

Float

Kilobytes

Response Time

The response time of the ArcGIS Online organization.

Float

Seconds

ArcGIS Online organization web services metrics

The following table lists the metrics that are collected for the ArcGIS Online organization's monitored web services:

Metric nameDescriptionData typeUnit

Connectivity

The agent's ability to successfully connect to the web service.

Float

Percent

Response Code

The request HTTP response code.

Float

Total

Response Size

The size of the response payload.

Float

Kilobytes

Response Time

The response time of the web service.

Float

Seconds

ArcGIS Online organization web services optional metrics

The following metrics can be collected by configuring the Check - Remote Service observer for ArcGIS Online organization web services:

Metric nameDescriptionData typeUnit

Check Response Code - <observer_name>

The request HTTP response code.

Float

Total

Check Response Matches - <observer_name>

The total number of matches returned by the regular expression defined in the observer.

Note:

If no regular expression is defined, a null value is returned.

Float

Total

Check Response Size - <observer_name>

The size of the response payload.

Float

Kilobytes

Check Response Time - <observer_name>

The response time of the check.

Float

Seconds

Enable optional metrics

To enable optional metrics for ArcGIS Online organization web services, complete the following steps:

  1. Access ArcGIS Monitor if necessary.

    The Home page appears.

  2. Click Monitoring.

    The Monitoring page appears with registered components listed alphabetically by component name.

  3. Click the name of the ArcGIS Online organization web service for which you want to enable optional metrics.

    The services's Overview page appears with its details and an overview of its metrics.

    Tip:

    You can type a keyword in the Search by component name or address text box to search for specific components and subcomponents.

  4. Click the Observers tab.

    The Observers page appears.

  5. Click Add observer.

    The Add observer dialog box appears.

  6. Choose Check - Remote Service, and click Next.

    The Observer details page appears.

  7. Provide a name for the observer in the Observer name text box.

    The observer name is used to identify the observer, and all metrics associated with the observer are prefixed with the observer name. For example, if the observer name is Health Check, the name of its metrics would be <MetricName> - health_check.

  8. Optionally, provide a description for the observer in the Description text box.
  9. Click Next.

    The Configuration page appears.

  10. Click the Interval drop-down arrow, and choose an interval.
  11. Provide the resource and operation in the Request URL text box.

    The following is an example of the query operation for layer 0 of the Sample World Cities map service:

    /0/query

    Note:

    The observer inherits the credentials of the associated ArcGIS Online organization component and automatically sets the response format to JSON.

  12. Click the Request method drop-down arrow, and choose the type of request that you want to send to the service.
  13. Optionally, provide key-value pairs for data that you want to be sent in the URL query string (GET) or request body (POST) under Request data.

    For example, to return the total number of features in layer 0 of the Sample World Cities map service, add the following key-value pairs:

    KeyValue

    where

    1=1

    returnCountOnly

    true

    Note:

    The f parameter is automatically set to json when the request is sent.

  14. Optionally, provide a regular expression pattern to validate the request's JSON response in the Response check text box.

    For example, to determine if there are 2,232 features in layer 0 of the Sample World Cities map service, add the following regular expression pattern:

    \b2232\b

    The ignoreCase, multiline, and global properties are used when validating the JSON response.

  15. Click Next.

    The Test page appears.

  16. Click Test to validate the configuration.

    The result of the test appears on the Test page.

  17. Click Add observer.

    The observer is added to the list of observers on the Observers page.

Optional metrics are collected and automatically appear in Monitor according to the observer's configured interval.

Default alert rules

The subsections below describe the default alert rules that are configured for the ArcGIS Online organization and its monitored web services.

ArcGIS Online organization alert rules

The following table lists the default alert rules that are configured for the ArcGIS Online organization:

Metric nameAggregationOperatorInfo thresholdWarning thresholdCritical thresholdSamples

Connectivity

Average

Is less than

100

2

Response Code

Average

Is greater than or equal to

300

400

500

1

Note:

The default alert rules in the table above are the rules that are configured for components when Monitor is first deployed. If your Monitor administrator configured default alert rules for the Monitor deployment, the values for the rules above may vary.

ArcGIS Online organization web services alert rules

The following table lists the default alert rule that is configured for the ArcGIS Online organization's monitored web services:

Metric nameAggregationOperatorInfo thresholdWarning thresholdCritical thresholdSamples

Response Code

Average

Is greater than or equal to

300

400

500

1

Note:

The default alert rule in the table above is the rule that is configured for components when Monitor is first deployed. If your Monitor administrator configured default alert rules for the Monitor deployment, the values for the rule above may vary.

ArcGIS Online organization web services optional metrics alert rules

The following table lists the default alert rule that is configured for optional metrics for ArcGIS Online organization web services:

Metric nameAggregationOperatorInfo thresholdWarning thresholdCritical thresholdSamples

<observer_name>

Average

Is greater than or equal to

300

400

500

1

Note:

The default alert rule in the table above is the rule that is configured for components when Monitor is first deployed. If your Monitor administrator configured default alert rules for the Monitor deployment, the values for the rule above may vary.

Related topics