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:
- Start Monitor Administrator.
The Connections view appears.
- Click Open on the Monitor Server application connection to which you want to add the counter.
The collection pane appears.
- In the tree view, expand the collection and monitor service to which you want to add the counter.
- Click Http in the tree view to choose it.
- Right-click Http and click Add.
- Expand Http in the tree view and click New Http.
The Config tab appears.
- Type a name for the counter in the Name text box.
- Click the Request Type drop-down arrow and choose No security.
- Type the URL you want to monitor in the URL text box.
- Optionally type a text string you want to check for in the Find String text box.
- Optionally type a text string you want to check for that should not be present in the Find String Not text box.
- Choose a sample interval from the Sample Interval drop-down menu.
Remarque :
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.
- Optionally type a description in the Description text box.
- Click Test to test the counter.
The test results are displayed below the Test button.
- 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:
- Start Monitor Administrator.
The Connections view appears.
- Click Open on the Monitor Server application connection to which you want to add the counter.
The collection pane appears.
- In the tree view, expand the collection and monitor service to which you want to add the counter.
- Click Http in the tree view to choose it.
- Right-click Http and click Add.
- Expand Http in the tree view and click New Http.
The Config tab appears.
- Type a name for the counter in the Name text box.
- Click the Request Type drop-down arrow and choose ArcGIS Token.
- 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?
Remarque :
URLs must include a question mark, which is typically followed by one or more arguments.
- Optionally type a text string you want to check for in the Find String text box.
- Optionally type a text string you want to check for that should not be present in the Find String Not text box.
- Use the following sample to add the Token Url:
https://<Hostname>.<Domain>.com:6443/arcgis/tokens/generateToken https://webadaptorhost.domain.com/webadaptorname/tokens/generateToken
Remarque :
If your organization uses a different token path, make sure you enter the correct path.
- Click Add Credential.
The Add Credential dialog box appears.
Remarque :
Only ArcGIS Server authentication is supported.
- Type a name for the credential in the Name text box.
- Type the ArcGIS Server Manager administrator user name in the User text box.
- Type the ArcGIS Server Manager administrator password in the Password text box.
- Click Add.
- Click the Select a credential drop-down arrow and choose a credential.
- Choose a sample interval from the Sample Interval drop-down menu.
Remarque :
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.
- Optionally type a description in the Description text box.
- Click Test to test the counter.
The test results are displayed below the Test button.
- 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:
- Start Monitor Administrator.
The Connections view appears.
- Click Open on the Monitor Server application connection to which you want to add the counter.
The collection pane appears.
- In the tree view, expand the collection and monitor service to which you want to add the counter.
- Click Http in the tree view to choose it.
- Right-click Http and click Add.
- Expand Http in the tree view and click New Http.
The Config tab appears.
- Type a name for the counter in the Name text box.
- Click the Request Type drop-down arrow and choose Windows Authentication Non-Federated (use monitor service identity).
- 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?
Remarque :
URLs must include a question mark, which is typically followed by one or more arguments.
- Optionally type a text string you want to check for in the Find String text box.
- Optionally type a text string you want to check for that should not be present in the Find String Not text box.
- Choose a sample interval from the Sample Interval drop-down menu.
Remarque :
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.
- Optionally type a description in the Description text box.
- Click Test to test the counter.
The test results are displayed below the Test button.
- 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:
- Start Monitor Administrator.
The Connections view appears.
- Click Open on the Monitor Server application connection to which you want to add the counter.
The collection pane appears.
- In the tree view, expand the collection and monitor service to which you want to add the counter.
- Click Http in the tree view to choose it.
- Right-click Http and click Add.
- Expand Http in the tree view and click New Http.
The Config tab appears.
- Type a name for the counter in the Name text box.
- Click the Request Type drop-down arrow and choose Windows Authentication for Federated (use monitor service identity).
- 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?
Remarque :
URLs must include a question mark, which is typically followed by one or more arguments.
- Optionally type a text string you want to check for in the Find String text box.
- Optionally type a text string you want to check for that should not be present in the Find String Not text box.
- Use the following sample to add the Token Url:
https://webadaptorhost.domain.com/webadaptorname/sharing/rest/generateToken https://webadaptorhost.domain.com/webadaptorname/sharing/generateToken
Remarque :
If your organization uses a different token path, make sure you enter the correct path.
- Click Add Credential.
The Add Credential dialog box appears.
- Type a name for the credential in the Name text box.
- Type the Windows user name in the User text box.
- Type the Windows password in the Password text box.
- Click Add.
- Click the Select a credential drop-down arrow and choose a credential.
- Choose a sample interval from the Sample Interval drop-down menu.
Remarque :
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.
- Optionally type a description in the Description text box.
- Click Test to test the counter.
The test results are displayed below the Test button.
- 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.
Vous avez un commentaire à formuler concernant cette rubrique ?